Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 105.9 kB / 17.21 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.001428/0.001428, 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.424/1.424, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2388/0.2388, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.28 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00518/0.1574, allocations: 1.756 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1593, allocations: 0.8537 MB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1594, allocations: 0 / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.1599, allocations: 59.73 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1602, allocations: 55.81 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1606, allocations: 95.06 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.161, allocations: 91.77 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1611, allocations: 16.22 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1613, allocations: 43.73 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1614, allocations: 35.83 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1615, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1617, allocations: 39.94 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1618, allocations: 31.89 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.1619, allocations: 43.62 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1622, allocations: 123.8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1622, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1622, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1622, allocations: 4 kB / 471.8 MB, free: 11.56 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007896/0.163, allocations: 430.8 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1631, allocations: 12.03 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.1632, allocations: 12.75 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1635, allocations: 220 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1635, allocations: 384 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1635, allocations: 8.125 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1637, allocations: 61.61 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1637, allocations: 4 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1638, allocations: 3.984 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1638, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1639, allocations: 16 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.1643, allocations: 296.9 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1645, allocations: 62.61 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1646, allocations: 24.8 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1646, allocations: 0 / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.1649, allocations: 75.31 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1649, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006449/0.1656, allocations: 189 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1656, allocations: 51.41 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1659, allocations: 270.9 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.1659, allocations: 25.7 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.166, allocations: 112.1 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1661, allocations: 27.69 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.1661, allocations: 21.72 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1663, allocations: 334.8 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1663, allocations: 20 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.1664, allocations: 41.64 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1665, allocations: 57.7 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1666, allocations: 0 / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.1668, allocations: 101.4 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1668, allocations: 10.5 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1668, allocations: 7.969 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1668, allocations: 0 / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.1669, allocations: 16.03 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.167, allocations: 4 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.167, allocations: 3.938 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.167, allocations: 4 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001421/0.1672, allocations: 145.7 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1672, allocations: 11.81 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1673, allocations: 21.41 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1673, allocations: 4.375 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1673, allocations: 0 / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1673, allocations: 7.938 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1678, allocations: 403.3 kB / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1678, allocations: 0 / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1679, allocations: 8 kB / 474.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1679, allocations: 3.984 kB / 474.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1679, allocations: 7.938 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1679, allocations: 0 / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1679, allocations: 3.938 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1682, allocations: 212.2 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.1682, allocations: 89.11 kB / 475.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.1683, allocations: 11.94 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.1684, allocations: 7.922 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1684, allocations: 4 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1684, allocations: 4 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.1686, allocations: 208.2 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1687, allocations: 0 / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1689, allocations: 20 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001144/0.1701, allocations: 457.5 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1703, allocations: 63.89 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1703, allocations: 4 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1704, allocations: 27.92 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1708, allocations: 23.98 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.1714, allocations: 309.6 kB / 476.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1717, allocations: 0.72 MB / 477 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.1718, allocations: 12.88 kB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1718, allocations: 15.44 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1718, allocations: 0 / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Templates: time 0.00463/0.1765, allocations: 1.686 MB / 478.7 MB, free: 4.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches