Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 206.4 kB / 18.58 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 81.12 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1488, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004722/0.1535, allocations: 2.279 MB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1563, allocations: 1.322 MB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1564, allocations: 3.938 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1569, allocations: 123.4 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.1575, allocations: 246.8 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1579, allocations: 179.5 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.1585, allocations: 458.7 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1586, allocations: 65.06 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.159, allocations: 263.2 kB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1592, allocations: 163.1 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.1593, allocations: 16 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1595, allocations: 71.97 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1597, allocations: 135.6 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1598, allocations: 182.6 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.1604, allocations: 434.3 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1604, allocations: 0 / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1604, allocations: 0 / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1604, allocations: 0 / 486 MB, free: 15.28 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001183/0.1616, allocations: 0.8206 MB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1616, allocations: 9.109 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1617, allocations: 64.09 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.1622, allocations: 412.5 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1623, allocations: 12.38 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.1623, allocations: 28.02 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.1627, allocations: 193 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1627, allocations: 4 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1627, allocations: 7.984 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1628, allocations: 4 kB / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.163, allocations: 87.88 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.164, allocations: 0.8014 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.1646, allocations: 250.5 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.1649, allocations: 87.53 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1649, allocations: 12.2 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.1654, allocations: 196.3 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1654, allocations: 7.938 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002541/0.1679, allocations: 1.122 MB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.168, allocations: 132.5 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.1689, allocations: 0.8009 MB / 491 MB, free: 9.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1689, allocations: 37.7 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1691, allocations: 240.9 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1693, allocations: 142.1 kB / 491.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1694, allocations: 74.05 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1696, allocations: 378.8 kB / 491.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1699, allocations: 112.8 kB / 492 MB, free: 8.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1702, allocations: 187.1 kB / 492.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.1707, allocations: 318.8 kB / 492.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1707, allocations: 0 / 492.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000744/0.1715, allocations: 436.5 kB / 492.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1715, allocations: 10.5 kB / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1715, allocations: 128 / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1716, allocations: 8 kB / 492.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.1718, allocations: 83.89 kB / 493 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1719, allocations: 4 kB / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.172, allocations: 23.92 kB / 493 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1721, allocations: 20 kB / 493.1 MB, free: 7.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000251/0.1723, allocations: 227.9 kB / 493.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.1724, allocations: 67.16 kB / 493.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.1726, allocations: 88.91 kB / 493.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1726, allocations: 4 kB / 493.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1726, allocations: 0 / 493.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.1726, allocations: 11.92 kB / 493.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.1744, allocations: 1.314 MB / 494.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1744, allocations: 4 kB / 494.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1746, allocations: 56.16 kB / 494.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1746, allocations: 12 kB / 494.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.1746, allocations: 16 kB / 494.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.1747, allocations: 11.92 kB / 494.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1747, allocations: 4 kB / 494.9 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.1756, allocations: 0.7734 MB / 495.6 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.1758, allocations: 172.3 kB / 495.8 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.1759, allocations: 16 kB / 495.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.1761, allocations: 15.98 kB / 495.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.1762, allocations: 47.83 kB / 495.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.1763, allocations: 20.36 kB / 495.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000655/0.1769, allocations: 0.5811 MB / 496.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1769, allocations: 4 kB / 496.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1775, allocations: 91.98 kB / 496.6 MB, free: 4.168 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001873/0.1793, allocations: 0.5281 MB / 497.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.18, allocations: 323.6 kB / 497.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1801, allocations: 4.25 kB / 497.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.1804, allocations: 163.7 kB / 497.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.1813, allocations: 133.5 kB / 497.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1829, allocations: 1.07 MB / 498.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.1835, allocations: 0.8899 MB / 499.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.1837, allocations: 79.28 kB / 499.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1839, allocations: 55.41 kB / 499.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1839, allocations: 0 / 499.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Templates: time 0.01118/0.1951, allocations: 5.384 MB / 0.4934 GB, free: 11.7 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches