Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007717/0.0007717, allocations: 101.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008595/0.0008596, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003217, allocations: 8 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 63.57 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002793/0.1652, allocations: 1.415 MB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1675, allocations: 1.507 MB / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1676, allocations: 3.938 kB / 485.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1679, allocations: 39.89 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1682, allocations: 75.7 kB / 485.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1684, allocations: 59.86 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1686, allocations: 95.69 kB / 485.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1687, allocations: 4 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.1688, allocations: 43.78 kB / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.169, allocations: 35.78 kB / 485.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.169, allocations: 7.984 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1692, allocations: 87.95 kB / 485.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.1692, allocations: 19.91 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.1693, allocations: 37.64 kB / 485.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1695, allocations: 120 kB / 486 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1696, allocations: 4 kB / 486 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1696, allocations: 0 / 486 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1696, allocations: 0 / 486 MB, free: 0.9336 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.000606/0.1702, allocations: 407 kB / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1702, allocations: 12.03 kB / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.1703, allocations: 11.91 kB / 486.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1706, allocations: 215.3 kB / 486.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1706, allocations: 4 kB / 486.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1706, allocations: 4 kB / 486.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1708, allocations: 63.39 kB / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1708, allocations: 0 / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1708, allocations: 0 / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1709, allocations: 4 kB / 486.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.1709, allocations: 19.98 kB / 486.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1713, allocations: 292.8 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1715, allocations: 54.62 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1716, allocations: 24.78 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1716, allocations: 4 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1718, allocations: 71.39 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.1718, allocations: 0 / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.1723, allocations: 185.1 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1724, allocations: 77.11 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1726, allocations: 166.4 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1726, allocations: 33.7 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.1727, allocations: 100.1 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1727, allocations: 19.66 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1728, allocations: 4 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1729, allocations: 322.8 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.173, allocations: 19.98 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.173, allocations: 42.56 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.1731, allocations: 28.03 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1731, allocations: 0 / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1733, allocations: 101.5 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1733, allocations: 4 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1733, allocations: 0 / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1734, allocations: 4 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1735, allocations: 15.98 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1735, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.1735, allocations: 8 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1736, allocations: 7.953 kB / 488.2 MB, free: 14.41 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1737, allocations: 121.8 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1737, allocations: 15.81 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.1737, allocations: 16.7 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1738, allocations: 0 / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1738, allocations: 0 / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1738, allocations: 0 / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1742, allocations: 403.3 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1742, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1743, allocations: 11.98 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1743, allocations: 4 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1743, allocations: 0 / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1743, allocations: 3.938 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1743, allocations: 4.141 kB / 488.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1745, allocations: 208.2 kB / 489 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1746, allocations: 96.84 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1746, allocations: 8 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1747, allocations: 0 / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1748, allocations: 12.31 kB / 489.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1748, allocations: 4 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1749, allocations: 126.5 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1749, allocations: 0 / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1752, allocations: 51.98 kB / 489.3 MB, free: 13.24 MB / 366.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 (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.001485/0.1767, allocations: 0.5301 MB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1769, allocations: 59.92 kB / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1769, allocations: 0 / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.177, allocations: 31.98 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1773, allocations: 31.97 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.1778, allocations: 202.2 kB / 490.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1781, allocations: 0.7043 MB / 490.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.1782, allocations: 17.17 kB / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1782, allocations: 23.42 kB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1782, allocations: 0 / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.005273/0.1835, allocations: 2.244 MB / 493.1 MB, free: 9.543 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches