Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001295/0.001295, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.4462/0.4462, allocations: 38.04 MB / 308.4 MB, free: 10.5 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.0006339/0.0006339, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1556, allocations: 57.53 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002247/0.1579, allocations: 1.366 MB / 435.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1591, allocations: 0.7343 MB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.1592, allocations: 4 kB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1595, allocations: 27.84 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1597, allocations: 55.86 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.16, allocations: 71.78 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1602, allocations: 67.84 kB / 436.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1603, allocations: 12.2 kB / 436.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.1604, allocations: 39.84 kB / 436.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.1605, allocations: 35.84 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1605, allocations: 4 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.1606, allocations: 23.98 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.1606, allocations: 31.8 kB / 436.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.1607, allocations: 37.64 kB / 436.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1609, allocations: 100.1 kB / 436.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1609, allocations: 0 / 436.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1609, allocations: 3.938 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1609, allocations: 0 / 436.5 MB, free: 2.961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006052/0.1615, allocations: 422.7 kB / 436.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1616, allocations: 12.03 kB / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1616, allocations: 11.86 kB / 437 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1619, allocations: 214.8 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1619, allocations: 0 / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.162, allocations: 4 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1621, allocations: 61.55 kB / 437.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1621, allocations: 0 / 437.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1621, allocations: 3.984 kB / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1622, allocations: 0 / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1622, allocations: 27.94 kB / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1626, allocations: 285 kB / 437.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1628, allocations: 66.61 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1628, allocations: 3.984 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.163, allocations: 63.52 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.163, allocations: 4 kB / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.1636, allocations: 188.9 kB / 437.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1637, allocations: 51.41 kB / 437.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.1639, allocations: 258.5 kB / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.164, allocations: 25.7 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.164, allocations: 116.1 kB / 438.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1641, allocations: 27.64 kB / 438.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.1641, allocations: 4 kB / 438.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1642, allocations: 322.8 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1643, allocations: 23.98 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.1644, allocations: 33.66 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.1645, allocations: 23.98 kB / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1645, allocations: 4 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.1647, allocations: 105.5 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1647, allocations: 7.938 kB / 438.9 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1647, allocations: 7.953 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1647, allocations: 0 / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.1648, allocations: 15.98 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1648, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.1649, allocations: 4.188 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1649, allocations: 4 kB / 438.9 MB, free: 384 kB / 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.165, allocations: 142.8 kB / 439 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.165, allocations: 11.81 kB / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.1651, allocations: 25.39 kB / 439.1 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1651, allocations: 3.953 kB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1651, allocations: 4 kB / 439.1 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1651, allocations: 0 / 439.1 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.1656, allocations: 399.3 kB / 439.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1656, allocations: 0 / 439.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.1657, allocations: 19.92 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1657, allocations: 0 / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1657, allocations: 7.984 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1657, allocations: 4 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1657, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1659, allocations: 217.9 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.166, allocations: 96.91 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.166, allocations: 8.359 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1661, allocations: 0 / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1662, allocations: 12 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1662, allocations: 7.984 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1664, allocations: 203.9 kB / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1664, allocations: 0 / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1666, allocations: 20 kB / 440 MB, free: 15.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.1677, allocations: 472.9 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.168, allocations: 55.92 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.168, allocations: 0 / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.1681, allocations: 32.05 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1683, allocations: 31.88 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.1689, allocations: 299 kB / 440.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1692, allocations: 0.7238 MB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.1692, allocations: 16.88 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1693, allocations: 11.44 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1693, allocations: 8 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.004321/0.1736, allocations: 1.614 MB / 443.3 MB, free: 11.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: