!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_AcklandTichyVitek_1987_Au__MO_104891429740_005 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 = 219.89835428663665 Forces: 1 -1.07573253e+01 -1.77480638e+01 -1.71601652e+01 2 -5.59639622e+00 6.57552383e+00 -2.07934994e+01 3 8.02326046e+00 -2.16385151e+01 -5.19758619e+00 4 -1.82572085e+01 9.26499785e+00 6.19401700e+00 5 1.24294405e+00 -2.56816488e+01 -1.35802043e+01 6 1.67784519e+01 2.35358602e+00 -1.95551195e+01 7 1.75484565e+01 -2.86843739e+01 -1.22060496e+01 8 -1.15308614e+01 -1.18268873e+01 3.12296955e+00 9 -1.32519699e+01 -1.38212800e+01 -2.71374578e+01 10 1.06571375e+01 2.67859208e+01 -2.23222017e+01 11 -4.61907217e+00 -1.36231164e+01 -4.55517832e+00 12 -2.72056246e+01 2.26131898e+01 1.10755594e+01 13 -6.71457611e+00 -5.19308077e+00 -4.53946790e+01 14 1.55935697e+01 1.78539126e+01 -1.47581808e+01 15 4.37639920e+01 -6.98670897e+00 -1.30612965e+00 16 -1.86393667e+00 4.26006004e+01 2.82902581e+00 17 -2.60456668e+01 -1.30042290e+01 1.97233786e+00 18 5.68774780e+00 1.00396911e+01 4.21691425e+00 19 1.57216176e+00 -2.11185059e+01 1.61140330e+01 20 -1.37671426e+01 7.26794476e+00 1.31120242e+01 21 -1.03385485e+01 -2.46744767e+01 2.48352916e+00 22 2.92402724e+01 1.44876553e+01 1.06067582e+01 23 1.73399160e+01 -9.84475067e+00 1.54245830e+01 24 -6.05238781e+00 1.11004014e+01 1.82468133e+01 25 -3.19631350e+01 -5.71081716e+00 5.84882746e+00 26 -3.44161767e+00 3.38297179e+01 -6.27392939e+00 27 3.80077162e+00 -2.62293161e+01 2.27111654e+01 28 -2.51651308e+01 1.96953005e+01 1.25543909e+01 29 -8.99069212e+00 -1.62409738e+01 1.14456576e+01 30 2.30191851e+01 2.66439037e+01 1.26892555e+00 31 2.29718907e+01 -9.80181976e+00 2.58045203e+01 32 8.32153480e+00 2.07162181e+01 2.52083289e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Au (Configuration in file "config-T-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 219.89835428663665 Forces: 1 -1.07573253e+01 -1.77480638e+01 -1.71601652e+01 2 -5.59639622e+00 6.57552383e+00 -2.07934994e+01 3 8.02326046e+00 -2.16385151e+01 -5.19758619e+00 4 -1.82572085e+01 9.26499785e+00 6.19401700e+00 5 1.24294405e+00 -2.56816488e+01 -1.35802043e+01 6 1.67784519e+01 2.35358602e+00 -1.95551195e+01 7 1.75484565e+01 -2.86843739e+01 -1.22060496e+01 8 -1.15308614e+01 -1.18268873e+01 3.12296955e+00 9 -1.32519699e+01 -1.38212800e+01 -2.71374578e+01 10 1.06571375e+01 2.67859208e+01 -2.23222017e+01 11 -4.61907217e+00 -1.36231164e+01 -4.55517832e+00 12 -2.72056246e+01 2.26131898e+01 1.10755594e+01 13 -6.71457611e+00 -5.19308077e+00 -4.53946790e+01 14 1.55935697e+01 1.78539126e+01 -1.47581808e+01 15 4.37639920e+01 -6.98670897e+00 -1.30612965e+00 16 -1.86393667e+00 4.26006004e+01 2.82902581e+00 17 -2.60456668e+01 -1.30042290e+01 1.97233786e+00 18 5.68774780e+00 1.00396911e+01 4.21691425e+00 19 1.57216176e+00 -2.11185059e+01 1.61140330e+01 20 -1.37671426e+01 7.26794476e+00 1.31120242e+01 21 -1.03385485e+01 -2.46744767e+01 2.48352916e+00 22 2.92402724e+01 1.44876553e+01 1.06067582e+01 23 1.73399160e+01 -9.84475067e+00 1.54245830e+01 24 -6.05238781e+00 1.11004014e+01 1.82468133e+01 25 -3.19631350e+01 -5.71081716e+00 5.84882746e+00 26 -3.44161767e+00 3.38297179e+01 -6.27392939e+00 27 3.80077162e+00 -2.62293161e+01 2.27111654e+01 28 -2.51651308e+01 1.96953005e+01 1.25543909e+01 29 -8.99069212e+00 -1.62409738e+01 1.14456576e+01 30 2.30191851e+01 2.66439037e+01 1.26892555e+00 31 2.29718907e+01 -9.80181976e+00 2.58045203e+01 32 8.32153480e+00 2.07162181e+01 2.52083289e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==84311== Memcheck, a memory error detector ==84311== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==84311== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==84311== Command: python runner2.py EAM_Dynamo_AcklandTichyVitek_1987_Au__MO_104891429740_005 ==84311== ==84311== Conditional jump or move depends on uninitialised value(s) ==84311== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==84311== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84311== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84311== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84311== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84311== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84311== by 0x551B80: ??? (in /usr/bin/python3.6) ==84311== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84311== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84311== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84311== by 0x509D47: ??? (in /usr/bin/python3.6) ==84311== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84311== ==84311== Conditional jump or move depends on uninitialised value(s) ==84311== at 0x4E63408: internal_utf8_loop (loop.c:298) ==84311== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==84311== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84311== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84311== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84311== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84311== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84311== by 0x551B80: ??? (in /usr/bin/python3.6) ==84311== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84311== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84311== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84311== by 0x509D47: ??? (in /usr/bin/python3.6) ==84311== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84311== ==84311== Conditional jump or move depends on uninitialised value(s) ==84311== at 0x4E63411: internal_utf8_loop (loop.c:303) ==84311== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==84311== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84311== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84311== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84311== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84311== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84311== by 0x551B80: ??? (in /usr/bin/python3.6) ==84311== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84311== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84311== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84311== by 0x509D47: ??? (in /usr/bin/python3.6) ==84311== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84311== ==84311== Conditional jump or move depends on uninitialised value(s) ==84311== at 0x4E63458: internal_utf8_loop (loop.c:298) ==84311== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==84311== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84311== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84311== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84311== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84311== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84311== by 0x551B80: ??? (in /usr/bin/python3.6) ==84311== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84311== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84311== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84311== by 0x509D47: ??? (in /usr/bin/python3.6) ==84311== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84311== ==84311== Conditional jump or move depends on uninitialised value(s) ==84311== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==84311== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84311== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84311== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84311== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==84311== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==84311== by 0x4F8388: ??? (in /usr/bin/python3.6) ==84311== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==84311== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==84311== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==84311== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==84311== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84311== ==84311== ==84311== HEAP SUMMARY: ==84311== in use at exit: 2,764,995 bytes in 1,647 blocks ==84311== total heap usage: 36,172 allocs, 34,525 frees, 73,427,807 bytes allocated ==84311== ==84311== LEAK SUMMARY: ==84311== definitely lost: 0 bytes in 0 blocks ==84311== indirectly lost: 0 bytes in 0 blocks ==84311== possibly lost: 146,155 bytes in 87 blocks ==84311== still reachable: 2,618,840 bytes in 1,560 blocks ==84311== suppressed: 0 bytes in 0 blocks ==84311== Rerun with --leak-check=full to see details of leaked memory ==84311== ==84311== For counts of detected and suppressed errors, rerun with: -v ==84311== Use --track-origins=yes to see where uninitialised values come from ==84311== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12349 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.