!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : SW_StillingerWeber_1985_Si__MO_405512056662_005 Supported species : Si random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Si (Configuration in file "config-F-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 533.506832247138 Forces: 1 -2.04948361e+01 -2.91919025e+01 -2.63264859e+01 2 -8.04133993e+00 -1.10097731e+01 -6.20205520e+01 3 -1.02395709e+01 -5.74654688e+01 -1.30722707e+01 4 -5.65695595e+01 -1.67768387e+00 -5.08854178e-01 5 5.73599437e+00 -4.26791872e+01 -3.21509847e+01 6 3.50466281e+01 -9.22661000e+00 -3.97247932e+01 7 3.56174263e+01 -6.01646637e+01 -2.81673467e+01 8 9.49408978e-01 -3.56186623e+01 -1.43180135e+00 9 -3.01165774e+01 1.31478277e+01 -4.74969609e+01 10 -1.95557866e+01 4.62453898e+01 -5.11010026e+01 11 -4.22403251e+01 -1.29738051e+00 -1.69251770e+01 12 -4.46145393e+01 4.13379074e+01 -1.34666386e+01 13 2.95210692e+00 9.45003316e+00 -1.00464339e+02 14 2.60723372e+01 2.19809179e+01 -2.30919788e+01 15 1.02397663e+02 8.51819347e+00 -1.40679549e-01 16 1.88893344e+01 8.99930748e+01 -1.58216316e+01 17 -3.68392763e+01 -2.23809160e+01 7.23859078e+00 18 -1.73856849e+01 -7.80403367e+00 2.20899331e+01 19 -3.13197593e-01 -2.54795875e+01 3.44178671e+01 20 -2.12040804e+01 3.15660088e+00 2.22488615e+01 21 5.12561630e+00 -5.28695875e+01 2.14728228e+01 22 6.34180309e+01 6.43499441e+00 2.65051682e+01 23 1.95062230e+01 -1.28056964e+01 2.46644553e+01 24 2.46484419e+00 -1.00123147e+01 5.20409356e+01 25 -6.95962574e+01 -1.15728583e+01 2.43898131e+01 26 -1.91574142e+01 7.41261175e+01 1.13435844e+01 27 -1.14685895e+01 -3.01316941e+01 5.67111251e+01 28 -4.78840740e+01 3.19460970e+01 2.45615574e+01 29 2.15453041e+01 2.87437742e+00 3.90088546e+01 30 4.82924106e+01 3.73484051e+01 5.50852849e+00 31 5.11616906e+01 -5.04947057e+00 4.55365100e+01 32 1.65460900e+01 3.98775543e+01 5.41728889e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Si (Configuration in file "config-T-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 533.506832247138 Forces: 1 -2.04948361e+01 -2.91919025e+01 -2.63264859e+01 2 -8.04133993e+00 -1.10097731e+01 -6.20205520e+01 3 -1.02395709e+01 -5.74654688e+01 -1.30722707e+01 4 -5.65695595e+01 -1.67768387e+00 -5.08854178e-01 5 5.73599437e+00 -4.26791872e+01 -3.21509847e+01 6 3.50466281e+01 -9.22661000e+00 -3.97247932e+01 7 3.56174263e+01 -6.01646637e+01 -2.81673467e+01 8 9.49408978e-01 -3.56186623e+01 -1.43180135e+00 9 -3.01165774e+01 1.31478277e+01 -4.74969609e+01 10 -1.95557866e+01 4.62453898e+01 -5.11010026e+01 11 -4.22403251e+01 -1.29738051e+00 -1.69251770e+01 12 -4.46145393e+01 4.13379074e+01 -1.34666386e+01 13 2.95210692e+00 9.45003316e+00 -1.00464339e+02 14 2.60723372e+01 2.19809179e+01 -2.30919788e+01 15 1.02397663e+02 8.51819347e+00 -1.40679549e-01 16 1.88893344e+01 8.99930748e+01 -1.58216316e+01 17 -3.68392763e+01 -2.23809160e+01 7.23859078e+00 18 -1.73856849e+01 -7.80403367e+00 2.20899331e+01 19 -3.13197593e-01 -2.54795875e+01 3.44178671e+01 20 -2.12040804e+01 3.15660088e+00 2.22488615e+01 21 5.12561630e+00 -5.28695875e+01 2.14728228e+01 22 6.34180309e+01 6.43499441e+00 2.65051682e+01 23 1.95062230e+01 -1.28056964e+01 2.46644553e+01 24 2.46484419e+00 -1.00123147e+01 5.20409356e+01 25 -6.95962574e+01 -1.15728583e+01 2.43898131e+01 26 -1.91574142e+01 7.41261175e+01 1.13435844e+01 27 -1.14685895e+01 -3.01316941e+01 5.67111251e+01 28 -4.78840740e+01 3.19460970e+01 2.45615574e+01 29 2.15453041e+01 2.87437742e+00 3.90088546e+01 30 4.82924106e+01 3.73484051e+01 5.50852849e+00 31 5.11616906e+01 -5.04947057e+00 4.55365100e+01 32 1.65460900e+01 3.98775543e+01 5.41728889e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==2395== Memcheck, a memory error detector ==2395== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2395== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==2395== Command: python runner2.py SW_StillingerWeber_1985_Si__MO_405512056662_005 ==2395== ==2395== Conditional jump or move depends on uninitialised value(s) ==2395== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==2395== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==2395== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==2395== by 0x547A3F: ??? (in /usr/bin/python3.6) ==2395== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==2395== by 0x5BA640: ??? (in /usr/bin/python3.6) ==2395== by 0x551B80: ??? (in /usr/bin/python3.6) ==2395== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==2395== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==2395== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==2395== by 0x509D47: ??? (in /usr/bin/python3.6) ==2395== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==2395== ==2395== Conditional jump or move depends on uninitialised value(s) ==2395== at 0x4E63408: internal_utf8_loop (loop.c:298) ==2395== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==2395== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==2395== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==2395== by 0x547A3F: ??? (in /usr/bin/python3.6) ==2395== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==2395== by 0x5BA640: ??? (in /usr/bin/python3.6) ==2395== by 0x551B80: ??? (in /usr/bin/python3.6) ==2395== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==2395== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==2395== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==2395== by 0x509D47: ??? (in /usr/bin/python3.6) ==2395== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==2395== ==2395== Conditional jump or move depends on uninitialised value(s) ==2395== at 0x4E63411: internal_utf8_loop (loop.c:303) ==2395== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==2395== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==2395== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==2395== by 0x547A3F: ??? (in /usr/bin/python3.6) ==2395== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==2395== by 0x5BA640: ??? (in /usr/bin/python3.6) ==2395== by 0x551B80: ??? (in /usr/bin/python3.6) ==2395== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==2395== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==2395== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==2395== by 0x509D47: ??? (in /usr/bin/python3.6) ==2395== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==2395== ==2395== Conditional jump or move depends on uninitialised value(s) ==2395== at 0x4E63458: internal_utf8_loop (loop.c:298) ==2395== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==2395== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==2395== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==2395== by 0x547A3F: ??? (in /usr/bin/python3.6) ==2395== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==2395== by 0x5BA640: ??? (in /usr/bin/python3.6) ==2395== by 0x551B80: ??? (in /usr/bin/python3.6) ==2395== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==2395== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==2395== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==2395== by 0x509D47: ??? (in /usr/bin/python3.6) ==2395== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==2395== ==2395== Conditional jump or move depends on uninitialised value(s) ==2395== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==2395== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==2395== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==2395== by 0x547A3F: ??? (in /usr/bin/python3.6) ==2395== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==2395== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==2395== by 0x551B80: ??? (in /usr/bin/python3.6) ==2395== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==2395== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==2395== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==2395== by 0x509D47: ??? (in /usr/bin/python3.6) ==2395== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==2395== ==2395== ==2395== HEAP SUMMARY: ==2395== in use at exit: 2,764,995 bytes in 1,647 blocks ==2395== total heap usage: 36,339 allocs, 34,692 frees, 61,262,561 bytes allocated ==2395== ==2395== LEAK SUMMARY: ==2395== definitely lost: 0 bytes in 0 blocks ==2395== indirectly lost: 0 bytes in 0 blocks ==2395== possibly lost: 146,155 bytes in 87 blocks ==2395== still reachable: 2,618,840 bytes in 1,560 blocks ==2395== suppressed: 0 bytes in 0 blocks ==2395== Rerun with --leak-check=full to see details of leaked memory ==2395== ==2395== For counts of detected and suppressed errors, rerun with: -v ==2395== Use --track-origins=yes to see where uninitialised values come from ==2395== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11644 from 662) ================================================================================ 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.