!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_FoilesBaskesDaw_1986Universal3_Cu__MO_666348409573_004 Supported species : Cu random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Cu (Configuration in file "config-F-Cu.xyz") ----------------------------------------------------------------------------------------------------- Energy = -4.095716719944241 Forces: 1 -2.52743866e+00 -6.00476992e+00 -6.34427564e+00 2 -8.67689377e+00 1.41813837e+01 -6.22174973e+00 3 2.78713088e+00 -7.66009864e+00 -1.71439336e+00 4 -4.68947465e+00 5.01962516e+00 2.10681730e+00 5 8.74528155e+00 -1.64733578e+01 -1.29035439e+00 6 4.08185271e+00 2.08864122e+00 -6.65394989e+00 7 3.43942733e+00 -2.11294968e+01 -1.83525432e+01 8 -9.81412257e+00 -9.70589043e+00 3.87983724e+00 9 -3.09674654e+00 -6.41601995e+00 -7.52289235e+00 10 -4.38910378e+00 8.90957096e+00 -1.16274712e+01 11 2.12049723e+00 -8.86004678e+00 -1.18995597e+01 12 -6.07754717e+00 9.30213075e+00 1.83264474e+00 13 -9.33114372e+00 -6.89522800e+00 -3.09958459e+01 14 5.02076107e+00 6.81498751e+00 -3.99461019e+00 15 2.84061980e+01 -1.55410027e+00 1.12315861e+01 16 4.97411485e+00 2.19445220e+01 9.55643317e+00 17 -1.23457313e+01 -7.57778399e+00 -2.84802189e+00 18 7.39659879e+00 8.17292636e+00 2.11090276e+00 19 4.16904945e+00 -8.82588062e+00 5.54036328e+00 20 -4.22288422e+00 5.77196142e+00 5.69461240e+00 21 -1.08667947e+01 -6.29266646e+00 4.34463035e+00 22 1.26727784e+01 1.84473522e+01 1.44258437e+01 23 3.33804373e+00 -8.35030724e-01 6.42934308e+00 24 2.45563797e+00 2.86013841e+00 2.48629717e+00 25 -1.73755330e+01 -3.25622062e+00 9.76077633e+00 26 -4.35378193e+00 1.60300626e+01 -5.22960899e+00 27 8.94236627e+00 -2.40642627e+01 8.15175427e+00 28 -1.96351812e+01 1.69736256e+01 3.39307045e+00 29 -2.29198022e+00 -1.09229535e+01 5.62675142e+00 30 5.54850830e+00 1.11056983e+01 -4.89910752e+00 31 9.55468059e+00 -1.14713485e+01 1.18307584e+01 32 6.04143028e+00 1.03225294e+01 1.11919618e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Cu (Configuration in file "config-T-Cu.xyz") ----------------------------------------------------------------------------------------------------- Energy = -4.095716719944241 Forces: 1 -2.52743866e+00 -6.00476992e+00 -6.34427564e+00 2 -8.67689377e+00 1.41813837e+01 -6.22174973e+00 3 2.78713088e+00 -7.66009864e+00 -1.71439336e+00 4 -4.68947465e+00 5.01962516e+00 2.10681730e+00 5 8.74528155e+00 -1.64733578e+01 -1.29035439e+00 6 4.08185271e+00 2.08864122e+00 -6.65394989e+00 7 3.43942733e+00 -2.11294968e+01 -1.83525432e+01 8 -9.81412257e+00 -9.70589043e+00 3.87983724e+00 9 -3.09674654e+00 -6.41601995e+00 -7.52289235e+00 10 -4.38910378e+00 8.90957096e+00 -1.16274712e+01 11 2.12049723e+00 -8.86004678e+00 -1.18995597e+01 12 -6.07754717e+00 9.30213075e+00 1.83264474e+00 13 -9.33114372e+00 -6.89522800e+00 -3.09958459e+01 14 5.02076107e+00 6.81498751e+00 -3.99461019e+00 15 2.84061980e+01 -1.55410027e+00 1.12315861e+01 16 4.97411485e+00 2.19445220e+01 9.55643317e+00 17 -1.23457313e+01 -7.57778399e+00 -2.84802189e+00 18 7.39659879e+00 8.17292636e+00 2.11090276e+00 19 4.16904945e+00 -8.82588062e+00 5.54036328e+00 20 -4.22288422e+00 5.77196142e+00 5.69461240e+00 21 -1.08667947e+01 -6.29266646e+00 4.34463035e+00 22 1.26727784e+01 1.84473522e+01 1.44258437e+01 23 3.33804373e+00 -8.35030724e-01 6.42934308e+00 24 2.45563797e+00 2.86013841e+00 2.48629717e+00 25 -1.73755330e+01 -3.25622062e+00 9.76077633e+00 26 -4.35378193e+00 1.60300626e+01 -5.22960899e+00 27 8.94236627e+00 -2.40642627e+01 8.15175427e+00 28 -1.96351812e+01 1.69736256e+01 3.39307045e+00 29 -2.29198022e+00 -1.09229535e+01 5.62675142e+00 30 5.54850830e+00 1.11056983e+01 -4.89910752e+00 31 9.55468059e+00 -1.14713485e+01 1.18307584e+01 32 6.04143028e+00 1.03225294e+01 1.11919618e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==86524== Memcheck, a memory error detector ==86524== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==86524== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==86524== Command: python runner2.py EAM_Dynamo_FoilesBaskesDaw_1986Universal3_Cu__MO_666348409573_004 ==86524== ==86524== Conditional jump or move depends on uninitialised value(s) ==86524== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==86524== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==86524== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86524== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86524== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86524== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86524== by 0x551B80: ??? (in /usr/bin/python3.6) ==86524== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86524== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86524== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86524== by 0x509D47: ??? (in /usr/bin/python3.6) ==86524== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86524== ==86524== Conditional jump or move depends on uninitialised value(s) ==86524== at 0x4E63408: internal_utf8_loop (loop.c:298) ==86524== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==86524== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86524== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86524== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86524== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86524== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86524== by 0x551B80: ??? (in /usr/bin/python3.6) ==86524== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86524== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86524== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86524== by 0x509D47: ??? (in /usr/bin/python3.6) ==86524== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86524== ==86524== Conditional jump or move depends on uninitialised value(s) ==86524== at 0x4E63411: internal_utf8_loop (loop.c:303) ==86524== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==86524== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86524== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86524== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86524== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86524== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86524== by 0x551B80: ??? (in /usr/bin/python3.6) ==86524== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86524== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86524== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86524== by 0x509D47: ??? (in /usr/bin/python3.6) ==86524== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86524== ==86524== Conditional jump or move depends on uninitialised value(s) ==86524== at 0x4E63458: internal_utf8_loop (loop.c:298) ==86524== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==86524== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==86524== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86524== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86524== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==86524== by 0x5BA640: ??? (in /usr/bin/python3.6) ==86524== by 0x551B80: ??? (in /usr/bin/python3.6) ==86524== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==86524== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==86524== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86524== by 0x509D47: ??? (in /usr/bin/python3.6) ==86524== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==86524== ==86524== Conditional jump or move depends on uninitialised value(s) ==86524== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==86524== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==86524== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==86524== by 0x547A3F: ??? (in /usr/bin/python3.6) ==86524== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==86524== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==86524== by 0x4F8388: ??? (in /usr/bin/python3.6) ==86524== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==86524== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==86524== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==86524== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==86524== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==86524== ==86524== ==86524== HEAP SUMMARY: ==86524== in use at exit: 2,764,995 bytes in 1,647 blocks ==86524== total heap usage: 36,176 allocs, 34,529 frees, 62,517,970 bytes allocated ==86524== ==86524== LEAK SUMMARY: ==86524== definitely lost: 0 bytes in 0 blocks ==86524== indirectly lost: 0 bytes in 0 blocks ==86524== possibly lost: 146,155 bytes in 87 blocks ==86524== still reachable: 2,618,840 bytes in 1,560 blocks ==86524== suppressed: 0 bytes in 0 blocks ==86524== Rerun with --leak-check=full to see details of leaked memory ==86524== ==86524== For counts of detected and suppressed errors, rerun with: -v ==86524== Use --track-origins=yes to see where uninitialised values come from ==86524== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12383 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.