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.00131/0.00131, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001109/0.00111, allocations: 192 kB / 19.34 MB, free: 3.766 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.477/1.477, allocations: 222.9 MB / 243 MB, free: 15.09 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.2651/0.2651, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.25 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.153, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003831/0.1568, allocations: 2.23 MB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1588, allocations: 1.196 MB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1589, allocations: 7.938 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.1593, allocations: 135.3 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.1597, allocations: 195.2 kB / 474.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.1604, allocations: 313.5 kB / 474.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1609, allocations: 430.8 kB / 475.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.161, allocations: 60.66 kB / 475.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.1613, allocations: 287.1 kB / 475.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1615, allocations: 151.2 kB / 475.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.1616, allocations: 16 kB / 475.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1617, allocations: 75.97 kB / 475.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1619, allocations: 143.4 kB / 475.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.162, allocations: 194.4 kB / 476.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.1625, allocations: 478.1 kB / 476.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1625, allocations: 0 / 476.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1625, allocations: 0 / 476.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1625, allocations: 0 / 476.6 MB, free: 7.785 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.001012/0.1635, allocations: 0.8592 MB / 477.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1635, allocations: 12.03 kB / 477.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.1636, allocations: 64.09 kB / 477.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.1642, allocations: 440.2 kB / 477.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1642, allocations: 8.375 kB / 477.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1642, allocations: 28.02 kB / 478 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1646, allocations: 185 kB / 478.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1646, allocations: 7.922 kB / 478.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.1646, allocations: 4 kB / 478.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1647, allocations: 8 kB / 478.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.1649, allocations: 91.92 kB / 478.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.1657, allocations: 0.8132 MB / 479.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.1663, allocations: 246.5 kB / 479.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1665, allocations: 87.53 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1665, allocations: 8 kB / 479.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.1668, allocations: 210.2 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.1668, allocations: 0 / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002275/0.1691, allocations: 1.152 MB / 480.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1692, allocations: 144.5 kB / 480.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.1701, allocations: 0.9221 MB / 481.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1701, allocations: 37.7 kB / 481.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.1703, allocations: 264.9 kB / 482.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1704, allocations: 142.1 kB / 482.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1705, allocations: 78.05 kB / 482.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1707, allocations: 386.7 kB / 482.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1709, allocations: 112.8 kB / 482.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.1712, allocations: 183.2 kB / 483 MB, free: 1.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.1717, allocations: 323 kB / 483.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1717, allocations: 0 / 483.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006577/0.1724, allocations: 437 kB / 483.8 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1724, allocations: 7.984 kB / 483.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1724, allocations: 4 kB / 483.8 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1724, allocations: 4 kB / 483.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1727, allocations: 83.91 kB / 483.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1727, allocations: 7.984 kB / 483.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1729, allocations: 19.84 kB / 483.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1729, allocations: 16 kB / 483.9 MB, free: 96 kB / 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 ($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.0002463/0.1732, allocations: 255.9 kB / 484.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.1732, allocations: 75.14 kB / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1734, allocations: 85.38 kB / 484.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1734, allocations: 4 kB / 484.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1734, allocations: 0 / 484.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.1734, allocations: 15.92 kB / 484.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.1749, allocations: 1.319 MB / 485.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1749, allocations: 4 kB / 485.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1751, allocations: 63.84 kB / 485.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1751, allocations: 8.25 kB / 485.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1751, allocations: 12 kB / 485.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.1751, allocations: 7.984 kB / 485.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1751, allocations: 4.938 kB / 485.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.176, allocations: 0.781 MB / 486.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.1762, allocations: 184.2 kB / 486.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.1762, allocations: 19.98 kB / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1765, allocations: 12 kB / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.1766, allocations: 43.83 kB / 486.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.1767, allocations: 23.98 kB / 486.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006942/0.1773, allocations: 0.6709 MB / 487.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1774, allocations: 0 / 487.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.1779, allocations: 99.92 kB / 487.6 MB, free: 12.26 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 (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.001222/0.1791, allocations: 0.531 MB / 488.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.1798, allocations: 327.5 kB / 488.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1798, allocations: 256 / 488.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1801, allocations: 167.7 kB / 488.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.181, allocations: 128.9 kB / 488.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1826, allocations: 1.161 MB / 489.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.1832, allocations: 0.9111 MB / 490.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.1834, allocations: 75.25 kB / 490.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1835, allocations: 55.42 kB / 490.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1835, allocations: 0 / 490.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01044/0.194, allocations: 5.381 MB / 496.3 MB, free: 3.715 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches