Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001236/0.001236, 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.34 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.2559/0.2559, allocations: 44.17 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002628, allocations: 68.08 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1562, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003762/0.1601, allocations: 1.753 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1619, allocations: 0.8731 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.162, allocations: 3.938 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.1624, allocations: 43.88 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1627, allocations: 51.81 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1629, allocations: 91.78 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1631, allocations: 103.7 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1632, allocations: 4.234 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.1633, allocations: 47.78 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.1634, allocations: 31.84 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1635, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1636, allocations: 39.98 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1636, allocations: 27.8 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.1637, allocations: 35.73 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1639, allocations: 119.9 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1639, allocations: 0 / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1639, allocations: 0 / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.164, allocations: 4 kB / 471.7 MB, free: 11.58 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.0005814/0.1645, allocations: 426.9 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1646, allocations: 8.031 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1646, allocations: 12.75 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.165, allocations: 208.6 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.165, allocations: 4.375 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.165, allocations: 16.06 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1652, allocations: 49.67 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1652, allocations: 3.938 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1652, allocations: 8 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1652, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.1653, allocations: 15.98 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1657, allocations: 296.7 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1659, allocations: 66.61 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.1659, allocations: 20.84 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1659, allocations: 4 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1662, allocations: 63.39 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1662, allocations: 0 / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005721/0.1668, allocations: 181.2 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1669, allocations: 51.41 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1671, allocations: 218.7 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1671, allocations: 29.7 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1672, allocations: 112 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1672, allocations: 27.64 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1673, allocations: 17.72 kB / 473.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1674, allocations: 338.8 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1675, allocations: 19.92 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.1676, allocations: 37.7 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1677, allocations: 61.77 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1677, allocations: 3.938 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.1679, allocations: 101.9 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1679, allocations: 8.031 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1679, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1679, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.168, allocations: 27.98 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1681, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1681, allocations: 7.938 kB / 474.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1681, allocations: 0 / 474.1 MB, free: 8.941 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.0001225/0.1682, allocations: 137.8 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1683, allocations: 15.81 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1683, allocations: 21.39 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1683, allocations: 4 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1684, allocations: 0 / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1684, allocations: 3.938 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1688, allocations: 391.5 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1688, allocations: 0 / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.1688, allocations: 15.92 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1689, allocations: 0 / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1689, allocations: 15.97 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1689, allocations: 0 / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1689, allocations: 0 / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1691, allocations: 200.1 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.1692, allocations: 85.02 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1692, allocations: 15.92 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1693, allocations: 4 kB / 475 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1693, allocations: 4 kB / 475 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1694, allocations: 7.984 kB / 475 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1695, allocations: 172.3 kB / 475.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 475.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1698, allocations: 20 kB / 475.2 MB, free: 7.746 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.001079/0.1708, allocations: 476.4 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1711, allocations: 55.91 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1711, allocations: 0 / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1712, allocations: 35.92 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1715, allocations: 21.94 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.1721, allocations: 296.7 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1725, allocations: 0.716 MB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.1726, allocations: 16.88 kB / 476.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.1726, allocations: 15.44 kB / 476.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1726, allocations: 3.938 kB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of Templates: time 0.005311/0.1779, allocations: 1.654 MB / 478.5 MB, free: 4.609 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches