!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Co__MO_247800397145_000 Supported species : Co random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Co (Configuration in file "config-F-Co.xyz") ----------------------------------------------------------------------------------------------------- Energy = -6.803405889729705 Forces: 1 -7.71646631e+00 -6.43725128e+00 -1.00888572e+01 2 -9.59248103e+00 1.77829550e+01 -9.22148396e+00 3 3.99408773e-01 -1.04884274e+01 9.14357712e+00 4 -8.36758048e+00 6.06022419e+00 4.63561295e+00 5 1.62757845e+01 -1.88621508e+01 -4.98270373e+00 6 5.09733789e+00 7.04418648e-01 -6.93552074e+00 7 3.72388110e+00 -2.73932108e+01 -2.76452540e+01 8 -1.08634135e+01 -1.21222270e+01 3.07491994e+00 9 -5.80495534e+00 -8.95959503e+00 -1.36236423e+01 10 -4.74401171e+00 1.38512419e+01 -1.68983917e+01 11 -5.70371583e+00 -7.98556085e+00 2.95660884e+00 12 -7.85848378e+00 1.01720085e+01 7.81533854e+00 13 -1.05120654e+01 -8.45194920e+00 -4.13430079e+01 14 5.90930478e+00 8.10516310e+00 -4.93074012e+00 15 3.57069618e+01 -5.80665399e+00 1.14216927e+01 16 5.43662626e+00 2.79880349e+01 1.35081289e+01 17 -7.17398728e+00 -4.04314311e+00 -6.31456460e+00 18 2.65407103e-01 3.05382416e+00 7.50359353e+00 19 6.56342878e+00 -5.13001209e+00 5.34073672e+00 20 -2.78350050e+00 6.71238082e+00 4.32659691e+00 21 -1.23118069e+01 -9.42251236e+00 5.63941024e+00 22 1.64238397e+01 2.42675578e+01 2.01843026e+01 23 7.53926866e+00 -4.31308310e+00 6.48671245e+00 24 -6.48351055e+00 2.74607701e+00 3.11528393e+00 25 -1.17126882e+01 -7.76417812e+00 -3.96109384e+00 26 -5.34598511e+00 1.77689158e+01 -9.09328733e+00 27 1.61571797e+01 -3.33878927e+01 1.24776902e+01 28 -2.64601994e+01 2.45271836e+01 5.99034926e+00 29 -6.04988193e+00 -1.20088068e+01 5.64126153e+00 30 6.77612898e+00 1.19557655e+01 3.62010185e+00 31 1.49631958e+01 -5.68406182e+00 9.11140059e+00 32 8.24697936e+00 1.25649656e+01 1.30452286e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Co (Configuration in file "config-T-Co.xyz") ----------------------------------------------------------------------------------------------------- Energy = -6.803405889729705 Forces: 1 -7.71646631e+00 -6.43725128e+00 -1.00888572e+01 2 -9.59248103e+00 1.77829550e+01 -9.22148396e+00 3 3.99408773e-01 -1.04884274e+01 9.14357712e+00 4 -8.36758048e+00 6.06022419e+00 4.63561295e+00 5 1.62757845e+01 -1.88621508e+01 -4.98270373e+00 6 5.09733789e+00 7.04418648e-01 -6.93552074e+00 7 3.72388110e+00 -2.73932108e+01 -2.76452540e+01 8 -1.08634135e+01 -1.21222270e+01 3.07491994e+00 9 -5.80495534e+00 -8.95959503e+00 -1.36236423e+01 10 -4.74401171e+00 1.38512419e+01 -1.68983917e+01 11 -5.70371583e+00 -7.98556085e+00 2.95660884e+00 12 -7.85848378e+00 1.01720085e+01 7.81533854e+00 13 -1.05120654e+01 -8.45194920e+00 -4.13430079e+01 14 5.90930478e+00 8.10516310e+00 -4.93074012e+00 15 3.57069618e+01 -5.80665399e+00 1.14216927e+01 16 5.43662626e+00 2.79880349e+01 1.35081289e+01 17 -7.17398728e+00 -4.04314311e+00 -6.31456460e+00 18 2.65407103e-01 3.05382416e+00 7.50359353e+00 19 6.56342878e+00 -5.13001209e+00 5.34073672e+00 20 -2.78350050e+00 6.71238082e+00 4.32659691e+00 21 -1.23118069e+01 -9.42251236e+00 5.63941024e+00 22 1.64238397e+01 2.42675578e+01 2.01843026e+01 23 7.53926866e+00 -4.31308310e+00 6.48671245e+00 24 -6.48351055e+00 2.74607701e+00 3.11528393e+00 25 -1.17126882e+01 -7.76417812e+00 -3.96109384e+00 26 -5.34598511e+00 1.77689158e+01 -9.09328733e+00 27 1.61571797e+01 -3.33878927e+01 1.24776902e+01 28 -2.64601994e+01 2.45271836e+01 5.99034926e+00 29 -6.04988193e+00 -1.20088068e+01 5.64126153e+00 30 6.77612898e+00 1.19557655e+01 3.62010185e+00 31 1.49631958e+01 -5.68406182e+00 9.11140059e+00 32 8.24697936e+00 1.25649656e+01 1.30452286e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92888== Memcheck, a memory error detector ==92888== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92888== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92888== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Co__MO_247800397145_000 ==92888== ==92888== Conditional jump or move depends on uninitialised value(s) ==92888== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92888== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92888== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92888== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92888== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92888== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92888== by 0x551B80: ??? (in /usr/bin/python3.6) ==92888== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92888== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92888== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92888== by 0x509D47: ??? (in /usr/bin/python3.6) ==92888== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92888== ==92888== Conditional jump or move depends on uninitialised value(s) ==92888== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92888== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92888== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92888== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92888== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92888== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92888== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92888== by 0x551B80: ??? (in /usr/bin/python3.6) ==92888== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92888== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92888== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92888== by 0x509D47: ??? (in /usr/bin/python3.6) ==92888== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92888== ==92888== Conditional jump or move depends on uninitialised value(s) ==92888== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92888== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92888== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92888== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92888== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92888== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92888== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92888== by 0x551B80: ??? (in /usr/bin/python3.6) ==92888== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92888== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92888== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92888== by 0x509D47: ??? (in /usr/bin/python3.6) ==92888== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92888== ==92888== Conditional jump or move depends on uninitialised value(s) ==92888== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92888== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92888== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92888== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92888== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92888== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92888== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92888== by 0x551B80: ??? (in /usr/bin/python3.6) ==92888== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92888== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92888== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92888== by 0x509D47: ??? (in /usr/bin/python3.6) ==92888== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92888== ==92888== Conditional jump or move depends on uninitialised value(s) ==92888== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92888== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92888== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92888== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92888== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92888== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92888== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92888== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92888== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92888== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92888== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92888== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92888== ==92888== ==92888== HEAP SUMMARY: ==92888== in use at exit: 2,764,995 bytes in 1,647 blocks ==92888== total heap usage: 36,172 allocs, 34,525 frees, 64,216,762 bytes allocated ==92888== ==92888== LEAK SUMMARY: ==92888== definitely lost: 0 bytes in 0 blocks ==92888== indirectly lost: 0 bytes in 0 blocks ==92888== possibly lost: 146,155 bytes in 87 blocks ==92888== still reachable: 2,618,840 bytes in 1,560 blocks ==92888== suppressed: 0 bytes in 0 blocks ==92888== Rerun with --leak-check=full to see details of leaked memory ==92888== ==92888== For counts of detected and suppressed errors, rerun with: -v ==92888== Use --track-origins=yes to see where uninitialised values come from ==92888== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11150 from 670) ================================================================================ 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.