for i in 1 2 3
do
  valgrind --tool=memcheck --trace-children=yes /usr/local/bin/gaf export -o test$i.pdf test$i.sch > gaf_memcheck$i.log 2>&1
done
