!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_2001_Pt__MO_102190350384_005 Supported species : Pt random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Pt (Configuration in file "config-F-Pt.xyz") ----------------------------------------------------------------------------------------------------- Energy = 91.8126263894708 Forces: 1 -1.08494195e+01 -1.29201988e+01 -1.65211470e+01 2 -8.02249431e+00 1.25660246e+01 -1.95645933e+01 3 -2.14035963e+00 -1.70684299e+01 1.08799511e+01 4 -1.46318045e+01 9.79095309e+00 5.12178388e+00 5 1.58161059e+01 -2.27258025e+01 -1.39248472e+01 6 8.64629535e+00 2.07878137e+00 -1.36220773e+01 7 1.44577212e+01 -3.66500941e+01 -2.36646598e+01 8 -1.58592883e+01 -2.53015758e+01 -8.51561702e+00 9 -9.58950184e+00 -1.20861574e+01 -2.22008819e+01 10 -7.18673670e+00 2.40706971e+01 -2.60968236e+01 11 -1.95903168e+01 -1.65602346e+01 -1.87320282e+01 12 -1.86587477e+01 1.94287428e+01 8.71390675e+00 13 2.40881676e+00 -1.34310499e+01 -5.07828200e+01 14 1.09054212e+01 1.07352010e+01 -9.64268041e+00 15 5.06664725e+01 -4.15445013e-01 -6.63349695e+00 16 9.84719858e+00 5.02915977e+01 5.10592137e+00 17 -1.90357013e+01 -1.10518705e+01 -3.41948008e+00 18 2.74501922e+00 3.98352333e+00 -5.70045587e+00 19 8.35426128e+00 -2.48725042e+01 1.74204635e+01 20 -1.62623377e+01 9.92670799e+00 1.26284676e+01 21 -1.30413297e+01 -2.04268132e+01 1.28597825e+01 22 3.19797644e+01 1.63019270e+01 2.41600899e+01 23 5.61687847e+00 -3.27002499e+00 9.90031238e+00 24 3.82079007e+00 -1.05737878e+01 1.75630451e+01 25 -3.66779265e+01 -4.17820169e+00 6.61357807e+00 26 -1.22537247e+01 4.40645842e+01 -1.94395026e+00 27 -4.88953073e+00 -2.41736339e+01 2.73338091e+01 28 -2.51673293e+01 1.96585288e+01 1.04750665e+01 29 1.02306984e+01 -1.00733054e+01 2.36337456e+01 30 1.77971649e+01 2.11304055e+01 9.06567102e+00 31 2.49107047e+01 -3.69136053e+00 1.47321086e+01 32 1.56532360e+01 2.54428157e+01 2.47578559e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Pt (Configuration in file "config-T-Pt.xyz") ----------------------------------------------------------------------------------------------------- Energy = 91.8126263894708 Forces: 1 -1.08494195e+01 -1.29201988e+01 -1.65211470e+01 2 -8.02249431e+00 1.25660246e+01 -1.95645933e+01 3 -2.14035963e+00 -1.70684299e+01 1.08799511e+01 4 -1.46318045e+01 9.79095309e+00 5.12178388e+00 5 1.58161059e+01 -2.27258025e+01 -1.39248472e+01 6 8.64629535e+00 2.07878137e+00 -1.36220773e+01 7 1.44577212e+01 -3.66500941e+01 -2.36646598e+01 8 -1.58592883e+01 -2.53015758e+01 -8.51561702e+00 9 -9.58950184e+00 -1.20861574e+01 -2.22008819e+01 10 -7.18673670e+00 2.40706971e+01 -2.60968236e+01 11 -1.95903168e+01 -1.65602346e+01 -1.87320282e+01 12 -1.86587477e+01 1.94287428e+01 8.71390675e+00 13 2.40881676e+00 -1.34310499e+01 -5.07828200e+01 14 1.09054212e+01 1.07352010e+01 -9.64268041e+00 15 5.06664725e+01 -4.15445013e-01 -6.63349695e+00 16 9.84719858e+00 5.02915977e+01 5.10592137e+00 17 -1.90357013e+01 -1.10518705e+01 -3.41948008e+00 18 2.74501922e+00 3.98352333e+00 -5.70045587e+00 19 8.35426128e+00 -2.48725042e+01 1.74204635e+01 20 -1.62623377e+01 9.92670799e+00 1.26284676e+01 21 -1.30413297e+01 -2.04268132e+01 1.28597825e+01 22 3.19797644e+01 1.63019270e+01 2.41600899e+01 23 5.61687847e+00 -3.27002499e+00 9.90031238e+00 24 3.82079007e+00 -1.05737878e+01 1.75630451e+01 25 -3.66779265e+01 -4.17820169e+00 6.61357807e+00 26 -1.22537247e+01 4.40645842e+01 -1.94395026e+00 27 -4.88953073e+00 -2.41736339e+01 2.73338091e+01 28 -2.51673293e+01 1.96585288e+01 1.04750665e+01 29 1.02306984e+01 -1.00733054e+01 2.36337456e+01 30 1.77971649e+01 2.11304055e+01 9.06567102e+00 31 2.49107047e+01 -3.69136053e+00 1.47321086e+01 32 1.56532360e+01 2.54428157e+01 2.47578559e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==93940== Memcheck, a memory error detector ==93940== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==93940== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==93940== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001_Pt__MO_102190350384_005 ==93940== ==93940== Conditional jump or move depends on uninitialised value(s) ==93940== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==93940== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==93940== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93940== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93940== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93940== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93940== by 0x551B80: ??? (in /usr/bin/python3.6) ==93940== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93940== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93940== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93940== by 0x509D47: ??? (in /usr/bin/python3.6) ==93940== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93940== ==93940== Conditional jump or move depends on uninitialised value(s) ==93940== at 0x4E63408: internal_utf8_loop (loop.c:298) ==93940== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==93940== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93940== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93940== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93940== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93940== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93940== by 0x551B80: ??? (in /usr/bin/python3.6) ==93940== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93940== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93940== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93940== by 0x509D47: ??? (in /usr/bin/python3.6) ==93940== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93940== ==93940== Conditional jump or move depends on uninitialised value(s) ==93940== at 0x4E63411: internal_utf8_loop (loop.c:303) ==93940== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==93940== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93940== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93940== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93940== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93940== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93940== by 0x551B80: ??? (in /usr/bin/python3.6) ==93940== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93940== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93940== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93940== by 0x509D47: ??? (in /usr/bin/python3.6) ==93940== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93940== ==93940== Conditional jump or move depends on uninitialised value(s) ==93940== at 0x4E63458: internal_utf8_loop (loop.c:298) ==93940== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==93940== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93940== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93940== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93940== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93940== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93940== by 0x551B80: ??? (in /usr/bin/python3.6) ==93940== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93940== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93940== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93940== by 0x509D47: ??? (in /usr/bin/python3.6) ==93940== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93940== ==93940== Conditional jump or move depends on uninitialised value(s) ==93940== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==93940== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==93940== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93940== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93940== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==93940== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==93940== by 0x4F8388: ??? (in /usr/bin/python3.6) ==93940== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==93940== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==93940== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==93940== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==93940== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93940== ==93940== ==93940== HEAP SUMMARY: ==93940== in use at exit: 2,764,995 bytes in 1,647 blocks ==93940== total heap usage: 36,172 allocs, 34,525 frees, 64,212,753 bytes allocated ==93940== ==93940== LEAK SUMMARY: ==93940== definitely lost: 0 bytes in 0 blocks ==93940== indirectly lost: 0 bytes in 0 blocks ==93940== possibly lost: 146,155 bytes in 87 blocks ==93940== still reachable: 2,618,840 bytes in 1,560 blocks ==93940== suppressed: 0 bytes in 0 blocks ==93940== Rerun with --leak-check=full to see details of leaked memory ==93940== ==93940== For counts of detected and suppressed errors, rerun with: -v ==93940== Use --track-origins=yes to see where uninitialised values come from ==93940== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12356 from 649) ================================================================================ 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.