Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008373/0.0008373, allocations: 96.69 kB / 17 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009858/0.0009859, allocations: 190.6 kB / 17.91 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 46.2 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004377, allocations: 8 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002472/0.1717, allocations: 1.423 MB / 483.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1736, allocations: 0.9285 MB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1738, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1741, allocations: 39.83 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1745, allocations: 67.75 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1748, allocations: 63.81 kB / 484.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.175, allocations: 91.69 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1751, allocations: 4 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1752, allocations: 47.77 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.1753, allocations: 27.86 kB / 485.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1753, allocations: 4 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1755, allocations: 35.98 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1755, allocations: 23.91 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1756, allocations: 37.64 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1758, allocations: 88.09 kB / 485.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1758, allocations: 0 / 485.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1758, allocations: 3.938 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1758, allocations: 0 / 485.3 MB, free: 1.621 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.0005714/0.1764, allocations: 413 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1764, allocations: 12.03 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1765, allocations: 11.91 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1768, allocations: 211.5 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1768, allocations: 0 / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1768, allocations: 4 kB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.177, allocations: 53.67 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.177, allocations: 0 / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.177, allocations: 0 / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1771, allocations: 4 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.1771, allocations: 19.98 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.1776, allocations: 288.8 kB / 486.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1779, allocations: 58.67 kB / 486.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.178, allocations: 20.84 kB / 486.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1781, allocations: 7.984 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1783, allocations: 71.33 kB / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1783, allocations: 0 / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006227/0.1789, allocations: 165.3 kB / 486.6 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.179, allocations: 59.34 kB / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1792, allocations: 194.8 kB / 486.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1793, allocations: 33.7 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.1793, allocations: 108.1 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1794, allocations: 19.72 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.1794, allocations: 3.938 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1795, allocations: 322.8 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1796, allocations: 23.98 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1797, allocations: 33.7 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1798, allocations: 24 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1798, allocations: 0 / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.18, allocations: 117.5 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.18, allocations: 4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.18, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1801, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1802, allocations: 16 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1802, allocations: 192 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.1802, allocations: 7.984 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1803, allocations: 11.92 kB / 487.6 MB, free: 15.12 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.0001307/0.1804, allocations: 133.8 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1804, allocations: 7.906 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1805, allocations: 17.39 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1805, allocations: 4 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1805, allocations: 384 / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1805, allocations: 0 / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.181, allocations: 395.3 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.181, allocations: 8 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.181, allocations: 4 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.181, allocations: 4 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.181, allocations: 4 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1811, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.1811, allocations: 7.953 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1813, allocations: 208.2 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.1814, allocations: 93 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1814, allocations: 0 / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1815, allocations: 4 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1815, allocations: 7.938 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1815, allocations: 8 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1817, allocations: 152.7 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000286/0.182, allocations: 16 kB / 488.6 MB, free: 13.96 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.001111/0.1831, allocations: 469.9 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1833, allocations: 51.92 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1833, allocations: 4.062 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.1834, allocations: 35.92 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1837, allocations: 33.27 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1843, allocations: 254.2 kB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1846, allocations: 0.7004 MB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.1847, allocations: 16.88 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1847, allocations: 15.44 kB / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1847, allocations: 4 kB / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004817/0.1895, allocations: 1.616 MB / 491.8 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches