Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.0008396, allocations: 96.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009083/0.0009083, allocations: 200.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.291/0.291, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1695, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003068/0.1726, allocations: 1.446 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1758, allocations: 1.585 MB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.1759, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1763, allocations: 27.84 kB / 486.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1767, allocations: 83.73 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.177, allocations: 63.88 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1772, allocations: 103.6 kB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1774, allocations: 8 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.1775, allocations: 43.78 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1777, allocations: 43.77 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1777, allocations: 4 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.178, allocations: 103.9 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.1781, allocations: 15.94 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.1782, allocations: 57.5 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1785, allocations: 163.8 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1785, allocations: 4 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1785, allocations: 0 / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1785, allocations: 0 / 486.8 MB, free: 412 kB / 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.0007005/0.1792, allocations: 415.2 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1793, allocations: 8.875 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1793, allocations: 8.844 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1796, allocations: 216.6 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1796, allocations: 3.938 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1797, allocations: 7.938 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1799, allocations: 71.33 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1799, allocations: 4 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1799, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1799, allocations: 3.984 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.18, allocations: 20 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1805, allocations: 284.9 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1807, allocations: 66.61 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.1808, allocations: 16.86 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1808, allocations: 0 / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.181, allocations: 67.39 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.181, allocations: 0 / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000697/0.1818, allocations: 173.1 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.1819, allocations: 85.05 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1821, allocations: 162.5 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1821, allocations: 29.7 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1823, allocations: 96.12 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1823, allocations: 31.62 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1824, allocations: 13.72 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1825, allocations: 322.8 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.1826, allocations: 23.94 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.1826, allocations: 42.56 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1828, allocations: 65.77 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1828, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.183, allocations: 101.5 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.183, allocations: 4 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.183, allocations: 4 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.183, allocations: 64 / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.1831, allocations: 16 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1831, allocations: 3.938 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.1832, allocations: 11.98 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1832, allocations: 7.984 kB / 489.2 MB, free: 13.81 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 (10): * Single equations (assignments): 10 * 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.0001149/0.1833, allocations: 117.8 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1834, allocations: 15.81 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.1834, allocations: 16.7 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1834, allocations: 0 / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1835, allocations: 8.125 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1835, allocations: 384 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.1839, allocations: 395.2 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.184, allocations: 8 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.184, allocations: 15.94 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.184, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.184, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.184, allocations: 3.984 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.184, allocations: 8.031 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1844, allocations: 204.2 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.1845, allocations: 88.94 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1845, allocations: 8 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.1846, allocations: 4 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1846, allocations: 7.984 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1846, allocations: 4 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1848, allocations: 130.5 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1848, allocations: 0 / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1851, allocations: 47.98 kB / 490.2 MB, free: 12.64 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 (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.001315/0.1864, allocations: 0.5366 MB / 490.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1866, allocations: 59.92 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1866, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1867, allocations: 27.92 kB / 490.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1871, allocations: 31.92 kB / 490.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.1876, allocations: 230.1 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1879, allocations: 0.6965 MB / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.188, allocations: 21.19 kB / 491.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.188, allocations: 19.42 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.188, allocations: 0 / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.005881/0.1939, allocations: 2.276 MB / 494.1 MB, free: 8.891 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches