Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002836/0.002837, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.902 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.3928/0.3928, allocations: 39.93 MB / 309.4 MB, free: 9.559 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.001456/0.001456, allocations: 75.89 kB / 377.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1649, allocations: 56.87 MB / 434 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004002/0.169, allocations: 1.744 MB / 435.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1705, allocations: 0.8 MB / 436.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.1707, allocations: 0 / 436.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.1711, allocations: 39.83 kB / 436.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1714, allocations: 47.83 kB / 436.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1717, allocations: 79.86 kB / 436.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1719, allocations: 99.67 kB / 436.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.172, allocations: 20.2 kB / 436.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1721, allocations: 35.8 kB / 436.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1723, allocations: 39.83 kB / 436.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1723, allocations: 4 kB / 436.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1724, allocations: 39.98 kB / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.1725, allocations: 23.86 kB / 437 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.1726, allocations: 35.73 kB / 437 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1728, allocations: 115.9 kB / 437.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1728, allocations: 0 / 437.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1728, allocations: 0 / 437.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1728, allocations: 4 kB / 437.1 MB, free: 1.164 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.0006848/0.1735, allocations: 418.9 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1736, allocations: 11.89 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1737, allocations: 8.844 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1739, allocations: 216.6 kB / 437.8 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.174, allocations: 4.375 kB / 437.8 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.174, allocations: 4.125 kB / 437.8 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1742, allocations: 53.67 kB / 437.8 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1742, allocations: 4 kB / 437.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1742, allocations: 4 kB / 437.8 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1742, allocations: 0 / 437.8 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.1743, allocations: 15.98 kB / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.1748, allocations: 284.9 kB / 438.1 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.175, allocations: 66.61 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.175, allocations: 16.86 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1751, allocations: 0 / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1752, allocations: 75.36 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1752, allocations: 0 / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.1759, allocations: 173.1 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.1759, allocations: 59.41 kB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1762, allocations: 191.3 kB / 438.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1762, allocations: 33.69 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.1763, allocations: 100.1 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1763, allocations: 23.7 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1764, allocations: 21.72 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1765, allocations: 334.7 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.1766, allocations: 15.98 kB / 439.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.1767, allocations: 42.08 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1768, allocations: 57.7 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1768, allocations: 0 / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.177, allocations: 109.4 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.177, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1771, allocations: 3.938 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1771, allocations: 32 / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1772, allocations: 23.98 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1772, allocations: 0 / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1773, allocations: 15.88 kB / 439.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1773, allocations: 0 / 439.5 MB, free: 14.59 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1774, allocations: 137.6 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1775, allocations: 7.906 kB / 439.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.1775, allocations: 13.41 kB / 439.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.1775, allocations: 7.984 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1776, allocations: 4 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1776, allocations: 3.938 kB / 439.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1781, allocations: 395.2 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1781, allocations: 3.984 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.1781, allocations: 8 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1781, allocations: 0 / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1781, allocations: 3.938 kB / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1782, allocations: 7.984 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1782, allocations: 4.031 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1784, allocations: 200.2 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1785, allocations: 88.92 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1785, allocations: 3.938 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.1786, allocations: 4.188 kB / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.1787, allocations: 11.98 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1787, allocations: 7.938 kB / 440.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1788, allocations: 152.9 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1788, allocations: 0 / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1791, allocations: 24 kB / 440.5 MB, free: 13.41 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 (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.001147/0.1803, allocations: 477.9 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1805, allocations: 59.92 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1805, allocations: 0 / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.1806, allocations: 27.92 kB / 441.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1809, allocations: 35.11 kB / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.1815, allocations: 255.3 kB / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1818, allocations: 0.708 MB / 442.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.1819, allocations: 21.17 kB / 442.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.1819, allocations: 15.44 kB / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1819, allocations: 0 / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of Templates: time 0.004765/0.1867, allocations: 1.674 MB / 443.8 MB, free: 10.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)