Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.00159, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.501/2.501, allocations: 227.4 MB / 247.1 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.4157/0.4157, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 79.55 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.157, allocations: 62.44 MB / 480.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004861/0.1619, allocations: 1.805 MB / 482 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1646, allocations: 1.017 MB / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1648, allocations: 4 kB / 483 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1653, allocations: 91.8 kB / 483.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.1659, allocations: 123.6 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1663, allocations: 63.88 kB / 483.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1666, allocations: 123.7 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1668, allocations: 8 kB / 483.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1669, allocations: 67.62 kB / 483.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1671, allocations: 63.83 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1672, allocations: 8 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1674, allocations: 67.95 kB / 483.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.1675, allocations: 23.86 kB / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.1676, allocations: 47.62 kB / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1679, allocations: 116 kB / 483.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1679, allocations: 0 / 483.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1679, allocations: 0 / 483.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1679, allocations: 0 / 483.8 MB, free: 1.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007597/0.1687, allocations: 446.8 kB / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1687, allocations: 12.03 kB / 484.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.1688, allocations: 16.75 kB / 484.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1692, allocations: 215.9 kB / 484.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1692, allocations: 8.375 kB / 484.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.1693, allocations: 4.125 kB / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1695, allocations: 65.59 kB / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1695, allocations: 0 / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1695, allocations: 0 / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1696, allocations: 4 kB / 484.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1697, allocations: 27.98 kB / 484.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.1703, allocations: 300.7 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1706, allocations: 66.48 kB / 484.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.1708, allocations: 20.97 kB / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1708, allocations: 4 kB / 484.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.1711, allocations: 67.39 kB / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.1711, allocations: 0 / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001177/0.1723, allocations: 249.6 kB / 485.2 MB, free: 344 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1724, allocations: 55.34 kB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.1727, allocations: 247.2 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.1728, allocations: 33.7 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.1729, allocations: 120.1 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.173, allocations: 35.48 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.1731, allocations: 25.72 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1733, allocations: 326.8 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1734, allocations: 27.98 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1735, allocations: 45.7 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1738, allocations: 81.75 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1738, allocations: 0 / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003887/0.1742, allocations: 133.4 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1742, allocations: 6.344 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1743, allocations: 0 / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1743, allocations: 3.938 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1745, allocations: 31.98 kB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1745, allocations: 7.875 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.1746, allocations: 8.031 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1746, allocations: 4 kB / 486.4 MB, free: 15.1 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 (13): * Single equations (assignments): 13 * 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.0001631/0.1748, allocations: 131.8 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.1748, allocations: 23.75 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.1749, allocations: 21.47 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1749, allocations: 0 / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.175, allocations: 3.938 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.175, allocations: 0 / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/0.1758, allocations: 467.9 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1759, allocations: 0 / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.1759, allocations: 15.98 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.176, allocations: 0 / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.176, allocations: 8 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.176, allocations: 3.984 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.176, allocations: 3.938 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.1765, allocations: 241 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.1766, allocations: 88.92 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.1766, allocations: 0 / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1768, allocations: 8 kB / 487.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1768, allocations: 7.984 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1769, allocations: 4 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.1772, allocations: 200.2 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1772, allocations: 3.938 kB / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000526/0.1777, allocations: 31.98 kB / 487.7 MB, free: 13.75 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 (11): * Single equations (assignments): 9 * 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.002036/0.1798, allocations: 0.4953 MB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.1802, allocations: 87.84 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1802, allocations: 0 / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1804, allocations: 43.98 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.1811, allocations: 43.06 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.1821, allocations: 370.5 kB / 488.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1825, allocations: 0.7197 MB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.1826, allocations: 19.44 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1826, allocations: 0 / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.007082/0.1897, allocations: 2.294 MB / 491.7 MB, free: 9.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches