Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 99.89 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003249, allocations: 12 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 63.57 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002802/0.1646, allocations: 1.38 MB / 483.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1663, allocations: 0.9246 MB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.1664, allocations: 0 / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1668, allocations: 47.86 kB / 484.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.1671, allocations: 91.66 kB / 484.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1674, allocations: 47.89 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1676, allocations: 91.69 kB / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1677, allocations: 4.234 kB / 485 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1678, allocations: 39.78 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.1679, allocations: 35.84 kB / 485.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.168, allocations: 4 kB / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1681, allocations: 31.94 kB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1682, allocations: 31.89 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.1683, allocations: 41.58 kB / 485.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1685, allocations: 88.09 kB / 485.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1685, allocations: 0 / 485.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1685, allocations: 0 / 485.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1685, allocations: 0 / 485.3 MB, free: 1.656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000755/0.1693, allocations: 414.8 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1694, allocations: 12.03 kB / 485.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.1694, allocations: 19.8 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1697, allocations: 211.8 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1698, allocations: 0 / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1698, allocations: 4 kB / 485.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1699, allocations: 49.62 kB / 486 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.17, allocations: 7.922 kB / 486 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.17, allocations: 0 / 486 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.17, allocations: 0 / 486 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.1701, allocations: 12 kB / 486 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.1703, allocations: 205.5 kB / 486.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1705, allocations: 50.61 kB / 486.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1706, allocations: 16.86 kB / 486.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1706, allocations: 0 / 486.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1708, allocations: 79.31 kB / 486.3 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1708, allocations: 3.938 kB / 486.3 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003065/0.1711, allocations: 97.56 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1712, allocations: 51.41 kB / 486.5 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.1716, allocations: 270.9 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1716, allocations: 25.7 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.1717, allocations: 112.1 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1717, allocations: 15.89 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.1718, allocations: 4 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1719, allocations: 330.8 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.1719, allocations: 12 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.172, allocations: 25.7 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.1721, allocations: 12 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1721, allocations: 7.953 kB / 487.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/0.1723, allocations: 93.42 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1723, allocations: 8 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1723, allocations: 3.984 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1723, allocations: 0 / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.1724, allocations: 8 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1724, allocations: 4 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1725, allocations: 7.922 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1725, allocations: 4 kB / 487.4 MB, free: 15.29 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 (7): * Single equations (assignments): 7 * 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.0001163/0.1726, allocations: 133.8 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1726, allocations: 19.8 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.1727, allocations: 17 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1727, allocations: 0 / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1727, allocations: 0 / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1727, allocations: 3.984 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1729, allocations: 201.6 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1729, allocations: 0 / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.1729, allocations: 11.89 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1729, allocations: 0 / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1729, allocations: 0 / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.173, allocations: 0 / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.173, allocations: 4 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1732, allocations: 113.2 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1732, allocations: 96.91 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1733, allocations: 3.953 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.1733, allocations: 4 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1733, allocations: 0 / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1734, allocations: 7.984 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1736, allocations: 208.4 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1738, allocations: 23.92 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009392/0.1747, allocations: 407.2 kB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1749, allocations: 39.98 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1749, allocations: 3.938 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.175, allocations: 16 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1753, allocations: 39.02 kB / 488.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.1759, allocations: 277.7 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1761, allocations: 0.7169 MB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1762, allocations: 12.55 kB / 489.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1762, allocations: 11.44 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1763, allocations: 0 / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004658/0.1809, allocations: 1.423 MB / 491.2 MB, free: 11.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches