Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3692/0.3692, allocations: 37.98 MB / 307.3 MB, free: 10.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.92 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1504, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003876/0.1543, allocations: 2.053 MB / 433.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1561, allocations: 0.8779 MB / 433.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1563, allocations: 7.938 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.1567, allocations: 39.81 kB / 434 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.157, allocations: 59.69 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.1574, allocations: 103.8 kB / 434.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1577, allocations: 191.4 kB / 434.3 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1578, allocations: 29.95 kB / 434.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.158, allocations: 75.62 kB / 434.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1581, allocations: 79.61 kB / 434.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1581, allocations: 4 kB / 434.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1583, allocations: 47.98 kB / 434.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.1583, allocations: 39.77 kB / 434.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.1584, allocations: 59.61 kB / 434.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1587, allocations: 187.4 kB / 434.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1587, allocations: 4 kB / 434.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1587, allocations: 0 / 434.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1587, allocations: 0 / 434.9 MB, free: 3.211 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000987/0.1597, allocations: 0.5565 MB / 435.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1598, allocations: 8.031 kB / 435.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1598, allocations: 20.66 kB / 435.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1601, allocations: 248.8 kB / 435.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1602, allocations: 12.36 kB / 435.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.1602, allocations: 12.12 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.1606, allocations: 148.1 kB / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1606, allocations: 0 / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1607, allocations: 11.98 kB / 435.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1607, allocations: 4 kB / 435.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1611, allocations: 107.8 kB / 436 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.1618, allocations: 0.5476 MB / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.1625, allocations: 162.5 kB / 436.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1628, allocations: 68.8 kB / 436.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1628, allocations: 7.984 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.1633, allocations: 135.3 kB / 436.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.1633, allocations: 4 kB / 436.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008779/0.1642, allocations: 253.2 kB / 437.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1643, allocations: 59.34 kB / 437.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1645, allocations: 231.2 kB / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1645, allocations: 25.7 kB / 437.4 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.1646, allocations: 124.2 kB / 437.6 MB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.1647, allocations: 39.69 kB / 437.6 MB, free: 232 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.1648, allocations: 33.7 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1649, allocations: 326.8 kB / 438 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1652, allocations: 67.94 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1655, allocations: 108.2 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.166, allocations: 201.8 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.166, allocations: 3.938 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006439/0.1666, allocations: 247 kB / 438.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.1667, allocations: 41.69 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1667, allocations: 0 / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1667, allocations: 4 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1669, allocations: 39.84 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1669, allocations: 4 kB / 438.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1672, allocations: 35.88 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1672, allocations: 8 kB / 438.7 MB, free: 15.06 MB / 382.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.0001658/0.1674, allocations: 138.5 kB / 438.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1674, allocations: 15.81 kB / 438.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.1675, allocations: 21.41 kB / 438.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1675, allocations: 3.938 kB / 438.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.1675, allocations: 0 / 438.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1675, allocations: 3.984 kB / 438.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.1679, allocations: 241.3 kB / 439.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1679, allocations: 4 kB / 439.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.168, allocations: 27.97 kB / 439.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1681, allocations: 0 / 439.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1681, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1681, allocations: 3.938 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1681, allocations: 3.984 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.169, allocations: 300.6 kB / 439.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.1691, allocations: 96.94 kB / 439.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1691, allocations: 4 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1693, allocations: 23.91 kB / 439.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.1694, allocations: 12.05 kB / 439.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.1694, allocations: 15.98 kB / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1695, allocations: 160.6 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1695, allocations: 0 / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1698, allocations: 43.98 kB / 439.8 MB, free: 13.86 MB / 382.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.001006/0.1708, allocations: 418.4 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.1715, allocations: 219.2 kB / 440.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1715, allocations: 4 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1718, allocations: 75.88 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1721, allocations: 44.2 kB / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.1729, allocations: 362 kB / 440.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1732, allocations: 0.7205 MB / 441.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.826e-05/0.1733, allocations: 25.53 kB / 441.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.1734, allocations: 19.44 kB / 441.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1734, allocations: 0 / 441.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.007179/0.1806, allocations: 2.597 MB / 444.3 MB, free: 9.359 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)