!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Ca__MO_159753408472_002 Supported species : Ca random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ca (Configuration in file "config-F-Ca.xyz") ----------------------------------------------------------------------------------------------------- Energy = 734.827663145 Forces: 1 -2.31882844e+01 -2.27176660e+01 -2.51116755e+01 2 -5.87671738e-01 7.25080402e+00 -3.41813568e+01 3 -4.01639021e+00 -3.19841507e+01 1.08270352e+01 4 -3.25444866e+01 4.80595406e+00 7.50821766e+00 5 1.55159684e+01 -3.15900357e+01 -2.21903578e+01 6 2.00584759e+01 -1.03163727e+00 -2.70769912e+01 7 2.28041326e+01 -4.21892506e+01 -2.29612383e+01 8 -2.35022696e+01 -1.95804790e+01 -7.02049146e+00 9 -2.39542251e+01 -1.09037409e-01 -3.78111120e+01 10 -6.50723936e+00 3.70440507e+01 -4.15355292e+01 11 -9.52245012e+00 -1.97500151e+01 8.47144637e-01 12 -3.41640369e+01 3.09521636e+01 -2.81857481e+00 13 3.87631131e+00 -9.61357885e+00 -5.53985976e+01 14 2.33356378e+01 2.25169724e+01 -1.75829548e+01 15 5.62835264e+01 1.98969144e+00 -1.17291279e+01 16 1.60423182e+01 4.85577383e+01 2.43088660e+00 17 -3.26347204e+01 -3.08856946e+01 -5.07183559e+00 18 4.54872773e+00 1.11673973e+01 -3.90561330e+00 19 5.99576367e-01 -3.14707856e+01 2.49361849e+01 20 -2.25909178e+01 9.56563235e+00 2.98135839e+01 21 -7.84333032e+00 -3.63451116e+01 8.04965590e+00 22 4.97425174e+01 8.72740883e+00 1.96377475e+01 23 1.96050115e+01 -1.27973361e+01 2.39420985e+01 24 1.24668442e+00 3.30914328e+00 2.98282180e+01 25 -3.62498172e+01 -5.67291761e+00 9.65825393e+00 26 -9.40422278e+00 4.09979153e+01 1.32050135e+01 27 1.94890479e+00 -2.08623820e+01 2.77400051e+01 28 -3.31594333e+01 2.84650613e+01 1.71882764e+01 29 -1.01208958e+01 7.23267374e-01 1.84439083e+01 30 3.19276237e+01 3.51903609e+01 1.60012696e+00 31 3.49923350e+01 -5.29570983e+00 3.75693971e+01 32 7.46264024e+00 3.06322267e+01 3.11697021e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ca (Configuration in file "config-T-Ca.xyz") ----------------------------------------------------------------------------------------------------- Energy = 976.109826241 Forces: 1 2.04501500e+01 -1.52539667e+01 2.59883782e+00 2 -9.53231754e+00 1.26824569e+01 1.09302406e+01 3 -3.36949528e+00 1.60993852e+01 1.92397168e+01 4 1.58689496e+01 1.42210283e+01 5.79802438e+00 5 2.19265440e+01 4.73448288e+00 -9.21368797e-01 6 -2.98849057e+01 2.74315197e+01 1.06072634e+01 7 -6.37528066e+00 -2.30780711e+01 -1.60895859e+01 8 -3.00166117e+01 -1.65451167e+01 -4.24726114e+00 9 -1.81961633e+01 -1.37364979e+01 2.64095803e+00 10 -8.32984808e+00 3.30107672e-01 -1.47223226e+01 11 -5.98965423e+00 -2.50577886e+01 8.14159493e+00 12 -3.37528481e+00 1.33688123e+00 1.21112502e+01 13 1.93322679e+00 -1.62446797e+01 -2.71242900e+01 14 -1.10802690e+01 4.17088525e-01 -1.15142844e+01 15 2.68868757e+01 2.35890627e+00 -6.21830340e+00 16 1.82282374e+01 1.60863945e+01 9.11189404e+00 17 1.05041347e+01 -2.03982258e+01 -1.29239089e+01 18 1.55570956e+01 1.77167831e+01 -8.06970127e+00 19 1.33296401e+00 3.40932414e-01 -2.62160518e-01 20 1.47865510e+01 3.14240115e+01 -3.62908968e+00 21 -1.31978296e+01 -2.33703929e+00 6.47509429e+00 22 5.44438853e+00 2.42811294e+01 1.83246928e+01 23 -2.49863392e+01 -2.32260592e+01 -1.25528763e+01 24 1.23810834e+01 1.28887382e+01 -1.70456984e+01 25 -4.82978359e+00 -1.51130978e+01 7.29783611e+00 26 -6.53856391e+00 5.86367781e+00 9.06628476e+00 27 1.40989350e+01 -2.56518697e+01 -1.54992858e+01 28 -1.92503339e+01 1.15930635e+01 -4.16682098e+00 29 -1.53971957e+01 -4.32997852e+00 1.63423600e+01 30 3.50641192e+00 6.41391609e+00 5.67841510e-01 31 1.41568689e+01 -1.17671433e+01 1.69016603e+01 32 1.32874598e+01 6.51903125e+00 -1.16859171e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==16587== Memcheck, a memory error detector ==16587== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==16587== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==16587== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Ca__MO_159753408472_002 ==16587== ==16587== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==16587== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==16587== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==16587== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==16587== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==16587== by 0x4010732: call_init (dl-init.c:72) ==16587== by 0x4010732: _dl_init (dl-init.c:119) ==16587== by 0x40151FE: dl_open_worker (dl-open.c:522) ==16587== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==16587== by 0x40147C9: _dl_open (dl-open.c:605) ==16587== by 0x544CF95: dlopen_doit (dlopen.c:66) ==16587== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==16587== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==16587== by 0x544D734: _dlerror_run (dlerror.c:162) ==16587== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==16587== ==16587== ==16587== HEAP SUMMARY: ==16587== in use at exit: 5,969,104 bytes in 3,907 blocks ==16587== total heap usage: 165,057 allocs, 161,150 frees, 64,348,535 bytes allocated ==16587== ==16587== LEAK SUMMARY: ==16587== definitely lost: 0 bytes in 0 blocks ==16587== indirectly lost: 0 bytes in 0 blocks ==16587== possibly lost: 182,191 bytes in 111 blocks ==16587== still reachable: 5,786,913 bytes in 3,796 blocks ==16587== suppressed: 0 bytes in 0 blocks ==16587== Rerun with --leak-check=full to see details of leaked memory ==16587== ==16587== For counts of detected and suppressed errors, rerun with: -v ==16587== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2509 from 173) ================================================================================ 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.