!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouWadleyJohnson_2001NISTretabulation_Au__MO_684444719999_000 Supported species : Au random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Au (Configuration in file "config-F-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 249.38837262445824 Forces: 1 -9.72728839e+00 -3.40270719e+01 -2.71530426e+01 2 -9.28195026e+00 9.78580963e+00 -2.51653808e+01 3 1.15619708e+01 -2.97861699e+01 -1.43906780e+01 4 -2.14987243e+01 2.21581149e+01 1.87140046e+01 5 8.76785729e+00 -3.20030178e+01 -1.26149037e+01 6 1.43500339e+01 5.79314269e+00 -1.74781054e+01 7 2.11335152e+01 -6.12245197e+01 -4.93109340e+01 8 -1.57933801e+01 -1.37663958e+01 -9.58945617e+00 9 -2.34838209e+01 -2.49782422e+01 -5.53881901e+01 10 -4.72838046e+00 4.79435177e+01 -4.82989881e+01 11 -1.58224690e+01 -3.08759071e+01 2.14333044e+01 12 -3.38577387e+01 4.08526948e+01 2.54364665e+01 13 -3.76126844e+00 -3.50891557e+01 -8.92750681e+01 14 2.29930786e+01 3.15625971e+01 -2.85427749e+01 15 8.18496504e+01 -2.19641343e+01 2.71115692e+01 16 -2.50807742e+00 7.62541295e+01 2.77811665e+01 17 -3.59618136e+01 -1.65818758e+01 4.34223737e+00 18 5.82682958e+00 2.19476071e+01 5.52770306e+00 19 3.21843561e+00 -2.81954941e+01 1.64697438e+01 20 -1.61095652e+01 8.93352086e+00 1.38977367e+01 21 -2.14572165e+01 -2.73770472e+01 1.92220906e+01 22 4.74053386e+01 4.32631751e+01 3.94376981e+01 23 9.61937211e+00 -5.44099810e+00 1.83708612e+01 24 8.95189239e+00 4.05780338e+00 1.71280088e+01 25 -3.10963551e+01 -7.57898434e+00 3.38035222e-01 26 -1.57178764e+01 4.65998489e+01 -1.61136077e+01 27 1.76676091e+01 -5.81505433e+01 3.08430814e+01 28 -5.43999601e+01 4.60085592e+01 1.36366132e+01 29 -1.23202304e+01 -2.20350066e+01 1.96242436e+01 30 2.51419371e+01 3.84897136e+01 -1.28996247e+00 31 3.17438855e+01 -2.72543061e+01 3.75410863e+01 32 1.72947091e+01 3.26786355e+01 3.77554417e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Au (Configuration in file "config-T-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 249.38837262445824 Forces: 1 -9.72728839e+00 -3.40270719e+01 -2.71530426e+01 2 -9.28195026e+00 9.78580963e+00 -2.51653808e+01 3 1.15619708e+01 -2.97861699e+01 -1.43906780e+01 4 -2.14987243e+01 2.21581149e+01 1.87140046e+01 5 8.76785729e+00 -3.20030178e+01 -1.26149037e+01 6 1.43500339e+01 5.79314269e+00 -1.74781054e+01 7 2.11335152e+01 -6.12245197e+01 -4.93109340e+01 8 -1.57933801e+01 -1.37663958e+01 -9.58945617e+00 9 -2.34838209e+01 -2.49782422e+01 -5.53881901e+01 10 -4.72838046e+00 4.79435177e+01 -4.82989881e+01 11 -1.58224690e+01 -3.08759071e+01 2.14333044e+01 12 -3.38577387e+01 4.08526948e+01 2.54364665e+01 13 -3.76126844e+00 -3.50891557e+01 -8.92750681e+01 14 2.29930786e+01 3.15625971e+01 -2.85427749e+01 15 8.18496504e+01 -2.19641343e+01 2.71115692e+01 16 -2.50807742e+00 7.62541295e+01 2.77811665e+01 17 -3.59618136e+01 -1.65818758e+01 4.34223737e+00 18 5.82682958e+00 2.19476071e+01 5.52770306e+00 19 3.21843561e+00 -2.81954941e+01 1.64697438e+01 20 -1.61095652e+01 8.93352086e+00 1.38977367e+01 21 -2.14572165e+01 -2.73770472e+01 1.92220906e+01 22 4.74053386e+01 4.32631751e+01 3.94376981e+01 23 9.61937211e+00 -5.44099810e+00 1.83708612e+01 24 8.95189239e+00 4.05780338e+00 1.71280088e+01 25 -3.10963551e+01 -7.57898434e+00 3.38035222e-01 26 -1.57178764e+01 4.65998489e+01 -1.61136077e+01 27 1.76676091e+01 -5.81505433e+01 3.08430814e+01 28 -5.43999601e+01 4.60085592e+01 1.36366132e+01 29 -1.23202304e+01 -2.20350066e+01 1.96242436e+01 30 2.51419371e+01 3.84897136e+01 -1.28996247e+00 31 3.17438855e+01 -2.72543061e+01 3.75410863e+01 32 1.72947091e+01 3.26786355e+01 3.77554417e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92851== Memcheck, a memory error detector ==92851== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92851== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92851== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Au__MO_684444719999_000 ==92851== ==92851== Conditional jump or move depends on uninitialised value(s) ==92851== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92851== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92851== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92851== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92851== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92851== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92851== by 0x551B80: ??? (in /usr/bin/python3.6) ==92851== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92851== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92851== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92851== by 0x509D47: ??? (in /usr/bin/python3.6) ==92851== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92851== ==92851== Conditional jump or move depends on uninitialised value(s) ==92851== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92851== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92851== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92851== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92851== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92851== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92851== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92851== by 0x551B80: ??? (in /usr/bin/python3.6) ==92851== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92851== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92851== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92851== by 0x509D47: ??? (in /usr/bin/python3.6) ==92851== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92851== ==92851== Conditional jump or move depends on uninitialised value(s) ==92851== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92851== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92851== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92851== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92851== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92851== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92851== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92851== by 0x551B80: ??? (in /usr/bin/python3.6) ==92851== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92851== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92851== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92851== by 0x509D47: ??? (in /usr/bin/python3.6) ==92851== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92851== ==92851== Conditional jump or move depends on uninitialised value(s) ==92851== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92851== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92851== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92851== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92851== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92851== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92851== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92851== by 0x551B80: ??? (in /usr/bin/python3.6) ==92851== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92851== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92851== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92851== by 0x509D47: ??? (in /usr/bin/python3.6) ==92851== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92851== ==92851== Conditional jump or move depends on uninitialised value(s) ==92851== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92851== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92851== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92851== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92851== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92851== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92851== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92851== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92851== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92851== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92851== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92851== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92851== ==92851== ==92851== HEAP SUMMARY: ==92851== in use at exit: 2,764,995 bytes in 1,647 blocks ==92851== total heap usage: 36,172 allocs, 34,525 frees, 64,217,108 bytes allocated ==92851== ==92851== LEAK SUMMARY: ==92851== definitely lost: 0 bytes in 0 blocks ==92851== indirectly lost: 0 bytes in 0 blocks ==92851== possibly lost: 146,155 bytes in 87 blocks ==92851== still reachable: 2,618,840 bytes in 1,560 blocks ==92851== suppressed: 0 bytes in 0 blocks ==92851== Rerun with --leak-check=full to see details of leaked memory ==92851== ==92851== For counts of detected and suppressed errors, rerun with: -v ==92851== Use --track-origins=yes to see where uninitialised values come from ==92851== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11148 from 669) ================================================================================ 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.