Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.75 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.0008895/0.0008899, 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.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.434/0.434, allocations: 40 MB / 310.4 MB, free: 9.996 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.0007095/0.0007096, allocations: 16 kB / 378.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1615, allocations: 57.96 MB / 436.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002349/0.1639, allocations: 1.386 MB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1653, allocations: 0.7461 MB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.1654, allocations: 0 / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1658, allocations: 35.84 kB / 439 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.166, allocations: 43.84 kB / 439 MB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1662, allocations: 79.77 kB / 439.1 MB, free: 220 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1664, allocations: 75.77 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1665, allocations: 20.14 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1667, allocations: 35.84 kB / 439.2 MB, free: 88 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.1667, allocations: 23.86 kB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1668, allocations: 7.938 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1669, allocations: 39.97 kB / 439.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.167, allocations: 15.92 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.1671, allocations: 41.75 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1673, allocations: 84.09 kB / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.1673, allocations: 0 / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1673, allocations: 3.938 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1673, allocations: 0 / 439.4 MB, free: 15.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007628/0.1681, allocations: 394.8 kB / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.1682, allocations: 15.97 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1683, allocations: 7.906 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1686, allocations: 202.9 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1687, allocations: 4 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1687, allocations: 7.938 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1689, allocations: 57.67 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1689, allocations: 0 / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.169, allocations: 7.922 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.169, allocations: 3.953 kB / 440.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.1691, allocations: 23.94 kB / 440.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1696, allocations: 284.9 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1698, allocations: 50.69 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1699, allocations: 24.78 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1699, allocations: 0 / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.1702, allocations: 79.25 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1702, allocations: 0 / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006686/0.1708, allocations: 169.3 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1709, allocations: 55.41 kB / 440.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1711, allocations: 182.1 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1712, allocations: 29.7 kB / 441 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.1712, allocations: 100.1 kB / 441.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1713, allocations: 23.7 kB / 441.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.1713, allocations: 0 / 441.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1715, allocations: 330.8 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.1715, allocations: 19.98 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.1716, allocations: 29.72 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.1717, allocations: 31.92 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1717, allocations: 0 / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1719, allocations: 101.5 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1719, allocations: 8.031 kB / 441.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1719, allocations: 0 / 441.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1719, allocations: 0 / 441.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.172, allocations: 23.92 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.172, allocations: 0 / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.1721, allocations: 7.938 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1721, allocations: 4 kB / 441.7 MB, free: 13.4 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 (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.0001197/0.1722, allocations: 125.8 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1723, allocations: 11.86 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1723, allocations: 20.7 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1723, allocations: 0 / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1723, allocations: 4.188 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1724, allocations: 0 / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1728, allocations: 395.1 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1729, allocations: 0 / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.1729, allocations: 8.375 kB / 442.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1729, allocations: 0 / 442.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1729, allocations: 8.031 kB / 442.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.1729, allocations: 7.984 kB / 442.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1729, allocations: 3.938 kB / 442.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1732, allocations: 200.3 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1733, allocations: 96.88 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1733, allocations: 0 / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1734, allocations: 11.98 kB / 442.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1734, allocations: 4 kB / 442.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1735, allocations: 4 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1736, allocations: 148 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1736, allocations: 0 / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1739, allocations: 24 kB / 442.7 MB, free: 12.25 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.0009927/0.1749, allocations: 480.8 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.175, allocations: 51.98 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1751, allocations: 0 / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.1751, allocations: 27.92 kB / 443.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1755, allocations: 28.11 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.176, allocations: 238.4 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.1766, allocations: 0.7043 MB / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.1767, allocations: 16.81 kB / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1767, allocations: 19.42 kB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1767, allocations: 0 / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004414/0.1811, allocations: 1.584 MB / 445.8 MB, free: 9.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: