Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") 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: 107 kB / 17.2 MB, free: 6.27 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.00137/0.001371, allocations: 194 kB / 18.12 MB, free: 5.363 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.455/1.455, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2179/0.2179, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.61 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 60.81 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00432/0.1424, allocations: 2.27 MB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1446, allocations: 1.181 MB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1448, allocations: 7.938 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.1453, allocations: 115.6 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.1457, allocations: 151.4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.1465, allocations: 301.6 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.147, allocations: 402.8 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1472, allocations: 52.66 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.1475, allocations: 247.1 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1477, allocations: 147.2 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1477, allocations: 8 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1479, allocations: 63.92 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.148, allocations: 127.6 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1482, allocations: 178.5 kB / 473.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.1486, allocations: 402.6 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1486, allocations: 0 / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1486, allocations: 0 / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1486, allocations: 0 / 474.1 MB, free: 9.215 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.001065/0.1497, allocations: 0.8012 MB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1497, allocations: 8.031 kB / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.1498, allocations: 56.28 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.1503, allocations: 411.6 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1503, allocations: 8.375 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.1503, allocations: 20.12 kB / 475.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1508, allocations: 197.4 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1508, allocations: 3.906 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1508, allocations: 8 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1508, allocations: 4 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1511, allocations: 95.86 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.152, allocations: 0.7898 MB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.1526, allocations: 250.5 kB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1528, allocations: 91.47 kB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1529, allocations: 4 kB / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.1533, allocations: 208.4 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.1533, allocations: 0 / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002487/0.1558, allocations: 1.087 MB / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.1559, allocations: 136.5 kB / 478.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.1568, allocations: 0.7489 MB / 479 MB, free: 4.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1568, allocations: 41.69 kB / 479.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.157, allocations: 236.9 kB / 479.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1572, allocations: 146 kB / 479.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1573, allocations: 78.14 kB / 479.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1575, allocations: 374.8 kB / 479.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1577, allocations: 112.8 kB / 480 MB, free: 3.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.158, allocations: 179.2 kB / 480.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.1586, allocations: 315.1 kB / 480.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1586, allocations: 4 kB / 480.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007306/0.1593, allocations: 440.5 kB / 480.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1593, allocations: 13.97 kB / 480.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1593, allocations: 0 / 480.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1594, allocations: 4 kB / 480.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.1596, allocations: 87.89 kB / 481 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1597, allocations: 7.938 kB / 481 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1598, allocations: 28.05 kB / 481.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1599, allocations: 20 kB / 481.1 MB, free: 1.902 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 ($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.00025/0.1601, allocations: 227.9 kB / 481.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.1602, allocations: 59.25 kB / 481.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.1603, allocations: 77.44 kB / 481.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1604, allocations: 4 kB / 481.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1604, allocations: 3.984 kB / 481.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1604, allocations: 7.938 kB / 481.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.162, allocations: 1.303 MB / 482.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.162, allocations: 7.984 kB / 482.8 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1622, allocations: 51.92 kB / 482.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1622, allocations: 4 kB / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1622, allocations: 23.98 kB / 482.8 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1622, allocations: 4 kB / 482.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1622, allocations: 4 kB / 482.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.1632, allocations: 0.7817 MB / 483.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1634, allocations: 168.2 kB / 483.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.1635, allocations: 19.98 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.1638, allocations: 15.98 kB / 483.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.1639, allocations: 43.89 kB / 483.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.1639, allocations: 16 kB / 483.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.1645, allocations: 0.5535 MB / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1645, allocations: 0 / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.1651, allocations: 83.98 kB / 484.5 MB, free: 14.31 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.001283/0.1664, allocations: 0.5383 MB / 485.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.167, allocations: 315.6 kB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.167, allocations: 0 / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1673, allocations: 164.4 kB / 485.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.1683, allocations: 113.8 kB / 485.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1698, allocations: 1.185 MB / 486.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1703, allocations: 0.8785 MB / 487.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.1705, allocations: 76 kB / 487.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1706, allocations: 51.42 kB / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1706, allocations: 0 / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.009816/0.1804, allocations: 5.069 MB / 492.9 MB, free: 6.109 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches