Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007842/0.0007841, allocations: 92.09 kB / 18 MB, free: 5.602 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.0008393/0.0008393, allocations: 181.1 kB / 18.91 MB, free: 4.738 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.466/1.466, allocations: 223.3 MB / 242.9 MB, free: 14.29 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.2444/0.2444, allocations: 44.24 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 13.5 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002961/0.1568, allocations: 1.41 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1587, allocations: 0.8538 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.1589, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.1594, allocations: 47.81 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1597, allocations: 51.75 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.1602, allocations: 95.34 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1605, allocations: 87.75 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1606, allocations: 16.22 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1608, allocations: 43.72 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1609, allocations: 27.86 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1609, allocations: 4 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1611, allocations: 43.97 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.1612, allocations: 23.86 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.1613, allocations: 57.44 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1615, allocations: 96.09 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1615, allocations: 0 / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1615, allocations: 0 / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1616, allocations: 3.938 kB / 475.8 MB, free: 10.44 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007216/0.1623, allocations: 403 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1623, allocations: 12.03 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1624, allocations: 12.78 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1628, allocations: 220.5 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1628, allocations: 4.375 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1628, allocations: 8.125 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.163, allocations: 53.67 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.163, allocations: 0 / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1631, allocations: 0 / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1631, allocations: 7.938 kB / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.1632, allocations: 19.98 kB / 476.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.1637, allocations: 288.8 kB / 476.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1639, allocations: 62.67 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.164, allocations: 24.78 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.1641, allocations: 4 kB / 476.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1643, allocations: 67.39 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1643, allocations: 0 / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006684/0.165, allocations: 185.1 kB / 477.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1651, allocations: 55.41 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1653, allocations: 218.7 kB / 477.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1653, allocations: 25.7 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1654, allocations: 108.1 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1655, allocations: 31.62 kB / 477.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1655, allocations: 13.72 kB / 477.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1657, allocations: 330.8 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.1657, allocations: 23.98 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.1658, allocations: 33.7 kB / 477.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1659, allocations: 65.64 kB / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1659, allocations: 0 / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.1662, allocations: 101.4 kB / 478.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1662, allocations: 4.031 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1662, allocations: 4 kB / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1662, allocations: 3.938 kB / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.1663, allocations: 19.98 kB / 478.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1663, allocations: 0 / 478.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1664, allocations: 7.938 kB / 478.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1664, allocations: 4 kB / 478.1 MB, free: 7.82 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001272/0.1666, allocations: 125.8 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1666, allocations: 20 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.1667, allocations: 25.38 kB / 478.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1667, allocations: 7.938 kB / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1667, allocations: 0 / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1667, allocations: 7.875 kB / 478.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.1672, allocations: 387.4 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1672, allocations: 0 / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.1673, allocations: 15.92 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1673, allocations: 0 / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1673, allocations: 11.97 kB / 478.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1673, allocations: 384 / 478.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1673, allocations: 0 / 478.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1676, allocations: 204.4 kB / 478.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.1677, allocations: 89 kB / 479 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.1677, allocations: 15.94 kB / 479 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1678, allocations: 4 kB / 479 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1678, allocations: 11.92 kB / 479 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1679, allocations: 4 kB / 479 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.168, allocations: 172.3 kB / 479.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.168, allocations: 0 / 479.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1683, allocations: 23.98 kB / 479.2 MB, free: 6.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00122/0.1696, allocations: 464.5 kB / 479.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1697, allocations: 55.91 kB / 479.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1698, allocations: 0 / 479.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.1698, allocations: 31.98 kB / 479.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1702, allocations: 26.59 kB / 479.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.1708, allocations: 323.8 kB / 480.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1711, allocations: 0.7161 MB / 480.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.1711, allocations: 19.42 kB / 480.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1711, allocations: 0 / 480.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of Templates: time 0.00452/0.1756, allocations: 1.943 MB / 482.8 MB, free: 3.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.o] Error 1