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.001301/0.001301, allocations: 115 kB / 18.46 MB, free: 4.621 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.0014/0.0014, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.64/1.64, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2452/0.2452, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.003017/0.003017, allocations: 67.89 kB / 0.4922 GB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1554, allocations: 66 MB / 0.5566 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.0038/0.1592, allocations: 2.292 MB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1616, allocations: 1.326 MB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1617, allocations: 11.88 kB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.1622, allocations: 139.3 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.1628, allocations: 262.8 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1632, allocations: 179.5 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.1637, allocations: 470.6 kB / 0.5612 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1639, allocations: 57.03 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.1643, allocations: 338.9 kB / 0.5615 GB, free: 172 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1645, allocations: 171.1 kB / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.1645, allocations: 20.06 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.1647, allocations: 79.78 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1649, allocations: 163.4 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1651, allocations: 194.4 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.1656, allocations: 489.4 kB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1656, allocations: 0 / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1656, allocations: 3.938 kB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.1657, allocations: 0 / 0.5626 GB, free: 15.07 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.001229/0.1669, allocations: 0.9094 MB / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1669, allocations: 13.11 kB / 0.5635 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.167, allocations: 80.41 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.1677, allocations: 444.8 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1677, allocations: 16.36 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.1677, allocations: 20.08 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.1681, allocations: 193 kB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1682, allocations: 11.94 kB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1682, allocations: 4 kB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1682, allocations: 4 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.1684, allocations: 83.94 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.1694, allocations: 0.8288 MB / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.1701, allocations: 234.5 kB / 0.5654 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1703, allocations: 79.52 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1703, allocations: 4.234 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.1707, allocations: 214.6 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.1707, allocations: 0 / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002669/0.1734, allocations: 1.202 MB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1735, allocations: 136.5 kB / 0.567 GB, free: 10.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1746, allocations: 0.9575 MB / 0.5679 GB, free: 9.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.1746, allocations: 37.7 kB / 0.5679 GB, free: 9.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.1749, allocations: 273 kB / 0.5682 GB, free: 9.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.175, allocations: 142.8 kB / 0.5683 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1751, allocations: 82.08 kB / 0.5684 GB, free: 8.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1753, allocations: 325.9 kB / 0.5687 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1755, allocations: 116.8 kB / 0.5688 GB, free: 8.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1758, allocations: 179.2 kB / 0.569 GB, free: 8.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.1764, allocations: 323 kB / 0.5693 GB, free: 7.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1764, allocations: 0 / 0.5693 GB, free: 7.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007982/0.1772, allocations: 452.8 kB / 0.5697 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1772, allocations: 5.719 kB / 0.5697 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1772, allocations: 4 kB / 0.5697 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1772, allocations: 4 kB / 0.5697 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.1775, allocations: 87.89 kB / 0.5698 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1775, allocations: 8.172 kB / 0.5698 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1777, allocations: 20.05 kB / 0.5699 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1777, allocations: 20 kB / 0.5699 GB, free: 7.254 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.0003198/0.178, allocations: 262.1 kB / 0.5701 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1781, allocations: 75.48 kB / 0.5702 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.1783, allocations: 97.72 kB / 0.5703 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1783, allocations: 4 kB / 0.5703 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1783, allocations: 0 / 0.5703 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1783, allocations: 11.92 kB / 0.5703 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1802, allocations: 1.342 MB / 0.5716 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.1802, allocations: 4 kB / 0.5716 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1803, allocations: 59.86 kB / 0.5717 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1803, allocations: 4 kB / 0.5717 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.1804, allocations: 19.98 kB / 0.5717 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1804, allocations: 4 kB / 0.5717 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1804, allocations: 4 kB / 0.5717 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1814, allocations: 0.8049 MB / 0.5725 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.1816, allocations: 188.5 kB / 0.5727 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.1817, allocations: 12 kB / 0.5727 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1819, allocations: 23.92 kB / 0.5727 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.182, allocations: 39.83 kB / 0.5727 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1821, allocations: 27.98 kB / 0.5728 GB, free: 4.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008044/0.1829, allocations: 0.7021 MB / 0.5735 GB, free: 3.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1829, allocations: 0 / 0.5735 GB, free: 3.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005652/0.1835, allocations: 91.92 kB / 0.5735 GB, free: 3.336 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.002101/0.1856, allocations: 0.5249 MB / 0.5741 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.1863, allocations: 295.6 kB / 0.5743 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1863, allocations: 0 / 0.5743 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.1866, allocations: 147.7 kB / 0.5745 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.1876, allocations: 134.9 kB / 0.5746 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1896, allocations: 1.267 MB / 0.5758 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.1902, allocations: 0.9203 MB / 0.5767 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1903, allocations: 55.41 kB / 0.5768 GB, free: 128 kB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1903, allocations: 11.94 kB / 0.5768 GB, free: 116 kB / 430.1 MB Notification: Performance of Templates: time 0.01139/0.2017, allocations: 6.839 MB / 0.5835 GB, free: 9.297 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/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: 8.960526665992802]