!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Ackland_1992_Ti__MO_748534961139_005 Supported species : Ti random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ti (Configuration in file "config-F-Ti.xyz") ----------------------------------------------------------------------------------------------------- Energy = 37.94109816385576 Forces: 1 -4.91913681e+00 -8.16013067e+00 -7.36781590e+00 2 -2.16866931e+00 3.02843125e+00 -1.02323331e+01 3 3.00606066e+00 -9.72994981e+00 -1.24730593e+00 4 -9.56059144e+00 2.89299513e+00 2.49343280e+00 5 1.80481425e-01 -1.20318573e+01 -6.21790922e+00 6 8.27975610e+00 1.29377283e+00 -9.54122298e+00 7 7.75523088e+00 -1.28944087e+01 -4.97218449e+00 8 -5.80477855e+00 -5.16086836e+00 2.34023664e+00 9 -6.17915742e+00 -6.22884669e+00 -1.34648422e+01 10 5.16350625e+00 1.22267623e+01 -1.01923672e+01 11 1.24601291e-01 -7.01838563e+00 -1.23618974e+00 12 -1.29507829e+01 1.16889021e+01 3.95612470e+00 13 -2.83945086e+00 -2.29270653e+00 -2.04321349e+01 14 7.20895786e+00 8.26750469e+00 -7.03977845e+00 15 1.95003591e+01 -3.34225683e+00 -6.93093441e-01 16 -1.52165169e+00 1.93447663e+01 1.97752754e+00 17 -1.33416194e+01 -8.21326988e+00 -2.89681489e+00 18 4.84138288e+00 5.17148778e+00 -1.10491774e+00 19 4.59999358e+00 -1.04811258e+01 9.11624200e+00 20 -8.02119896e+00 5.50057374e+00 9.04321475e+00 21 -5.77121098e+00 -9.17370315e+00 3.19269004e+00 22 1.36163805e+01 6.37011963e+00 4.91533851e+00 23 4.46855769e+00 -2.66278747e+00 7.47513979e+00 24 5.67207452e-01 -2.53003783e+00 7.41237927e+00 25 -1.50918142e+01 -1.80140953e+00 5.73603739e+00 26 -3.43752381e-01 1.52614259e+01 -2.88396370e+00 27 -5.05750032e-01 -9.53783881e+00 9.58661947e+00 28 -1.20935385e+01 7.89534465e+00 5.36916163e+00 29 -4.09961473e+00 -6.84211731e+00 4.04252333e+00 30 1.06539649e+01 1.21920449e+01 5.03659659e-01 31 1.17936784e+01 -3.93793743e+00 1.14999997e+01 32 3.45259914e+00 1.09055065e+01 1.08625466e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ti (Configuration in file "config-T-Ti.xyz") ----------------------------------------------------------------------------------------------------- Energy = 37.94109816385576 Forces: 1 -4.91913681e+00 -8.16013067e+00 -7.36781590e+00 2 -2.16866931e+00 3.02843125e+00 -1.02323331e+01 3 3.00606066e+00 -9.72994981e+00 -1.24730593e+00 4 -9.56059144e+00 2.89299513e+00 2.49343280e+00 5 1.80481425e-01 -1.20318573e+01 -6.21790922e+00 6 8.27975610e+00 1.29377283e+00 -9.54122298e+00 7 7.75523088e+00 -1.28944087e+01 -4.97218449e+00 8 -5.80477855e+00 -5.16086836e+00 2.34023664e+00 9 -6.17915742e+00 -6.22884669e+00 -1.34648422e+01 10 5.16350625e+00 1.22267623e+01 -1.01923672e+01 11 1.24601291e-01 -7.01838563e+00 -1.23618974e+00 12 -1.29507829e+01 1.16889021e+01 3.95612470e+00 13 -2.83945086e+00 -2.29270653e+00 -2.04321349e+01 14 7.20895786e+00 8.26750469e+00 -7.03977845e+00 15 1.95003591e+01 -3.34225683e+00 -6.93093441e-01 16 -1.52165169e+00 1.93447663e+01 1.97752754e+00 17 -1.33416194e+01 -8.21326988e+00 -2.89681489e+00 18 4.84138288e+00 5.17148778e+00 -1.10491774e+00 19 4.59999358e+00 -1.04811258e+01 9.11624200e+00 20 -8.02119896e+00 5.50057374e+00 9.04321475e+00 21 -5.77121098e+00 -9.17370315e+00 3.19269004e+00 22 1.36163805e+01 6.37011963e+00 4.91533851e+00 23 4.46855769e+00 -2.66278747e+00 7.47513979e+00 24 5.67207452e-01 -2.53003783e+00 7.41237927e+00 25 -1.50918142e+01 -1.80140953e+00 5.73603739e+00 26 -3.43752381e-01 1.52614259e+01 -2.88396370e+00 27 -5.05750032e-01 -9.53783881e+00 9.58661947e+00 28 -1.20935385e+01 7.89534465e+00 5.36916163e+00 29 -4.09961473e+00 -6.84211731e+00 4.04252333e+00 30 1.06539649e+01 1.21920449e+01 5.03659659e-01 31 1.17936784e+01 -3.93793743e+00 1.14999997e+01 32 3.45259914e+00 1.09055065e+01 1.08625466e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==84891== Memcheck, a memory error detector ==84891== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==84891== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==84891== Command: python runner2.py EAM_Dynamo_Ackland_1992_Ti__MO_748534961139_005 ==84891== ==84891== Conditional jump or move depends on uninitialised value(s) ==84891== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==84891== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84891== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84891== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84891== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84891== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84891== by 0x551B80: ??? (in /usr/bin/python3.6) ==84891== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84891== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84891== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84891== by 0x509D47: ??? (in /usr/bin/python3.6) ==84891== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84891== ==84891== Conditional jump or move depends on uninitialised value(s) ==84891== at 0x4E63408: internal_utf8_loop (loop.c:298) ==84891== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==84891== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84891== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84891== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84891== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84891== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84891== by 0x551B80: ??? (in /usr/bin/python3.6) ==84891== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84891== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84891== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84891== by 0x509D47: ??? (in /usr/bin/python3.6) ==84891== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84891== ==84891== Conditional jump or move depends on uninitialised value(s) ==84891== at 0x4E63411: internal_utf8_loop (loop.c:303) ==84891== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==84891== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84891== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84891== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84891== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84891== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84891== by 0x551B80: ??? (in /usr/bin/python3.6) ==84891== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84891== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84891== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84891== by 0x509D47: ??? (in /usr/bin/python3.6) ==84891== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84891== ==84891== Conditional jump or move depends on uninitialised value(s) ==84891== at 0x4E63458: internal_utf8_loop (loop.c:298) ==84891== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==84891== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==84891== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84891== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84891== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==84891== by 0x5BA640: ??? (in /usr/bin/python3.6) ==84891== by 0x551B80: ??? (in /usr/bin/python3.6) ==84891== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84891== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84891== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84891== by 0x509D47: ??? (in /usr/bin/python3.6) ==84891== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84891== ==84891== Conditional jump or move depends on uninitialised value(s) ==84891== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==84891== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==84891== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==84891== by 0x547A3F: ??? (in /usr/bin/python3.6) ==84891== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==84891== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==84891== by 0x551B80: ??? (in /usr/bin/python3.6) ==84891== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==84891== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==84891== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==84891== by 0x509D47: ??? (in /usr/bin/python3.6) ==84891== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==84891== ==84891== ==84891== HEAP SUMMARY: ==84891== in use at exit: 2,764,995 bytes in 1,647 blocks ==84891== total heap usage: 36,172 allocs, 34,525 frees, 73,425,207 bytes allocated ==84891== ==84891== LEAK SUMMARY: ==84891== definitely lost: 0 bytes in 0 blocks ==84891== indirectly lost: 0 bytes in 0 blocks ==84891== possibly lost: 146,155 bytes in 87 blocks ==84891== still reachable: 2,618,840 bytes in 1,560 blocks ==84891== suppressed: 0 bytes in 0 blocks ==84891== Rerun with --leak-check=full to see details of leaked memory ==84891== ==84891== For counts of detected and suppressed errors, rerun with: -v ==84891== Use --track-origins=yes to see where uninitialised values come from ==84891== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11615 from 663) ================================================================================ 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.