Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 90.12 kB / 16.67 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 179.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2575/0.2575, allocations: 43.58 MB / 315.6 MB, free: 416 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006392, allocations: 15.88 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 58.86 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0007743/0.1417, allocations: 225 kB / 444.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.1424, allocations: 252.4 kB / 444.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1425, allocations: 0 / 444.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.1425, allocations: 0 / 444.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1425, allocations: 0 / 444.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1428, allocations: 35.91 kB / 444.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.843e-05/0.1429, allocations: 4 kB / 444.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.1429, allocations: 3.984 kB / 444.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1429, allocations: 0 / 444.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.886e-05/0.143, allocations: 3.984 kB / 444.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.143, allocations: 4 kB / 444.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1431, allocations: 63.95 kB / 444.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-06/0.1432, allocations: 0 / 444.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1432, allocations: 29.7 kB / 444.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1433, allocations: 35.83 kB / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1433, allocations: 0 / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1434, allocations: 0 / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1434, allocations: 0 / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002994/0.1437, allocations: 357.3 kB / 445.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1437, allocations: 8.031 kB / 445.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.1438, allocations: 8.844 kB / 445.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.1438, allocations: 168.3 kB / 445.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1438, allocations: 4.375 kB / 445.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1439, allocations: 384 / 445.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.144, allocations: 26.27 kB / 445.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.144, allocations: 192 / 445.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.144, allocations: 7.938 kB / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.144, allocations: 0 / 445.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.144, allocations: 3.938 kB / 445.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1442, allocations: 149.7 kB / 445.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.1442, allocations: 22.59 kB / 445.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.1442, allocations: 4.859 kB / 445.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.1442, allocations: 0 / 445.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/0.1443, allocations: 60.33 kB / 445.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1443, allocations: 0 / 445.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.1445, allocations: 71.38 kB / 445.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1445, allocations: 89.06 kB / 445.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.744e-05/0.1446, allocations: 89.86 kB / 445.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.1446, allocations: 25.7 kB / 445.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.494e-05/0.1446, allocations: 80.14 kB / 445.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1446, allocations: 0 / 445.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1446, allocations: 9.719 kB / 445.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.1447, allocations: 314.8 kB / 446.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.1447, allocations: 0 / 446.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.1447, allocations: 8 kB / 446.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.1448, allocations: 60.27 kB / 446.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1448, allocations: 0 / 446.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.712e-05/0.1448, allocations: 67.33 kB / 446.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.1449, allocations: 31.73 kB / 446.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1449, allocations: 0 / 446.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1449, allocations: 3.938 kB / 446.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.1449, allocations: 0 / 446.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1449, allocations: 0 / 446.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.145, allocations: 8.094 kB / 446.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.145, allocations: 0 / 446.4 MB, free: 2.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.145, allocations: 143.5 kB / 446.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.1451, allocations: 7.938 kB / 446.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.1451, allocations: 7.062 kB / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1451, allocations: 0 / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1451, allocations: 0 / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1451, allocations: 3.984 kB / 446.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.1452, allocations: 145.7 kB / 446.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1452, allocations: 8 kB / 446.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.1452, allocations: 0 / 446.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1452, allocations: 0 / 446.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1452, allocations: 3.938 kB / 446.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1452, allocations: 4 kB / 446.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1452, allocations: 0 / 446.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.1453, allocations: 98.75 kB / 446.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1453, allocations: 77.11 kB / 446.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1454, allocations: 7.969 kB / 446.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1454, allocations: 4 kB / 446.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1454, allocations: 3.938 kB / 446.9 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1454, allocations: 0 / 446.9 MB, free: 2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.1454, allocations: 75.28 kB / 446.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1454, allocations: 0 / 446.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1458, allocations: 27.98 kB / 447 MB, free: 1.898 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005765/0.1463, allocations: 269.8 kB / 447.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1465, allocations: 63.34 kB / 447.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1465, allocations: 0 / 447.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.1465, allocations: 55.41 kB / 447.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1467, allocations: 0 / 447.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.1469, allocations: 108.6 kB / 447.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.1471, allocations: 0.6692 MB / 448.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1471, allocations: 7.438 kB / 448.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1471, allocations: 0 / 448.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of Templates: time 0.002955/0.1501, allocations: 0.9562 MB / 449.1 MB, free: 15.74 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.o] Error 1