Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008274, allocations: 87.55 kB / 17.63 MB, free: 6.16 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.0008746/0.0008745, allocations: 186.9 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.22 MB / 337.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.000418, allocations: 13.41 kB / 410.3 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 61.92 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002918/0.1616, allocations: 1.406 MB / 473.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1634, allocations: 0.8036 MB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1635, allocations: 0 / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.164, allocations: 83.81 kB / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1643, allocations: 83.72 kB / 474.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1647, allocations: 91.77 kB / 474.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.165, allocations: 99.67 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1651, allocations: 4 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1652, allocations: 51.77 kB / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1653, allocations: 51.81 kB / 474.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1654, allocations: 8 kB / 474.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1655, allocations: 51.97 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.1656, allocations: 19.92 kB / 474.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.1657, allocations: 41.64 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1659, allocations: 100.1 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1659, allocations: 0 / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1659, allocations: 0 / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1659, allocations: 7.875 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007156/0.1667, allocations: 410.8 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1667, allocations: 16.56 kB / 475.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1668, allocations: 11.81 kB / 475.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1671, allocations: 210.8 kB / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1671, allocations: 4 kB / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1671, allocations: 0 / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1673, allocations: 65.61 kB / 475.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1674, allocations: 3.938 kB / 475.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1674, allocations: 0 / 475.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1674, allocations: 4 kB / 475.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.1675, allocations: 27.98 kB / 475.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.168, allocations: 304.7 kB / 476.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1682, allocations: 58.48 kB / 476.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.1683, allocations: 24.98 kB / 476.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1683, allocations: 0 / 476.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1685, allocations: 79.44 kB / 476.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1685, allocations: 0 / 476.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007688/0.1693, allocations: 225.1 kB / 476.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1694, allocations: 51.41 kB / 476.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1696, allocations: 222.7 kB / 476.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1697, allocations: 37.64 kB / 476.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.1697, allocations: 112.1 kB / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.1698, allocations: 31.55 kB / 476.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.1698, allocations: 8 kB / 477 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.17, allocations: 326.8 kB / 477.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1701, allocations: 27.98 kB / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.1702, allocations: 56.52 kB / 477.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.1703, allocations: 31.98 kB / 477.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1703, allocations: 4 kB / 477.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002131/0.1705, allocations: 125.5 kB / 477.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1706, allocations: 10.48 kB / 477.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1706, allocations: 3.938 kB / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1706, allocations: 7.938 kB / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.1707, allocations: 16 kB / 477.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1707, allocations: 0 / 477.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.1707, allocations: 7.984 kB / 477.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1708, allocations: 8 kB / 477.6 MB, free: 8.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1709, allocations: 141.8 kB / 477.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1709, allocations: 15.81 kB / 477.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.171, allocations: 14.11 kB / 477.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.171, allocations: 4 kB / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.171, allocations: 7.875 kB / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.171, allocations: 0 / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1715, allocations: 460 kB / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1716, allocations: 0 / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.1716, allocations: 19.92 kB / 478.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1716, allocations: 4 kB / 478.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1716, allocations: 0 / 478.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1716, allocations: 4 kB / 478.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1716, allocations: 0 / 478.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1719, allocations: 233 kB / 478.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.172, allocations: 96.91 kB / 478.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.172, allocations: 4 kB / 478.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1721, allocations: 0 / 478.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1722, allocations: 19.94 kB / 478.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1722, allocations: 4 kB / 478.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1723, allocations: 176.3 kB / 478.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1723, allocations: 0 / 478.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1726, allocations: 24 kB / 478.8 MB, free: 6.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/0.1739, allocations: 0.5086 MB / 479.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1742, allocations: 83.84 kB / 479.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1742, allocations: 0 / 479.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.1743, allocations: 44.09 kB / 479.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1746, allocations: 28.17 kB / 479.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1752, allocations: 337.3 kB / 479.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1756, allocations: 0.7082 MB / 480.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.1756, allocations: 19.44 kB / 480.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1756, allocations: 0 / 480.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Templates: time 0.00442/0.1801, allocations: 2.19 MB / 482.7 MB, free: 3 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.o] Error 1