Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 96 kB / 16.99 MB, free: 5.938 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.001253/0.001253, allocations: 177.9 kB / 17.87 MB, free: 5.609 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.561/1.561, allocations: 223.2 MB / 241.8 MB, free: 14.61 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.2405/0.2405, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 61.93 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002729/0.1531, allocations: 1.831 MB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.155, allocations: 1.088 MB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1551, allocations: 7.938 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1555, allocations: 119.5 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.1559, allocations: 167.6 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.1565, allocations: 277.4 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1569, allocations: 267.5 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.157, allocations: 48.91 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.1573, allocations: 199.3 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1575, allocations: 135.3 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1576, allocations: 8 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1577, allocations: 51.91 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1578, allocations: 131.5 kB / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.1579, allocations: 101.4 kB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1583, allocations: 327.5 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1583, allocations: 0 / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1583, allocations: 0 / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1583, allocations: 4 kB / 476.2 MB, free: 8.965 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00112/0.1594, allocations: 0.7894 MB / 477 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1595, allocations: 12.03 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.956e-05/0.1596, allocations: 63.16 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.1601, allocations: 399.6 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1601, allocations: 11.98 kB / 477.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1602, allocations: 23.94 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.1605, allocations: 193.5 kB / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1606, allocations: 7.984 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.1606, allocations: 4 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1606, allocations: 7.938 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.1608, allocations: 87.88 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.1618, allocations: 0.8132 MB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1624, allocations: 250.4 kB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1625, allocations: 4.234 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.1629, allocations: 208.5 kB / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.1629, allocations: 0 / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002406/0.1653, allocations: 1.149 MB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.1654, allocations: 136.5 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.1664, allocations: 0.9183 MB / 481.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1665, allocations: 37.69 kB / 481.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1667, allocations: 257 kB / 481.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1668, allocations: 138.1 kB / 481.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.1668, allocations: 16 kB / 481.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.167, allocations: 382.8 kB / 482 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1673, allocations: 108.8 kB / 482.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.1675, allocations: 179.1 kB / 482.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1678, allocations: 143.9 kB / 482.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1678, allocations: 0 / 482.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006804/0.1685, allocations: 440.6 kB / 482.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1685, allocations: 12.11 kB / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1685, allocations: 0 / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1685, allocations: 8 kB / 482.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1688, allocations: 79.91 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1688, allocations: 7.984 kB / 483 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.169, allocations: 19.94 kB / 483 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.169, allocations: 16 kB / 483 MB, free: 1.777 MB / 350.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 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.1693, allocations: 263.8 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.1694, allocations: 75.14 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1696, allocations: 85.38 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1696, allocations: 4 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1696, allocations: 11.92 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1696, allocations: 0 / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1713, allocations: 1.323 MB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1713, allocations: 8 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1715, allocations: 63.91 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1715, allocations: 7.953 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.1715, allocations: 15.94 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1716, allocations: 7.984 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1716, allocations: 4 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.1725, allocations: 0.9089 MB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1727, allocations: 184.2 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.1728, allocations: 19.98 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1731, allocations: 23.94 kB / 486 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.1731, allocations: 43.89 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.1732, allocations: 20 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007045/0.1739, allocations: 0.6747 MB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1739, allocations: 0 / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1744, allocations: 95.89 kB / 486.9 MB, free: 13.73 MB / 366.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 (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.001196/0.1756, allocations: 0.5398 MB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.1762, allocations: 303.7 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1762, allocations: 0 / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.1765, allocations: 164.2 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.1771, allocations: 112.6 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1788, allocations: 1.276 MB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.1794, allocations: 0.9214 MB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1796, allocations: 79.23 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1797, allocations: 51.42 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1797, allocations: 0 / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.00924/0.1889, allocations: 4.881 MB / 495.2 MB, free: 5.594 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches