!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_AcklandBaconCalder_1997_Fe__MO_142799717516_005 Supported species : Fe random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Fe (Configuration in file "config-F-Fe.xyz") ----------------------------------------------------------------------------------------------------- Energy = -11.629349007019806 Forces: 1 -2.52721553e+00 -6.15933167e+00 -6.50862648e+00 2 -4.47779072e+00 5.08562395e+00 -5.86719412e+00 3 4.41323300e+00 -9.56197171e+00 -4.71991305e+00 4 -5.53292315e+00 4.80001312e+00 2.93478181e+00 5 4.35487785e-01 -1.12212362e+01 -3.71177175e+00 6 5.74461065e+00 2.94365508e+00 -6.39915597e+00 7 6.84623444e+00 -1.57715811e+01 -1.08050883e+01 8 -8.13680256e+00 -8.02146507e+00 4.06524809e+00 9 -6.95509862e+00 -7.13136633e+00 -1.17586331e+01 10 -6.80731068e-01 1.32275550e+01 -1.25772738e+01 11 -3.53822320e+00 -9.97197403e+00 3.52829738e+00 12 -8.24542214e+00 1.12549067e+01 2.74820818e+00 13 -2.99545226e+00 -6.40397713e+00 -2.65506581e+01 14 5.85848146e+00 8.02967380e+00 -5.13854060e+00 15 2.31082375e+01 -6.65595860e+00 3.90525648e+00 16 2.12205176e+00 2.12125367e+01 7.00062624e+00 17 -1.18004017e+01 -5.72704445e+00 -3.89158921e+00 18 5.07421745e+00 8.91267002e+00 4.91329701e+00 19 5.95615013e+00 -7.17978070e+00 6.36513026e+00 20 -3.41979866e+00 7.75669122e+00 4.94453368e+00 21 -1.02001160e+01 -8.33226693e+00 1.29117915e+00 22 1.12978769e+01 1.37845865e+01 1.05165309e+01 23 6.13413904e+00 -3.32540785e+00 4.14762234e+00 24 -3.84375348e+00 5.95757434e+00 4.15905980e+00 25 -9.16236317e+00 -5.93714112e+00 5.64093441e+00 26 -3.76736605e+00 1.46076849e+01 -7.30939687e+00 27 5.11177184e+00 -2.10044240e+01 8.42302280e+00 28 -1.46438325e+01 1.18216774e+01 3.87413014e+00 29 -5.51957561e+00 -1.20489347e+01 5.09781098e+00 30 6.55987010e+00 1.07829146e+01 2.63712301e+00 31 1.08881665e+01 -6.39359941e+00 7.87605637e+00 32 5.89633800e+00 1.06696976e+01 1.11689922e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Fe (Configuration in file "config-T-Fe.xyz") ----------------------------------------------------------------------------------------------------- Energy = -11.629349007019806 Forces: 1 -2.52721553e+00 -6.15933167e+00 -6.50862648e+00 2 -4.47779072e+00 5.08562395e+00 -5.86719412e+00 3 4.41323300e+00 -9.56197171e+00 -4.71991305e+00 4 -5.53292315e+00 4.80001312e+00 2.93478181e+00 5 4.35487785e-01 -1.12212362e+01 -3.71177175e+00 6 5.74461065e+00 2.94365508e+00 -6.39915597e+00 7 6.84623444e+00 -1.57715811e+01 -1.08050883e+01 8 -8.13680256e+00 -8.02146507e+00 4.06524809e+00 9 -6.95509862e+00 -7.13136633e+00 -1.17586331e+01 10 -6.80731068e-01 1.32275550e+01 -1.25772738e+01 11 -3.53822320e+00 -9.97197403e+00 3.52829738e+00 12 -8.24542214e+00 1.12549067e+01 2.74820818e+00 13 -2.99545226e+00 -6.40397713e+00 -2.65506581e+01 14 5.85848146e+00 8.02967380e+00 -5.13854060e+00 15 2.31082375e+01 -6.65595860e+00 3.90525648e+00 16 2.12205176e+00 2.12125367e+01 7.00062624e+00 17 -1.18004017e+01 -5.72704445e+00 -3.89158921e+00 18 5.07421745e+00 8.91267002e+00 4.91329701e+00 19 5.95615013e+00 -7.17978070e+00 6.36513026e+00 20 -3.41979866e+00 7.75669122e+00 4.94453368e+00 21 -1.02001160e+01 -8.33226693e+00 1.29117915e+00 22 1.12978769e+01 1.37845865e+01 1.05165309e+01 23 6.13413904e+00 -3.32540785e+00 4.14762234e+00 24 -3.84375348e+00 5.95757434e+00 4.15905980e+00 25 -9.16236317e+00 -5.93714112e+00 5.64093441e+00 26 -3.76736605e+00 1.46076849e+01 -7.30939687e+00 27 5.11177184e+00 -2.10044240e+01 8.42302280e+00 28 -1.46438325e+01 1.18216774e+01 3.87413014e+00 29 -5.51957561e+00 -1.20489347e+01 5.09781098e+00 30 6.55987010e+00 1.07829146e+01 2.63712301e+00 31 1.08881665e+01 -6.39359941e+00 7.87605637e+00 32 5.89633800e+00 1.06696976e+01 1.11689922e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==83299== Memcheck, a memory error detector ==83299== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==83299== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==83299== Command: python runner2.py EAM_Dynamo_AcklandBaconCalder_1997_Fe__MO_142799717516_005 ==83299== ==83299== Conditional jump or move depends on uninitialised value(s) ==83299== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==83299== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==83299== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==83299== by 0x547A3F: ??? (in /usr/bin/python3.6) ==83299== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==83299== by 0x5BA640: ??? (in /usr/bin/python3.6) ==83299== by 0x551B80: ??? (in /usr/bin/python3.6) ==83299== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==83299== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==83299== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==83299== by 0x509D47: ??? (in /usr/bin/python3.6) ==83299== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==83299== ==83299== Conditional jump or move depends on uninitialised value(s) ==83299== at 0x4E63408: internal_utf8_loop (loop.c:298) ==83299== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==83299== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==83299== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==83299== by 0x547A3F: ??? (in /usr/bin/python3.6) ==83299== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==83299== by 0x5BA640: ??? (in /usr/bin/python3.6) ==83299== by 0x551B80: ??? (in /usr/bin/python3.6) ==83299== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==83299== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==83299== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==83299== by 0x509D47: ??? (in /usr/bin/python3.6) ==83299== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==83299== ==83299== Conditional jump or move depends on uninitialised value(s) ==83299== at 0x4E63411: internal_utf8_loop (loop.c:303) ==83299== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==83299== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==83299== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==83299== by 0x547A3F: ??? (in /usr/bin/python3.6) ==83299== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==83299== by 0x5BA640: ??? (in /usr/bin/python3.6) ==83299== by 0x551B80: ??? (in /usr/bin/python3.6) ==83299== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==83299== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==83299== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==83299== by 0x509D47: ??? (in /usr/bin/python3.6) ==83299== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==83299== ==83299== Conditional jump or move depends on uninitialised value(s) ==83299== at 0x4E63458: internal_utf8_loop (loop.c:298) ==83299== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==83299== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==83299== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==83299== by 0x547A3F: ??? (in /usr/bin/python3.6) ==83299== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==83299== by 0x5BA640: ??? (in /usr/bin/python3.6) ==83299== by 0x551B80: ??? (in /usr/bin/python3.6) ==83299== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==83299== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==83299== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==83299== by 0x509D47: ??? (in /usr/bin/python3.6) ==83299== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==83299== ==83299== Conditional jump or move depends on uninitialised value(s) ==83299== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==83299== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==83299== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==83299== by 0x547A3F: ??? (in /usr/bin/python3.6) ==83299== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==83299== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==83299== by 0x4F8388: ??? (in /usr/bin/python3.6) ==83299== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==83299== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==83299== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==83299== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==83299== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==83299== ==83299== ==83299== HEAP SUMMARY: ==83299== in use at exit: 2,764,995 bytes in 1,647 blocks ==83299== total heap usage: 36,172 allocs, 34,525 frees, 73,423,047 bytes allocated ==83299== ==83299== LEAK SUMMARY: ==83299== definitely lost: 0 bytes in 0 blocks ==83299== indirectly lost: 0 bytes in 0 blocks ==83299== possibly lost: 146,155 bytes in 87 blocks ==83299== still reachable: 2,618,840 bytes in 1,560 blocks ==83299== suppressed: 0 bytes in 0 blocks ==83299== Rerun with --leak-check=full to see details of leaked memory ==83299== ==83299== For counts of detected and suppressed errors, rerun with: -v ==83299== Use --track-origins=yes to see where uninitialised values come from ==83299== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12346 from 650) ================================================================================ 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.