!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 ----------------------------------------------------------------------------------------------------- Results for KIM Model : Pair_Morse_Shifted_GirifalcoWeizer_LowCutoff_Na__MO_707981543254_001 Supported species : Na random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Na (Configuration in file "config-F-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 258.873735883 Forces: 1 -8.03686672e+00 -6.42030176e+00 -9.17017808e+00 2 -1.26566062e+00 6.61353842e-01 -1.09166966e+01 3 7.63418536e-01 -1.22995517e+01 4.43702874e-01 4 -1.14315694e+01 3.24157470e+00 7.54593487e-01 5 2.51041899e+00 -9.05612779e+00 -7.55826931e+00 6 8.26212227e+00 -4.63114871e-01 -8.43993866e+00 7 6.41704021e+00 -9.54794189e+00 -2.11481543e+00 8 8.11960587e-01 -5.49574579e+00 1.90724084e-01 9 -7.53671352e+00 -1.26365365e+00 -1.01780483e+01 10 -1.41358815e+00 9.60901807e+00 -9.20227244e+00 11 -3.21600977e+00 -7.01148570e-01 -1.22367562e+00 12 -9.40616559e+00 8.08485761e+00 3.61654542e-01 13 1.80547462e+00 -2.90786422e-01 -1.36264267e+01 14 5.49622983e+00 5.23319263e+00 -5.78679152e+00 15 1.32401521e+01 2.07201295e+00 -2.58307179e+00 16 1.50655919e+00 1.24375351e+01 -2.05092691e-01 17 -1.01819035e+01 -8.22286639e+00 1.91907908e-01 18 -9.85740720e-02 1.85889369e+00 3.52755795e-01 19 1.84388562e+00 -9.98777368e+00 8.58356890e+00 20 -8.99974884e+00 2.50661594e+00 8.70347123e+00 21 3.83370639e-01 -9.52323459e+00 1.71488245e+00 22 1.05467444e+01 -4.21420332e-01 2.72830190e+00 23 4.65872460e+00 -3.93797673e+00 5.93693823e+00 24 1.90899789e+00 -1.97612564e-01 9.44012282e+00 25 -1.05942215e+01 -1.96055856e+00 -5.30001722e-01 26 2.16036701e+00 1.27746607e+01 -3.74450305e-01 27 4.59615039e-01 -4.05619196e+00 1.04130824e+01 28 -1.05852668e+01 7.42620913e+00 6.40939017e+00 29 -2.73818839e-01 1.70336125e+00 5.33813453e+00 30 8.56646356e+00 9.44193797e+00 2.77972267e+00 31 8.51199461e+00 -3.12705149e-01 8.98939091e+00 32 3.18656763e+00 7.10748881e+00 8.57738431e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Na (Configuration in file "config-T-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 208.673114102 Forces: 1 2.95756948e-01 -1.57390295e+00 -1.40150775e+00 2 1.73177136e-01 4.43674640e+00 -5.30630294e-01 3 4.16654262e+00 -1.00156273e+00 3.62436720e+00 4 -3.53031378e-01 7.06726405e+00 3.24194397e+00 5 1.78362022e+00 -2.12215596e+00 -3.08714760e-01 6 -2.33507060e+00 5.64066422e+00 -2.00687316e+00 7 -2.96846344e+00 -1.47778391e+00 1.33960810e+00 8 -1.68284288e+00 -4.63130397e+00 1.83868704e+00 9 -1.79692818e+00 -6.70286261e+00 -7.95648711e-01 10 1.63894325e+00 7.27917442e-01 -1.61393184e+00 11 -8.61278096e-01 -2.50669125e+00 1.88499223e+00 12 -9.15447285e-02 -3.36861950e-01 3.19232241e+00 13 1.99486954e-02 -1.90552658e+00 -5.13306420e+00 14 -4.02210982e+00 -9.82854746e-01 -2.26432265e+00 15 4.19961870e+00 -2.17748970e+00 3.08736159e-02 16 4.09386641e-01 3.32244107e+00 2.60524836e+00 17 -6.66623652e-01 -1.10307194e+00 -1.73993053e+00 18 3.16056568e+00 5.45704045e+00 -1.44532234e+00 19 5.07325679e+00 -1.18101734e+00 9.54278969e-01 20 -1.02959527e+00 8.51887547e+00 -9.63185121e-01 21 -1.48685714e+00 5.25998534e-01 1.18181537e-01 22 -1.98554090e+00 5.61585401e+00 2.26075973e+00 23 -5.13028907e+00 -4.31997874e-01 -1.76141071e+00 24 1.46179729e+00 2.82415349e+00 -3.51326896e+00 25 -2.87031494e+00 -7.01957739e+00 -1.37596058e+00 26 5.29166606e+00 1.64974006e+00 -2.36189414e+00 27 4.16072766e+00 -8.24453381e+00 -1.04469194e-01 28 -4.65848928e+00 5.46126147e-01 -8.23712775e-01 29 -2.87371665e+00 -1.15122123e+00 3.93126540e+00 30 -8.91879968e-01 4.87857157e-01 1.87583859e+00 31 1.93204722e+00 -2.86429102e+00 1.26736168e+00 32 1.93752109e+00 5.94028471e-01 -2.18811008e-02 ================================================================================ VALGRIND OUTPUT ================================================================================ ==25260== Memcheck, a memory error detector ==25260== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==25260== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==25260== Command: python runner2.py Pair_Morse_Shifted_GirifalcoWeizer_LowCutoff_Na__MO_707981543254_001 ==25260== ==25260== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (defined) ==25260== Warning: set address range perms: large range [0x2122d000, 0x314e9000) (defined) ==25260== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (noaccess) ==25260== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==25260== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==25260== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==25260== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==25260== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==25260== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==25260== ==25260== HEAP SUMMARY: ==25260== in use at exit: 4,036,487 bytes in 5,770 blocks ==25260== total heap usage: 83,219 allocs, 77,449 frees, 50,293,378 bytes allocated ==25260== ==25260== LEAK SUMMARY: ==25260== definitely lost: 0 bytes in 0 blocks ==25260== indirectly lost: 0 bytes in 0 blocks ==25260== possibly lost: 162,838 bytes in 96 blocks ==25260== still reachable: 3,873,649 bytes in 5,674 blocks ==25260== suppressed: 0 bytes in 0 blocks ==25260== Rerun with --leak-check=full to see details of leaked memory ==25260== ==25260== For counts of detected and suppressed errors, rerun with: -v ==25260== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2379 from 154) ================================================================================ 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.