Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001132/0.001132, allocations: 186 kB / 16.25 MB, free: 6.633 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.4386/0.4386, allocations: 37.97 MB / 307.4 MB, free: 10.1 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.001663/0.001663, allocations: 74.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1541, allocations: 56.47 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004084/0.1582, allocations: 1.732 MB / 432.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1606, allocations: 1.379 MB / 434.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1608, allocations: 0 / 434.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.1612, allocations: 27.84 kB / 434.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1616, allocations: 51.83 kB / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.162, allocations: 87.78 kB / 434.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1622, allocations: 95.67 kB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1624, allocations: 20.2 kB / 434.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1625, allocations: 39.8 kB / 434.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1627, allocations: 43.77 kB / 434.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1627, allocations: 11.94 kB / 434.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1629, allocations: 55.98 kB / 434.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.163, allocations: 23.91 kB / 434.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.1631, allocations: 35.8 kB / 434.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1634, allocations: 120 kB / 434.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1634, allocations: 0 / 434.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1634, allocations: 0 / 434.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1634, allocations: 0 / 434.9 MB, free: 3.215 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.0006565/0.1641, allocations: 407.1 kB / 435.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1641, allocations: 11.89 kB / 435.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1642, allocations: 8.844 kB / 435.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1645, allocations: 212 kB / 435.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1645, allocations: 8.375 kB / 435.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1645, allocations: 4.125 kB / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1647, allocations: 71.39 kB / 435.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1648, allocations: 0 / 435.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1648, allocations: 0 / 435.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1648, allocations: 4 kB / 435.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.1649, allocations: 19.92 kB / 435.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.1655, allocations: 284.9 kB / 435.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1656, allocations: 54.67 kB / 436 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.1657, allocations: 24.84 kB / 436 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1657, allocations: 3.938 kB / 436 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.166, allocations: 67.39 kB / 436.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.166, allocations: 0 / 436.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.1666, allocations: 173.2 kB / 436.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.1667, allocations: 81.09 kB / 436.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1668, allocations: 149.8 kB / 436.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1669, allocations: 29.7 kB / 436.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1669, allocations: 96.12 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.167, allocations: 27.66 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.167, allocations: 29.7 kB / 436.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1672, allocations: 322.8 kB / 437 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.1672, allocations: 20 kB / 437 MB, free: 0.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.1673, allocations: 46.55 kB / 437 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1674, allocations: 61.64 kB / 437.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1674, allocations: 4.219 kB / 437.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1676, allocations: 97.52 kB / 437.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1677, allocations: 11.94 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1677, allocations: 160 / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1677, allocations: 0 / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.1678, allocations: 12.38 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1678, allocations: 7.984 kB / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1679, allocations: 11.92 kB / 437.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1679, allocations: 8 kB / 437.2 MB, free: 0.6406 MB / 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 ($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.000118/0.168, allocations: 121.9 kB / 437.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.168, allocations: 7.906 kB / 437.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.1681, allocations: 16.7 kB / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1682, allocations: 0 / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1682, allocations: 3.938 kB / 437.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1682, allocations: 3.938 kB / 437.4 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.1686, allocations: 383.4 kB / 437.8 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1686, allocations: 4.031 kB / 437.8 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.1687, allocations: 11.94 kB / 437.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1687, allocations: 0 / 437.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1687, allocations: 11.92 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1687, allocations: 0 / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1687, allocations: 0 / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.169, allocations: 204.2 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1691, allocations: 89.02 kB / 438.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1691, allocations: 3.938 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1692, allocations: 11.98 kB / 438.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.1692, allocations: 7.938 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1693, allocations: 7.938 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1694, allocations: 118.9 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1694, allocations: 0 / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1697, allocations: 31.98 kB / 438.3 MB, free: 15.52 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.001255/0.1709, allocations: 0.4894 MB / 438.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1712, allocations: 71.89 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1712, allocations: 0 / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.1713, allocations: 27.98 kB / 438.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1716, allocations: 31.84 kB / 438.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.1722, allocations: 214.9 kB / 439.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1726, allocations: 0.7011 MB / 439.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.1727, allocations: 16.88 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.1727, allocations: 23.42 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1727, allocations: 0 / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.005214/0.1779, allocations: 1.932 MB / 441.8 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)