Model Extended KIM ID = === Verification check vc-memory-leak start (2018-12-15 06:09:07) === !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Dynamo_ErcolessiAdams_1994_Al__MO_123629422045_005 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.4406224672 Forces: 1 -1.02347005e+00 -1.38051166e+00 -2.10957596e+00 2 -1.24640559e+00 2.60751405e+00 -1.31899967e+00 3 1.97428223e+00 -1.31977256e+00 2.08884400e+00 4 -6.14304459e-01 2.24173979e+00 1.69179547e+00 5 1.28079794e+00 -2.14456672e+00 1.45274639e-01 6 6.09361083e-01 1.55974181e+00 -1.32231233e+00 7 1.40182646e+00 -6.28951733e+00 -4.90279528e+00 8 -4.03834112e+00 -2.40717164e+00 -6.69254143e-01 9 -2.16990655e+00 -1.99121384e+00 -3.11440605e+00 10 -1.04895575e+00 3.74327738e+00 -4.03735543e+00 11 -1.09108809e+00 -3.40569923e+00 4.52670078e+00 12 -7.50181482e-01 1.60187237e+00 1.59710070e+00 13 -1.18238804e+00 -3.19810344e+00 -7.85098524e+00 14 5.79651582e-01 1.12159716e+00 -2.53535836e-01 15 7.04791528e+00 -1.22392481e+00 1.78060180e+00 16 1.78752121e+00 5.49475963e+00 3.11797587e+00 17 -1.51555313e+00 -9.33851337e-01 -1.88373306e+00 18 4.11028462e-01 2.84551091e+00 -3.59419381e+00 19 1.81293548e+00 -2.80663408e+00 2.31673946e+00 20 -1.02315827e+00 1.99372884e+00 1.33426645e+00 21 -3.48369353e+00 -1.08704013e+00 1.04936994e+00 22 2.67834677e+00 5.08807475e+00 4.77522935e+00 23 4.53827389e-01 3.68369615e-01 7.78032561e-01 24 8.54581386e-01 -5.47755267e-01 1.17974555e+00 25 -1.92289783e+00 -2.78580948e+00 -2.07229077e+00 26 -1.31633237e+00 3.54757304e+00 -2.68217045e+00 27 2.76820991e+00 -6.73172517e+00 2.85300027e+00 28 -4.66425229e+00 4.87506736e+00 1.22667408e+00 29 -1.90944887e+00 -1.65665797e+00 1.10095785e+00 30 5.10664355e-01 2.03694578e+00 3.64023477e-01 31 3.11621917e+00 -1.80349092e+00 1.70393404e+00 32 1.71320871e+00 2.58767308e+00 2.18134174e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==31051== Memcheck, a memory error detector ==31051== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==31051== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==31051== Command: python runner2.py EAM_Dynamo_ErcolessiAdams_1994_Al__MO_123629422045_005 ==31051== ==31051== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==31051== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==31051== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==31051== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==31051== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==31051== by 0x4010732: call_init (dl-init.c:72) ==31051== by 0x4010732: _dl_init (dl-init.c:119) ==31051== by 0x40151FE: dl_open_worker (dl-open.c:522) ==31051== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==31051== by 0x40147C9: _dl_open (dl-open.c:605) ==31051== by 0x544CF95: dlopen_doit (dlopen.c:66) ==31051== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==31051== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==31051== by 0x544D734: _dlerror_run (dlerror.c:162) ==31051== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31051== ==31051== ==31051== HEAP SUMMARY: ==31051== in use at exit: 5,063,804 bytes in 3,964 blocks ==31051== total heap usage: 114,098 allocs, 110,134 frees, 65,036,759 bytes allocated ==31051== ==31051== LEAK SUMMARY: ==31051== definitely lost: 0 bytes in 0 blocks ==31051== indirectly lost: 0 bytes in 0 blocks ==31051== possibly lost: 181,631 bytes in 110 blocks ==31051== still reachable: 4,882,173 bytes in 3,854 blocks ==31051== suppressed: 0 bytes in 0 blocks ==31051== Rerun with --leak-check=full to see details of leaked memory ==31051== ==31051== For counts of detected and suppressed errors, rerun with: -v ==31051== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2528 from 170) ================================================================================ 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. === Verification check vc-memory-leak end (2018-12-15 06:09:33) ===