!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-memory-leak !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model has no memory leaks. This is tested using the Valgrind memory debugging tool (http://valgrind.org) by performing a series of energy and force calculations on a randomly distorted face-centered cubic (FCC) cube base structure for both non-periodic and periodic boundary conditions. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor and Daniel S. Karls ----------------------------------------------------------------------------------------------------- Results for KIM Model : Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Ag__MO_137719994600_004 Supported species : Ag random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ag (Configuration in file "config-F-Ag.xyz") ----------------------------------------------------------------------------------------------------- Energy = 329.08618002925493 Forces: 1 -1.08791469e+01 -1.91910952e+01 -2.07251449e+01 2 -8.36412637e+00 1.24025332e+01 -1.91703919e+01 3 1.27801817e+01 -3.39011078e+01 -1.40473180e+01 4 -2.51206049e+01 1.28300022e+01 1.13578241e+00 5 -2.69571552e+00 -3.16043329e+01 -1.03976816e+01 6 2.00719284e+01 1.14767399e+01 -2.17679854e+01 7 1.90941357e+01 -5.44521653e+01 -3.71337603e+01 8 -2.69187090e+01 -2.05613729e+01 -3.18947202e+00 9 -2.03861080e+01 -1.47869261e+01 -3.48710143e+01 10 -8.32927213e+00 3.82498981e+01 -3.96834254e+01 11 -7.55280424e+00 -2.60125604e+01 5.94633821e+00 12 -2.46793481e+01 3.30050866e+01 4.35189585e+00 13 -1.05893830e+01 -2.63410506e+01 -7.80873953e+01 14 1.91480800e+01 2.28323321e+01 -1.58831980e+01 15 7.23720025e+01 -9.41817265e+00 1.58412020e+01 16 9.77124646e+00 6.12058152e+01 2.44186225e+01 17 -3.72846363e+01 -2.38367836e+01 -5.31786168e+00 18 2.07340859e+01 2.69151381e+01 1.64860130e+01 19 9.17885487e+00 -2.81865427e+01 1.61305084e+01 20 -1.52868921e+01 1.68148245e+01 1.85048141e+01 21 -2.28538655e+01 -2.51108305e+01 1.50661363e+01 22 4.19831366e+01 4.16825946e+01 2.85454674e+01 23 1.14457104e+01 -6.64680964e+00 2.34314262e+01 24 5.40086128e+00 1.22518963e+01 1.27372647e+01 25 -2.87974966e+01 -1.13389766e+01 1.76436020e+01 26 -1.16319439e+01 4.19614591e+01 -1.68784258e+01 27 1.75012107e+01 -5.81046272e+01 2.50277404e+01 28 -5.05628922e+01 4.15835964e+01 1.22111015e+01 29 -1.51494199e+01 -2.36612229e+01 1.75568608e+01 30 2.12141638e+01 3.13327149e+01 -2.15434922e+00 31 2.98823911e+01 -2.18118467e+01 3.02399960e+01 32 1.65043753e+01 3.04217924e+01 3.40326519e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ag (Configuration in file "config-T-Ag.xyz") ----------------------------------------------------------------------------------------------------- Energy = 329.08618002925493 Forces: 1 -1.08791469e+01 -1.91910952e+01 -2.07251449e+01 2 -8.36412637e+00 1.24025332e+01 -1.91703919e+01 3 1.27801817e+01 -3.39011078e+01 -1.40473180e+01 4 -2.51206049e+01 1.28300022e+01 1.13578241e+00 5 -2.69571552e+00 -3.16043329e+01 -1.03976816e+01 6 2.00719284e+01 1.14767399e+01 -2.17679854e+01 7 1.90941357e+01 -5.44521653e+01 -3.71337603e+01 8 -2.69187090e+01 -2.05613729e+01 -3.18947202e+00 9 -2.03861080e+01 -1.47869261e+01 -3.48710143e+01 10 -8.32927213e+00 3.82498981e+01 -3.96834254e+01 11 -7.55280424e+00 -2.60125604e+01 5.94633821e+00 12 -2.46793481e+01 3.30050866e+01 4.35189585e+00 13 -1.05893830e+01 -2.63410506e+01 -7.80873953e+01 14 1.91480800e+01 2.28323321e+01 -1.58831980e+01 15 7.23720025e+01 -9.41817265e+00 1.58412020e+01 16 9.77124646e+00 6.12058152e+01 2.44186225e+01 17 -3.72846363e+01 -2.38367836e+01 -5.31786168e+00 18 2.07340859e+01 2.69151381e+01 1.64860130e+01 19 9.17885487e+00 -2.81865427e+01 1.61305084e+01 20 -1.52868921e+01 1.68148245e+01 1.85048141e+01 21 -2.28538655e+01 -2.51108305e+01 1.50661363e+01 22 4.19831366e+01 4.16825946e+01 2.85454674e+01 23 1.14457104e+01 -6.64680964e+00 2.34314262e+01 24 5.40086128e+00 1.22518963e+01 1.27372647e+01 25 -2.87974966e+01 -1.13389766e+01 1.76436020e+01 26 -1.16319439e+01 4.19614591e+01 -1.68784258e+01 27 1.75012107e+01 -5.81046272e+01 2.50277404e+01 28 -5.05628922e+01 4.15835964e+01 1.22111015e+01 29 -1.51494199e+01 -2.36612229e+01 1.75568608e+01 30 2.12141638e+01 3.13327149e+01 -2.15434922e+00 31 2.98823911e+01 -2.18118467e+01 3.02399960e+01 32 1.65043753e+01 3.04217924e+01 3.40326519e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1863124== Memcheck, a memory error detector ==1863124== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1863124== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==1863124== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Ag__MO_137719994600_004 ==1863124== ==1864407== Warning: invalid file descriptor 1024 in syscall close() ==1864407== Warning: invalid file descriptor 1025 in syscall close() ==1864407== Warning: invalid file descriptor 1026 in syscall close() ==1864407== Warning: invalid file descriptor 1027 in syscall close() ==1864407== Use --log-fd= to select an alternative log fd. ==1864407== Warning: invalid file descriptor 1028 in syscall close() ==1864407== Warning: invalid file descriptor 1029 in syscall close() ==1863124== ==1863124== HEAP SUMMARY: ==1863124== in use at exit: 2,257,559 bytes in 1,700 blocks ==1863124== total heap usage: 45,206 allocs, 43,506 frees, 58,552,975 bytes allocated ==1863124== ==1863124== LEAK SUMMARY: ==1863124== definitely lost: 0 bytes in 0 blocks ==1863124== indirectly lost: 0 bytes in 0 blocks ==1863124== possibly lost: 180,827 bytes in 103 blocks ==1863124== still reachable: 2,076,700 bytes in 1,596 blocks ==1863124== of which reachable via heuristic: ==1863124== stdstring : 38 bytes in 1 blocks ==1863124== suppressed: 32 bytes in 1 blocks ==1863124== Rerun with --leak-check=full to see details of leaked memory ==1863124== ==1863124== For lists of detected and suppressed errors, rerun with: -s ==1863124== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 7851 from 566) ================================================================================ To pass this verification check the number of bytes that are "definitely lost" or "indirectly lost" must be zero. NOTE that Valgrind will typically report non-zero "possibly lost" bytes due to Python's internal memory allocation and garbage collection that it does not monitor. Full Valgrind output written to auxiliary file "valgrind.out" Grade: P Comment: No memory leak detected.