!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_AcklandWoodingBacon_1995v2_Zr__MO_398441626455_000 Supported species : Zr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Zr (Configuration in file "config-F-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 333.855164157456 Forces: 1 -1.22003623e+01 -4.07824574e+01 -3.13212397e+01 2 -8.17222317e+00 1.20055034e+01 -2.76811744e+01 3 2.98233102e+00 -3.56640920e+01 -1.90699376e+01 4 -2.60125020e+01 2.28104945e+01 2.84056435e+01 5 8.67170747e+00 -3.57563196e+01 -1.39531459e+01 6 2.04770191e+01 -6.72374996e-03 -2.34897135e+01 7 1.38578073e+01 -6.74609914e+01 -5.78119770e+01 8 -3.02232008e+01 -3.01122250e+01 2.51342118e+00 9 -1.02742160e+01 5.01882635e+00 -3.11482147e+01 10 -1.36647313e+01 2.60634999e+01 -4.01999347e+01 11 -1.07957879e+01 -2.45348057e+01 -1.23972969e+01 12 -2.50865544e+01 2.27724638e+01 6.25514682e-01 13 -2.34151778e+01 -8.97565261e+00 -9.29893763e+01 14 1.88020257e+01 1.81667237e+01 -1.41443324e+01 15 8.81612734e+01 1.41730281e+01 2.81081987e+01 16 1.39502810e+01 6.17827402e+01 2.61828882e+01 17 -3.32076519e+01 -1.49259026e+01 9.15074950e-01 18 5.57077400e+00 3.24434409e+01 -1.29434142e-01 19 5.61706956e-02 -3.32480115e+01 3.32349083e+01 20 -1.79928040e+01 4.76827087e+00 1.42495941e+01 21 -1.17161399e+01 -2.70242759e+01 1.80123683e+01 22 4.71962552e+01 4.46790636e+01 5.24825912e+01 23 1.08621452e+01 -7.63433113e+00 1.51230483e+01 24 5.24871994e+00 1.36452865e-01 2.27062031e+01 25 -5.34398477e+01 -1.15797528e+01 1.50974543e+00 26 2.09459045e+00 5.30713108e+01 -9.61163697e+00 27 3.25046625e+01 -6.52215058e+01 3.12053044e+01 28 -6.86588410e+01 6.06629923e+01 2.02309283e+01 29 -3.91814323e-01 -1.88566767e+01 1.47118779e+01 30 2.46773560e+01 2.99719732e+01 -5.21556470e+00 31 3.24119525e+01 -1.81273449e+01 3.31563534e+01 32 1.77267831e+01 3.13842843e+01 3.57893149e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Zr (Configuration in file "config-T-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 333.855164157456 Forces: 1 -1.22003623e+01 -4.07824574e+01 -3.13212397e+01 2 -8.17222317e+00 1.20055034e+01 -2.76811744e+01 3 2.98233102e+00 -3.56640920e+01 -1.90699376e+01 4 -2.60125020e+01 2.28104945e+01 2.84056435e+01 5 8.67170747e+00 -3.57563196e+01 -1.39531459e+01 6 2.04770191e+01 -6.72374996e-03 -2.34897135e+01 7 1.38578073e+01 -6.74609914e+01 -5.78119770e+01 8 -3.02232008e+01 -3.01122250e+01 2.51342118e+00 9 -1.02742160e+01 5.01882635e+00 -3.11482147e+01 10 -1.36647313e+01 2.60634999e+01 -4.01999347e+01 11 -1.07957879e+01 -2.45348057e+01 -1.23972969e+01 12 -2.50865544e+01 2.27724638e+01 6.25514682e-01 13 -2.34151778e+01 -8.97565261e+00 -9.29893763e+01 14 1.88020257e+01 1.81667237e+01 -1.41443324e+01 15 8.81612734e+01 1.41730281e+01 2.81081987e+01 16 1.39502810e+01 6.17827402e+01 2.61828882e+01 17 -3.32076519e+01 -1.49259026e+01 9.15074950e-01 18 5.57077400e+00 3.24434409e+01 -1.29434142e-01 19 5.61706956e-02 -3.32480115e+01 3.32349083e+01 20 -1.79928040e+01 4.76827087e+00 1.42495941e+01 21 -1.17161399e+01 -2.70242759e+01 1.80123683e+01 22 4.71962552e+01 4.46790636e+01 5.24825912e+01 23 1.08621452e+01 -7.63433113e+00 1.51230483e+01 24 5.24871994e+00 1.36452865e-01 2.27062031e+01 25 -5.34398477e+01 -1.15797528e+01 1.50974543e+00 26 2.09459045e+00 5.30713108e+01 -9.61163697e+00 27 3.25046625e+01 -6.52215058e+01 3.12053044e+01 28 -6.86588410e+01 6.06629923e+01 2.02309283e+01 29 -3.91814323e-01 -1.88566767e+01 1.47118779e+01 30 2.46773560e+01 2.99719732e+01 -5.21556470e+00 31 3.24119525e+01 -1.81273449e+01 3.31563534e+01 32 1.77267831e+01 3.13842843e+01 3.57893149e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==84785== Memcheck, a memory error detector ==84785== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==84785== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==84785== Command: python runner2.py EAM_Dynamo_AcklandWoodingBacon_1995v2_Zr__MO_398441626455_000 ==84785== ==84785== Conditional jump or move depends on uninitialised value(s) ==84785== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==84785== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84785== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84785== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84785== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84785== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84785== by 0x551B80: ??? (in /usr/bin/python3.6) ==84785== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84785== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84785== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84785== by 0x509D47: ??? (in /usr/bin/python3.6) ==84785== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84785== ==84785== Conditional jump or move depends on uninitialised value(s) ==84785== at 0x4E63408: internal_utf8_loop (loop.c:298) ==84785== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==84785== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84785== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84785== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84785== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84785== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84785== by 0x551B80: ??? (in /usr/bin/python3.6) ==84785== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84785== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84785== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84785== by 0x509D47: ??? (in /usr/bin/python3.6) ==84785== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84785== ==84785== Conditional jump or move depends on uninitialised value(s) ==84785== at 0x4E63411: internal_utf8_loop (loop.c:303) ==84785== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==84785== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84785== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84785== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84785== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84785== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84785== by 0x551B80: ??? (in /usr/bin/python3.6) ==84785== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84785== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84785== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84785== by 0x509D47: ??? (in /usr/bin/python3.6) ==84785== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84785== ==84785== Conditional jump or move depends on uninitialised value(s) ==84785== at 0x4E63458: internal_utf8_loop (loop.c:298) ==84785== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==84785== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84785== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84785== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84785== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84785== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84785== by 0x551B80: ??? (in /usr/bin/python3.6) ==84785== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84785== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84785== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84785== by 0x509D47: ??? (in /usr/bin/python3.6) ==84785== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84785== ==84785== Conditional jump or move depends on uninitialised value(s) ==84785== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==84785== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84785== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84785== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84785== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==84785== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==84785== by 0x4F8388: ??? (in /usr/bin/python3.6) ==84785== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==84785== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==84785== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==84785== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==84785== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84785== ==84785== ==84785== HEAP SUMMARY: ==84785== in use at exit: 2,764,995 bytes in 1,647 blocks ==84785== total heap usage: 36,172 allocs, 34,525 frees, 73,429,381 bytes allocated ==84785== ==84785== LEAK SUMMARY: ==84785== definitely lost: 0 bytes in 0 blocks ==84785== indirectly lost: 0 bytes in 0 blocks ==84785== possibly lost: 146,155 bytes in 87 blocks ==84785== still reachable: 2,618,840 bytes in 1,560 blocks ==84785== suppressed: 0 bytes in 0 blocks ==84785== Rerun with --leak-check=full to see details of leaked memory ==84785== ==84785== For counts of detected and suppressed errors, rerun with: -v ==84785== Use --track-origins=yes to see where uninitialised values come from ==84785== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12368 from 655) ================================================================================ 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.