Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001275/0.001275, allocations: 172.7 kB / 15.95 MB, free: 208 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.816/1.816, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3911/0.3911, allocations: 39.99 MB / 310.4 MB, free: 9.957 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.2. 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.0006185/0.0006187, allocations: 20 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 57.96 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002074/0.1597, allocations: 1.393 MB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1612, allocations: 0.75 MB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1614, allocations: 3.938 kB / 439 MB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1618, allocations: 99.78 kB / 439.1 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.162, allocations: 75.78 kB / 439.1 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1624, allocations: 75.84 kB / 439.2 MB, free: 140 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1626, allocations: 107.7 kB / 439.3 MB, free: 32 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1627, allocations: 11.98 kB / 439.3 MB, free: 20 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1629, allocations: 55.77 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.163, allocations: 55.81 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1631, allocations: 8 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1632, allocations: 35.98 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.1633, allocations: 31.78 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.1633, allocations: 41.64 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1635, allocations: 100.1 kB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1635, allocations: 0 / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1635, allocations: 0 / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1636, allocations: 0 / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006542/0.1642, allocations: 430.6 kB / 440.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1643, allocations: 12.03 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1643, allocations: 19.81 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1646, allocations: 218.5 kB / 440.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1647, allocations: 8 kB / 440.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1647, allocations: 7.906 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1649, allocations: 65.66 kB / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1649, allocations: 0 / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1649, allocations: 0 / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1649, allocations: 7.953 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.165, allocations: 35.91 kB / 440.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1656, allocations: 304.9 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.1658, allocations: 74.73 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.1659, allocations: 24.88 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1659, allocations: 8 kB / 440.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.1662, allocations: 79.33 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1662, allocations: 0 / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006534/0.1668, allocations: 232.9 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1669, allocations: 55.39 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1672, allocations: 242.6 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1672, allocations: 29.7 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.1673, allocations: 116.1 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.1674, allocations: 31.55 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.1674, allocations: 4 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1675, allocations: 330.8 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.1676, allocations: 31.98 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.1677, allocations: 45.7 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.1678, allocations: 28 kB / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1678, allocations: 11.94 kB / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/0.1681, allocations: 137.4 kB / 442.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1681, allocations: 11.53 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1681, allocations: 4 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1682, allocations: 0 / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1683, allocations: 23.92 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1683, allocations: 4 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.1683, allocations: 4 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1684, allocations: 8 kB / 442.2 MB, free: 12.87 MB / 382.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 (13): * Single equations (assignments): 13 * 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.0001349/0.1685, allocations: 137.9 kB / 442.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1685, allocations: 19.77 kB / 442.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.1686, allocations: 25.86 kB / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1686, allocations: 0 / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1686, allocations: 3.984 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1687, allocations: 0 / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1693, allocations: 459.1 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.1693, allocations: 4 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.1693, allocations: 15.98 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1694, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1694, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1694, allocations: 4 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1694, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1697, allocations: 244 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1698, allocations: 88.92 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1698, allocations: 0 / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1699, allocations: 11.98 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.17, allocations: 4 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.17, allocations: 7.984 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1702, allocations: 184.5 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1702, allocations: 0 / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1705, allocations: 24 kB / 443.4 MB, free: 11.55 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 (11): * Single equations (assignments): 9 * 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.001125/0.1716, allocations: 483.3 kB / 443.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1719, allocations: 75.97 kB / 444 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1719, allocations: 0 / 444 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.172, allocations: 43.92 kB / 444 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1724, allocations: 40.05 kB / 444.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.1731, allocations: 315 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1735, allocations: 0.7165 MB / 445.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.1736, allocations: 25.06 kB / 445.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.1737, allocations: 23.42 kB / 445.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1737, allocations: 0 / 445.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Templates: time 0.005566/0.1792, allocations: 1.763 MB / 446.9 MB, free: 8.055 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: