Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00274/0.00274, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.89 kB / 0.4915 GB, free: 7.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1463, allocations: 65.99 MB / 0.556 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00399/0.1503, allocations: 2.278 MB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1529, allocations: 1.331 MB / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.153, allocations: 7.938 kB / 0.5595 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.1535, allocations: 143.2 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.1541, allocations: 258.9 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.1546, allocations: 187.5 kB / 0.5601 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.1552, allocations: 470.6 kB / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1553, allocations: 49.06 kB / 0.5605 GB, free: 468 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1558, allocations: 342.9 kB / 0.5609 GB, free: 124 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.156, allocations: 171.2 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.1561, allocations: 20 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1563, allocations: 71.84 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.1564, allocations: 155.3 kB / 0.5613 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.1566, allocations: 210.3 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.1572, allocations: 481.5 kB / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1572, allocations: 0 / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1572, allocations: 0 / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1573, allocations: 7.938 kB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001296/0.1586, allocations: 0.9172 MB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1586, allocations: 9.109 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.1587, allocations: 72.47 kB / 0.5629 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.1593, allocations: 456.8 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1593, allocations: 8.375 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.1594, allocations: 24.08 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.1598, allocations: 192.9 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1598, allocations: 0 / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1598, allocations: 8 kB / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1598, allocations: 4 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.1601, allocations: 95.86 kB / 0.5637 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.1611, allocations: 0.825 MB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.1618, allocations: 238.4 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.162, allocations: 87.47 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.162, allocations: 4 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.1624, allocations: 206.7 kB / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/0.1624, allocations: 0 / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002733/0.1651, allocations: 1.202 MB / 0.5662 GB, free: 10.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1652, allocations: 140.4 kB / 0.5663 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1664, allocations: 0.9614 MB / 0.5672 GB, free: 9.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.1664, allocations: 37.7 kB / 0.5673 GB, free: 9.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1667, allocations: 273 kB / 0.5675 GB, free: 8.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.1668, allocations: 146.8 kB / 0.5677 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1669, allocations: 78.08 kB / 0.5677 GB, free: 8.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1671, allocations: 326 kB / 0.5681 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.1674, allocations: 116.8 kB / 0.5682 GB, free: 8.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1677, allocations: 183.2 kB / 0.5683 GB, free: 8.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.1683, allocations: 315 kB / 0.5686 GB, free: 7.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1683, allocations: 0 / 0.5686 GB, free: 7.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008398/0.1691, allocations: 452.8 kB / 0.5691 GB, free: 7.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1691, allocations: 8 kB / 0.5691 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1691, allocations: 0 / 0.5691 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1691, allocations: 4 kB / 0.5691 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1694, allocations: 91.83 kB / 0.5692 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1695, allocations: 4 kB / 0.5692 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1696, allocations: 19.92 kB / 0.5692 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1697, allocations: 20 kB / 0.5692 GB, free: 7.199 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003086/0.17, allocations: 258.2 kB / 0.5695 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1701, allocations: 79.48 kB / 0.5695 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.1702, allocations: 89.73 kB / 0.5696 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1702, allocations: 4 kB / 0.5696 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1703, allocations: 4 kB / 0.5696 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.1703, allocations: 7.922 kB / 0.5696 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.1722, allocations: 1.346 MB / 0.5709 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1722, allocations: 4.25 kB / 0.571 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.1724, allocations: 59.91 kB / 0.571 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1724, allocations: 8 kB / 0.571 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.1724, allocations: 16 kB / 0.571 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.1724, allocations: 7.984 kB / 0.571 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1724, allocations: 7.938 kB / 0.571 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1734, allocations: 0.7967 MB / 0.5718 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.1736, allocations: 180.5 kB / 0.572 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.1737, allocations: 19.98 kB / 0.572 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.174, allocations: 15.98 kB / 0.572 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.1741, allocations: 43.84 kB / 0.5721 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1742, allocations: 27.98 kB / 0.5721 GB, free: 4.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000927/0.1751, allocations: 0.7021 MB / 0.5728 GB, free: 3.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1751, allocations: 4 kB / 0.5728 GB, free: 3.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.1757, allocations: 87.94 kB / 0.5729 GB, free: 3.289 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002091/0.1777, allocations: 0.5289 MB / 0.5734 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.1784, allocations: 296.4 kB / 0.5737 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1784, allocations: 4.062 kB / 0.5737 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1788, allocations: 152 kB / 0.5738 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.1798, allocations: 119.3 kB / 0.5739 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1817, allocations: 1.226 MB / 0.5751 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.1823, allocations: 0.924 MB / 0.576 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.1825, allocations: 87.28 kB / 0.5761 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1826, allocations: 59.41 kB / 0.5762 GB, free: 36 kB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1826, allocations: 0 / 0.5762 GB, free: 36 kB / 430.1 MB Notification: Performance of Templates: time 0.01287/0.1955, allocations: 5.56 MB / 0.5816 GB, free: 10.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.942398827522993]