!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 and Daniel S. Karls ----------------------------------------------------------------------------------------------------- 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.44062246720658 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 MONOATOMIC STRUCTURE (pbc=True)-- Species = Al (Configuration in file "config-T-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = -65.44062246720658 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 ================================================================================ ==86145== Memcheck, a memory error detector ==86145== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==86145== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==86145== Command: python runner2.py EAM_Dynamo_ErcolessiAdams_1994_Al__MO_123629422045_005 ==86145== ==86145== Conditional jump or move depends on uninitialised value(s) ==86145== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==86145== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==86145== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86145== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86145== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86145== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86145== by 0x551B80: ??? (in /usr/bin/python3.6) ==86145== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86145== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86145== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86145== by 0x509D47: ??? (in /usr/bin/python3.6) ==86145== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86145== ==86145== Conditional jump or move depends on uninitialised value(s) ==86145== at 0x4E63408: internal_utf8_loop (loop.c:298) ==86145== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==86145== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86145== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86145== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86145== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86145== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86145== by 0x551B80: ??? (in /usr/bin/python3.6) ==86145== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86145== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86145== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86145== by 0x509D47: ??? (in /usr/bin/python3.6) ==86145== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86145== ==86145== Conditional jump or move depends on uninitialised value(s) ==86145== at 0x4E63411: internal_utf8_loop (loop.c:303) ==86145== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==86145== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86145== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86145== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86145== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86145== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86145== by 0x551B80: ??? (in /usr/bin/python3.6) ==86145== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86145== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86145== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86145== by 0x509D47: ??? (in /usr/bin/python3.6) ==86145== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86145== ==86145== Conditional jump or move depends on uninitialised value(s) ==86145== at 0x4E63458: internal_utf8_loop (loop.c:298) ==86145== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==86145== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86145== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86145== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86145== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86145== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86145== by 0x551B80: ??? (in /usr/bin/python3.6) ==86145== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86145== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86145== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86145== by 0x509D47: ??? (in /usr/bin/python3.6) ==86145== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86145== ==86145== Conditional jump or move depends on uninitialised value(s) ==86145== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==86145== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==86145== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86145== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86145== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==86145== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==86145== by 0x4F8388: ??? (in /usr/bin/python3.6) ==86145== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==86145== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==86145== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==86145== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==86145== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86145== ==86145== ==86145== HEAP SUMMARY: ==86145== in use at exit: 2,764,995 bytes in 1,647 blocks ==86145== total heap usage: 39,328 allocs, 37,681 frees, 69,308,561 bytes allocated ==86145== ==86145== LEAK SUMMARY: ==86145== definitely lost: 0 bytes in 0 blocks ==86145== indirectly lost: 0 bytes in 0 blocks ==86145== possibly lost: 146,155 bytes in 87 blocks ==86145== still reachable: 2,618,840 bytes in 1,560 blocks ==86145== suppressed: 0 bytes in 0 blocks ==86145== Rerun with --leak-check=full to see details of leaked memory ==86145== ==86145== For counts of detected and suppressed errors, rerun with: -v ==86145== Use --track-origins=yes to see where uninitialised values come from ==86145== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12396 from 659) ================================================================================ 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.