Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001088, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001368/0.001368, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.639/1.639, allocations: 205.1 MB / 222 MB, free: 4.992 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.4221/0.4221, allocations: 37.98 MB / 307.3 MB, free: 9.836 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.001394/0.001393, allocations: 60.55 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 56.47 MB / 431 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00428/0.1619, allocations: 1.74 MB / 432.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1635, allocations: 0.8038 MB / 433.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.1636, allocations: 0 / 433.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.164, allocations: 35.84 kB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1642, allocations: 51.81 kB / 433.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1645, allocations: 71.86 kB / 433.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1646, allocations: 95.67 kB / 433.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1647, allocations: 16.22 kB / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.1648, allocations: 35.8 kB / 433.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.1649, allocations: 27.84 kB / 433.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1649, allocations: 4 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.1651, allocations: 35.98 kB / 433.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1651, allocations: 23.86 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1652, allocations: 35.73 kB / 434 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1654, allocations: 112 kB / 434.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1654, allocations: 3.938 kB / 434.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1654, allocations: 0 / 434.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1654, allocations: 4 kB / 434.1 MB, free: 3.984 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.00073/0.1662, allocations: 407.1 kB / 434.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.1662, allocations: 8.031 kB / 434.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.1663, allocations: 12.75 kB / 434.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.1666, allocations: 208 kB / 434.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.1666, allocations: 4.375 kB / 434.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1667, allocations: 8.109 kB / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1669, allocations: 53.67 kB / 434.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1669, allocations: 4 kB / 434.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1669, allocations: 0 / 434.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1669, allocations: 4 kB / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.167, allocations: 19.98 kB / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1675, allocations: 284.9 kB / 435.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1677, allocations: 50.62 kB / 435.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1677, allocations: 28.84 kB / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1678, allocations: 0 / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.168, allocations: 63.39 kB / 435.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.168, allocations: 0 / 435.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.1686, allocations: 177.2 kB / 435.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1687, allocations: 63.33 kB / 435.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1689, allocations: 186.2 kB / 435.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1689, allocations: 25.7 kB / 435.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/0.169, allocations: 104.1 kB / 435.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.169, allocations: 27.64 kB / 435.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.169, allocations: 21.66 kB / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1691, allocations: 330.8 kB / 436.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.1692, allocations: 19.98 kB / 436.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.1693, allocations: 37.7 kB / 436.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1694, allocations: 65.77 kB / 436.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1694, allocations: 0 / 436.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.1696, allocations: 97.44 kB / 436.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1696, allocations: 4 kB / 436.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1696, allocations: 4 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1696, allocations: 0 / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.1697, allocations: 24.02 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1698, allocations: 3.938 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1698, allocations: 7.938 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.1698, allocations: 4 kB / 436.4 MB, free: 1.438 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.0001017/0.1699, allocations: 125.8 kB / 436.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.17, allocations: 7.906 kB / 436.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.17, allocations: 12.72 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.17, allocations: 7.984 kB / 436.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.17, allocations: 3.984 kB / 436.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.17, allocations: 7.938 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.1704, allocations: 387.3 kB / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1705, allocations: 4 kB / 437 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.1705, allocations: 8 kB / 437 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1705, allocations: 0 / 437 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1705, allocations: 3.938 kB / 437 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1705, allocations: 0 / 437 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1705, allocations: 4 kB / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1708, allocations: 216.1 kB / 437.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1708, allocations: 81.02 kB / 437.3 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1708, allocations: 7.938 kB / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.1709, allocations: 4.375 kB / 437.3 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.171, allocations: 11.92 kB / 437.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.171, allocations: 12 kB / 437.3 MB, free: 456 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1711, allocations: 148 kB / 437.4 MB, free: 308 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 437.4 MB, free: 308 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1714, allocations: 24.19 kB / 437.5 MB, free: 284 kB / 366.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.001042/0.1724, allocations: 461.1 kB / 437.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1726, allocations: 63.91 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1726, allocations: 0 / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.1727, allocations: 28.08 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.173, allocations: 28.12 kB / 438 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.1734, allocations: 241.3 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1737, allocations: 0.7043 MB / 439 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.1738, allocations: 12.89 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.1738, allocations: 23.42 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1738, allocations: 0 / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Templates: time 0.003733/0.1775, allocations: 1.639 MB / 440.6 MB, free: 13.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)