Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001335, allocations: 95.91 kB / 17 MB, free: 6.398 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.001463/0.001463, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.559/1.559, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2515/0.2515, allocations: 44.26 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002829/0.1525, allocations: 1.55 MB / 473.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1543, allocations: 0.9089 MB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1545, allocations: 4 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.1549, allocations: 151.6 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1552, allocations: 111.7 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1556, allocations: 154.7 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1559, allocations: 199.3 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.156, allocations: 29.66 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1561, allocations: 91.61 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1563, allocations: 111.5 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1563, allocations: 4 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1565, allocations: 55.98 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.1565, allocations: 43.83 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1566, allocations: 53.58 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1569, allocations: 152 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1569, allocations: 0 / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1569, allocations: 4 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1569, allocations: 0 / 475.2 MB, free: 10.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007612/0.1577, allocations: 0.4904 MB / 475.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1577, allocations: 16.03 kB / 475.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1578, allocations: 19.72 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1581, allocations: 262.4 kB / 476 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1582, allocations: 8 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1582, allocations: 8 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1585, allocations: 115.2 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1585, allocations: 0 / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1585, allocations: 7.984 kB / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1585, allocations: 8 kB / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1587, allocations: 39.97 kB / 476.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1593, allocations: 468.7 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.1597, allocations: 121.2 kB / 476.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.1598, allocations: 45.77 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1598, allocations: 7.984 kB / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.1601, allocations: 121 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1601, allocations: 0 / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001277/0.1614, allocations: 481.1 kB / 477.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.1615, allocations: 89.05 kB / 477.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.1618, allocations: 347 kB / 477.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1619, allocations: 33.7 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.162, allocations: 148.5 kB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.1621, allocations: 71.08 kB / 478.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1621, allocations: 11.94 kB / 478.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1622, allocations: 338.8 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1624, allocations: 55.97 kB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1625, allocations: 91.34 kB / 478.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1626, allocations: 68.14 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1627, allocations: 3.938 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003578/0.163, allocations: 225.2 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.163, allocations: 8 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1631, allocations: 0 / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1631, allocations: 0 / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1632, allocations: 51.84 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.1632, allocations: 12.02 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.1633, allocations: 8 kB / 478.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1633, allocations: 8 kB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001695/0.1635, allocations: 166.2 kB / 479.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1636, allocations: 27.62 kB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.1636, allocations: 33.73 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1636, allocations: 4 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1637, allocations: 4 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1637, allocations: 7.953 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.1645, allocations: 0.7077 MB / 479.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.1646, allocations: 12.08 kB / 479.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1647, allocations: 35.86 kB / 479.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1647, allocations: 0 / 479.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1647, allocations: 8 kB / 479.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.1647, allocations: 7.984 kB / 479.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1647, allocations: 0 / 479.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1652, allocations: 412.8 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.1653, allocations: 112.7 kB / 480.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1653, allocations: 8 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1655, allocations: 7.984 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.1655, allocations: 23.92 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.1656, allocations: 15.98 kB / 480.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.1659, allocations: 261.9 kB / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1659, allocations: 0 / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.1662, allocations: 48 kB / 480.8 MB, free: 4.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001307/0.1675, allocations: 0.5092 MB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1679, allocations: 159.8 kB / 481.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1679, allocations: 7.938 kB / 481.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1681, allocations: 79.84 kB / 481.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.1687, allocations: 58.48 kB / 481.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1697, allocations: 0.5157 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.1702, allocations: 0.7638 MB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.1703, allocations: 29.94 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.1704, allocations: 35.42 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1704, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Templates: time 0.006604/0.177, allocations: 2.829 MB / 485.8 MB, free: 15.26 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches