Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.3 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 79.64 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1503, allocations: 62.45 MB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003967/0.1543, allocations: 2.086 MB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1564, allocations: 1.099 MB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1565, allocations: 7.938 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1569, allocations: 39.83 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1572, allocations: 91.55 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1575, allocations: 95.77 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1577, allocations: 191.4 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1579, allocations: 25.69 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.158, allocations: 83.56 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1581, allocations: 71.61 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1582, allocations: 8 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1583, allocations: 47.98 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.1584, allocations: 27.91 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.1585, allocations: 75.45 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1587, allocations: 187.6 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1587, allocations: 4 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1587, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1587, allocations: 0 / 483.4 MB, free: 1.555 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009527/0.1597, allocations: 0.5604 MB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1598, allocations: 12.03 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.1598, allocations: 16.75 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1601, allocations: 256.8 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1602, allocations: 12.36 kB / 484.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.1602, allocations: 12.12 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1606, allocations: 146.3 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1606, allocations: 0 / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1607, allocations: 11.94 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1607, allocations: 4 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.1611, allocations: 115.9 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.1618, allocations: 0.5399 MB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1625, allocations: 166.5 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.1628, allocations: 80.73 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1628, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.1632, allocations: 131.2 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1632, allocations: 4 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009042/0.1642, allocations: 257.2 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1642, allocations: 63.28 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1645, allocations: 241.5 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1645, allocations: 25.7 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1646, allocations: 124.3 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.1647, allocations: 43.58 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.1648, allocations: 33.7 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1649, allocations: 334.8 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1652, allocations: 63.94 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.1655, allocations: 104.2 kB / 486.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.166, allocations: 189.8 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.166, allocations: 0 / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007379/0.1667, allocations: 263 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.1668, allocations: 29.7 kB / 487.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1668, allocations: 4 kB / 487.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1668, allocations: 0 / 487.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.167, allocations: 43.89 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.167, allocations: 3.938 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1672, allocations: 39.88 kB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1673, allocations: 4 kB / 487.3 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001388/0.1674, allocations: 129.8 kB / 487.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1675, allocations: 19.72 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.1675, allocations: 25.39 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1675, allocations: 3.938 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1675, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1675, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1678, allocations: 233.5 kB / 487.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1678, allocations: 4 kB / 487.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1679, allocations: 27.91 kB / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1679, allocations: 0 / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.168, allocations: 8 kB / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.168, allocations: 7.875 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.168, allocations: 0 / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.1689, allocations: 300.7 kB / 488 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1689, allocations: 100.8 kB / 488.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.169, allocations: 8 kB / 488.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1692, allocations: 27.91 kB / 488.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.1692, allocations: 16.05 kB / 488.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1693, allocations: 7.984 kB / 488.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1695, allocations: 172.5 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1695, allocations: 0 / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1698, allocations: 39.94 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009427/0.1707, allocations: 405.1 kB / 488.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.1714, allocations: 226.8 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1714, allocations: 0 / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.1717, allocations: 75.88 kB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1721, allocations: 48.58 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.1729, allocations: 358.2 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1732, allocations: 0.7244 MB / 490.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1733, allocations: 29.53 kB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.1734, allocations: 19.44 kB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1734, allocations: 0 / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006097/0.1795, allocations: 2.575 MB / 492.8 MB, free: 7.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)