Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 76.22 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1685, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003983/0.1726, allocations: 1.801 MB / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1742, allocations: 1.021 MB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.1743, allocations: 0 / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.1748, allocations: 103.7 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1751, allocations: 111.7 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1753, allocations: 59.89 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1755, allocations: 143.6 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1757, allocations: 8 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1758, allocations: 63.75 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1759, allocations: 71.75 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1759, allocations: 4 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.176, allocations: 59.98 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.1761, allocations: 43.77 kB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1762, allocations: 47.67 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1764, allocations: 155.8 kB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1764, allocations: 3.938 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1764, allocations: 0 / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1764, allocations: 0 / 483.2 MB, free: 1.914 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005787/0.177, allocations: 450.7 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1771, allocations: 12.02 kB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.1771, allocations: 16.84 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1774, allocations: 224.8 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1774, allocations: 4.375 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1774, allocations: 8.125 kB / 483.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1776, allocations: 73.64 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1776, allocations: 0 / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1777, allocations: 0 / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1777, allocations: 0 / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1778, allocations: 43.91 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1782, allocations: 308.8 kB / 484.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1785, allocations: 78.48 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.1785, allocations: 24.84 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1786, allocations: 4.031 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1788, allocations: 83.38 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.1788, allocations: 3.938 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008213/0.1796, allocations: 269 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1797, allocations: 63.33 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.18, allocations: 251.8 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.18, allocations: 37.7 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1801, allocations: 112.1 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1801, allocations: 39.45 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1802, allocations: 21.72 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1803, allocations: 334.8 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.1804, allocations: 31.98 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.1805, allocations: 49.64 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1806, allocations: 97.69 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1806, allocations: 0 / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002467/0.1809, allocations: 145.4 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1809, allocations: 6.5 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1809, allocations: 0 / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.181, allocations: 0 / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.181, allocations: 23.98 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1811, allocations: 3.938 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1811, allocations: 12.03 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1811, allocations: 4 kB / 486 MB, free: 14.9 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 ($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 (14): * Single equations (assignments): 14 * 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.0001333/0.1813, allocations: 144.2 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1813, allocations: 15.81 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.1814, allocations: 25.39 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1814, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1814, allocations: 7.938 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1814, allocations: 3.938 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.182, allocations: 483.9 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.182, allocations: 0 / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.182, allocations: 23.98 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.182, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1821, allocations: 4 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1821, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1821, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1824, allocations: 253.1 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.1825, allocations: 92.86 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1825, allocations: 4 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1826, allocations: 7.984 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1827, allocations: 7.984 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1827, allocations: 12 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1829, allocations: 193.5 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1829, allocations: 3.938 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1831, allocations: 35.98 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001255/0.1844, allocations: 499.6 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1847, allocations: 99.84 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1847, allocations: 8 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.1848, allocations: 47.91 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1852, allocations: 38.84 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.1858, allocations: 356.7 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1862, allocations: 0.724 MB / 489 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.653e-05/0.1863, allocations: 29.05 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.1864, allocations: 23.42 kB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1864, allocations: 0 / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005278/0.1916, allocations: 2.06 MB / 491.1 MB, free: 9.773 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches