!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_K__MO_749732139672_001 Supported species : K random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = K (Configuration in file "config-F-K.xyz") ----------------------------------------------------------------------------------------------------- Energy = 418.08142767 Forces: 1 -1.03057824e+01 -8.38444432e+00 -1.15374457e+01 2 -1.51808261e-01 -2.11556879e+00 -1.53923055e+01 3 -1.42385968e+00 -1.60598791e+01 -8.27639860e-01 4 -1.49993331e+01 2.22116591e+00 -1.65802527e+00 5 3.51415955e+00 -1.32136109e+01 -9.50731059e+00 6 9.30996332e+00 -2.69887153e+00 -1.10147005e+01 7 1.07081609e+01 -1.08688072e+01 -5.04739417e+00 8 3.65324698e+00 -4.50674752e+00 -2.66699223e+00 9 -9.64632536e+00 2.06176195e+00 -1.30653775e+01 10 -2.64087857e+00 1.24396429e+01 -1.12442549e+01 11 -5.47236113e+00 2.84054953e+00 -3.85411925e+00 12 -1.05886822e+01 9.78169499e+00 -1.71688196e+00 13 2.89426112e+00 4.12617887e-01 -1.61774744e+01 14 8.76660246e+00 8.90707862e+00 -7.42354687e+00 15 1.51043038e+01 1.18188023e+00 -2.46199337e+00 16 1.99300282e+00 1.56300509e+01 -2.18870569e+00 17 -1.32625244e+01 -9.62216418e+00 2.72059160e+00 18 -3.87021780e+00 -2.19576694e+00 3.38286150e+00 19 -5.56437947e-01 -1.32783133e+01 1.02766934e+01 20 -1.18568628e+01 3.65659142e-01 1.14713073e+01 21 1.65947440e+00 -1.44578939e+01 4.01704430e+00 22 1.52781862e+01 -8.51852452e-01 4.69254968e+00 23 7.06989744e+00 -5.68002629e+00 8.14733351e+00 24 4.15720728e+00 -2.98496189e+00 1.42357807e+01 25 -1.36977716e+01 3.67728884e+00 2.34471033e+00 26 -4.84447919e+00 1.53735069e+01 2.39725097e+00 27 -4.73417952e+00 6.87015893e-01 1.34359551e+01 28 -8.87337263e+00 7.48137218e+00 7.21400209e+00 29 5.19085855e+00 1.59940578e+00 5.60221278e+00 30 1.20575287e+01 1.03848195e+01 1.77392671e+00 31 1.24067781e+01 7.16816736e-01 1.08588693e+01 32 3.16124503e+00 1.11565804e+01 1.32130785e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = K (Configuration in file "config-T-K.xyz") ----------------------------------------------------------------------------------------------------- Energy = 424.669043976 Forces: 1 -1.73439704e-01 -2.50872385e+00 -1.69925709e+00 2 1.83589484e+00 2.76025956e+00 -1.27276840e+00 3 2.77713637e+00 -2.92718780e+00 3.27849504e+00 4 -5.50356230e-01 7.02386822e+00 2.03984294e+00 5 1.68286266e+00 3.99649246e-01 -1.49604809e+00 6 -2.99277678e+00 5.21624490e+00 -1.98576145e+00 7 -2.11336420e+00 -1.24126346e+00 -1.48805279e+00 8 6.91161874e-01 -1.73471198e+00 -5.29169961e-01 9 -3.54916079e+00 -2.14161422e+00 -1.11409447e+00 10 -1.82615866e+00 1.42174138e+00 -2.85055872e-01 11 -2.51368023e+00 -5.55027942e-01 1.65658304e+00 12 1.41829550e+00 -2.07325069e+00 3.12302308e+00 13 1.50404915e+00 -3.52622638e+00 -1.84054349e+00 14 -1.28618987e+00 -3.96700326e-01 -2.42325165e+00 15 3.93953253e+00 -2.87792910e+00 1.70102045e+00 16 4.33624253e-01 1.61994262e+00 5.76704332e-01 17 2.11527461e+00 -3.35253711e+00 1.06387727e+00 18 2.27192959e-01 2.31091763e+00 2.06020767e-01 19 3.21105710e+00 -2.42297347e+00 -4.24955723e-01 20 -1.70862530e+00 7.00078185e+00 -1.55385488e+00 21 -8.49479405e-01 1.08961488e+00 1.77252038e+00 22 -2.06919999e+00 7.08187414e+00 4.19249291e+00 23 -3.76789981e+00 -1.21963975e+00 -1.29742364e+00 24 2.77867649e+00 2.25960054e-01 -1.37835746e+00 25 -1.56933788e+00 -1.74748005e+00 6.53364610e-01 26 -3.67712167e+00 9.34210173e-01 -7.88039060e-01 27 -2.19754606e+00 -3.10142182e+00 -1.84657017e+00 28 -1.58348048e+00 -1.34150811e+00 -1.80543676e+00 29 1.93524139e+00 -1.43685583e+00 2.74191352e+00 30 1.60864829e+00 -1.08219747e+00 4.44361295e-01 31 3.98733057e+00 -4.09444290e+00 3.20846671e-01 32 2.28183852e+00 2.69662762e+00 -5.42425338e-01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==24034== Memcheck, a memory error detector ==24034== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==24034== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==24034== Command: python runner2.py Pair_Morse_Shifted_GirifalcoWeizer_LowCutoff_K__MO_749732139672_001 ==24034== ==24034== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (defined) ==24034== Warning: set address range perms: large range [0x2122d000, 0x314e9000) (defined) ==24034== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (noaccess) ==24034== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==24034== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==24034== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==24034== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==24034== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==24034== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==24034== ==24034== HEAP SUMMARY: ==24034== in use at exit: 4,036,487 bytes in 5,770 blocks ==24034== total heap usage: 82,270 allocs, 76,500 frees, 53,236,935 bytes allocated ==24034== ==24034== LEAK SUMMARY: ==24034== definitely lost: 0 bytes in 0 blocks ==24034== indirectly lost: 0 bytes in 0 blocks ==24034== possibly lost: 162,838 bytes in 96 blocks ==24034== still reachable: 3,873,649 bytes in 5,674 blocks ==24034== suppressed: 0 bytes in 0 blocks ==24034== Rerun with --leak-check=full to see details of leaked memory ==24034== ==24034== For counts of detected and suppressed errors, rerun with: -v ==24034== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2386 from 155) ================================================================================ 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.