Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 99.86 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.002464/0.002464, allocations: 177.3 kB / 15.95 MB, free: 216 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.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3945/0.3945, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.0007811/0.0007822, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1665, allocations: 57.53 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00266/0.1692, allocations: 1.362 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1708, allocations: 0.7459 MB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1709, allocations: 4 kB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1713, allocations: 31.83 kB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1716, allocations: 47.88 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1721, allocations: 71.78 kB / 436.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1724, allocations: 67.84 kB / 436.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1725, allocations: 12.22 kB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1727, allocations: 39.84 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1728, allocations: 27.86 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1728, allocations: 0 / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.173, allocations: 35.91 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.1731, allocations: 31.84 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.1732, allocations: 37.64 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1734, allocations: 104.1 kB / 436.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1734, allocations: 0 / 436.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1734, allocations: 0 / 436.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1735, allocations: 0 / 436.5 MB, free: 2.945 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.00103/0.1745, allocations: 418.7 kB / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.1746, allocations: 8.031 kB / 437 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.1747, allocations: 15.86 kB / 437 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.175, allocations: 210.8 kB / 437.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1751, allocations: 8 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1751, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1753, allocations: 61.55 kB / 437.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1754, allocations: 4 kB / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1754, allocations: 0 / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1754, allocations: 0 / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1755, allocations: 19.94 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1762, allocations: 292.9 kB / 437.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1764, allocations: 62.62 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1765, allocations: 3.938 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1767, allocations: 63.52 kB / 437.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1767, allocations: 0 / 437.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007673/0.1775, allocations: 192.9 kB / 437.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.1776, allocations: 51.41 kB / 437.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.178, allocations: 258.5 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.178, allocations: 29.7 kB / 438.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1781, allocations: 112.1 kB / 438.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.1782, allocations: 31.62 kB / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1782, allocations: 0 / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1784, allocations: 326.8 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.1785, allocations: 19.98 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1785, allocations: 41.64 kB / 438.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/0.1786, allocations: 24 kB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1786, allocations: 0 / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000231/0.1789, allocations: 105.4 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1789, allocations: 4 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1789, allocations: 7.953 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1789, allocations: 0 / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.179, allocations: 16.03 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1791, allocations: 0 / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.1791, allocations: 7.984 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1792, allocations: 8.375 kB / 438.9 MB, free: 368 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.0001622/0.1793, allocations: 134.9 kB / 439 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1794, allocations: 11.81 kB / 439 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1794, allocations: 21.39 kB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1794, allocations: 3.953 kB / 439.1 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1795, allocations: 8 kB / 439.1 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1795, allocations: 7.984 kB / 439.1 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.1801, allocations: 399.4 kB / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1801, allocations: 4 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1801, allocations: 19.88 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1802, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1802, allocations: 4 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1802, allocations: 0 / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1802, allocations: 4.031 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.1805, allocations: 218.1 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.1806, allocations: 92.91 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1806, allocations: 3.938 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1807, allocations: 8 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1808, allocations: 11.98 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.1808, allocations: 4 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.181, allocations: 203.9 kB / 440 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 440 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1813, allocations: 27.98 kB / 440.1 MB, free: 15.09 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.001116/0.1824, allocations: 456.7 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1827, allocations: 67.89 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1827, allocations: 0 / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.1828, allocations: 20 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1831, allocations: 31.92 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.1838, allocations: 299 kB / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.1843, allocations: 0.7238 MB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1844, allocations: 17.17 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1845, allocations: 19.44 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1845, allocations: 0 / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005783/0.1903, allocations: 1.626 MB / 443.3 MB, free: 11.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) Environment - environmentSimulation: