!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EAM_CubicNaturalSpline_ErcolessiAdams_1994_Al__MO_800509458712_002 Supported species : Al random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Al (Configuration in file "config-F-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = -65.4406228072 Forces: 1 -1.02346985e+00 -1.38051165e+00 -2.10957597e+00 2 -1.24640445e+00 2.60751640e+00 -1.31900139e+00 3 1.97428796e+00 -1.31977593e+00 2.08885146e+00 4 -6.14313419e-01 2.24174030e+00 1.69179850e+00 5 1.28079804e+00 -2.14456669e+00 1.45274917e-01 6 6.09359222e-01 1.55974163e+00 -1.32231044e+00 7 1.40192078e+00 -6.28985085e+00 -4.90281281e+00 8 -4.03834221e+00 -2.40718089e+00 -6.69246332e-01 9 -2.16990821e+00 -1.99121143e+00 -3.11440984e+00 10 -1.04895996e+00 3.74321405e+00 -4.03728995e+00 11 -1.09108154e+00 -3.40567367e+00 4.52667295e+00 12 -7.50181559e-01 1.60187244e+00 1.59710070e+00 13 -1.18238297e+00 -3.19809316e+00 -7.85099206e+00 14 5.79649171e-01 1.12159531e+00 -2.53535917e-01 15 7.04791514e+00 -1.22390726e+00 1.78058447e+00 16 1.78741615e+00 5.49504911e+00 3.11796343e+00 17 -1.51555375e+00 -9.33851049e-01 -1.88373204e+00 18 4.11022650e-01 2.84557531e+00 -3.59424815e+00 19 1.81292463e+00 -2.80665175e+00 2.31676679e+00 20 -1.02313854e+00 1.99372184e+00 1.33425227e+00 21 -3.48370022e+00 -1.08703810e+00 1.04936832e+00 22 2.67835832e+00 5.08809671e+00 4.77524629e+00 23 4.53825978e-01 3.68352902e-01 7.78051997e-01 24 8.54585076e-01 -5.47757051e-01 1.17974611e+00 25 -1.92289786e+00 -2.78581321e+00 -2.07228666e+00 26 -1.31633086e+00 3.54757134e+00 -2.68217073e+00 27 2.76821003e+00 -6.73172855e+00 2.85299635e+00 28 -4.66430140e+00 4.87508187e+00 1.22667550e+00 29 -1.90944838e+00 -1.65665691e+00 1.10095766e+00 30 5.10668325e-01 2.03697714e+00 3.64026664e-01 31 3.11626494e+00 -1.80350990e+00 1.70393610e+00 32 1.71320876e+00 2.58767168e+00 2.18134182e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==27382== Memcheck, a memory error detector ==27382== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==27382== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==27382== Command: python runner2.py EAM_CubicNaturalSpline_ErcolessiAdams_1994_Al__MO_800509458712_002 ==27382== ==27382== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==27382== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==27382== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==27382== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==27382== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==27382== by 0x4010732: call_init (dl-init.c:72) ==27382== by 0x4010732: _dl_init (dl-init.c:119) ==27382== by 0x40151FE: dl_open_worker (dl-open.c:522) ==27382== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==27382== by 0x40147C9: _dl_open (dl-open.c:605) ==27382== by 0x544CF95: dlopen_doit (dlopen.c:66) ==27382== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==27382== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==27382== by 0x544D734: _dlerror_run (dlerror.c:162) ==27382== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27382== ==27382== ==27382== HEAP SUMMARY: ==27382== in use at exit: 5,063,936 bytes in 3,964 blocks ==27382== total heap usage: 114,110 allocs, 110,146 frees, 65,085,088 bytes allocated ==27382== ==27382== LEAK SUMMARY: ==27382== definitely lost: 0 bytes in 0 blocks ==27382== indirectly lost: 0 bytes in 0 blocks ==27382== possibly lost: 181,631 bytes in 110 blocks ==27382== still reachable: 4,882,305 bytes in 3,854 blocks ==27382== suppressed: 0 bytes in 0 blocks ==27382== Rerun with --leak-check=full to see details of leaked memory ==27382== ==27382== For counts of detected and suppressed errors, rerun with: -v ==27382== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2521 from 172) ================================================================================ 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.