Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.0008263, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005339/0.005339, allocations: 171.8 kB / 16.27 MB, free: 6.652 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.573/1.573, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3741/0.3741, allocations: 40 MB / 310.7 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.0006205/0.0006207, allocations: 20 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1533, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003189/0.1566, allocations: 1.409 MB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1587, allocations: 0.7768 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1589, allocations: 3.938 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.1594, allocations: 47.86 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1597, allocations: 55.81 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1601, allocations: 71.86 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1603, allocations: 99.67 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1605, allocations: 12.22 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1606, allocations: 43.73 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.1607, allocations: 31.83 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1607, allocations: 8 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1609, allocations: 35.98 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.1609, allocations: 27.86 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.161, allocations: 69.36 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1613, allocations: 135.8 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1613, allocations: 0 / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1613, allocations: 0 / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1613, allocations: 0 / 440.2 MB, free: 15.06 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.0006865/0.162, allocations: 418.9 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1621, allocations: 12.03 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.1622, allocations: 16.75 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1624, allocations: 216.9 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.1625, allocations: 8.375 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1625, allocations: 4.125 kB / 440.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1627, allocations: 61.55 kB / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1627, allocations: 0 / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1628, allocations: 4 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1628, allocations: 0 / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/0.1629, allocations: 19.98 kB / 441 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.1634, allocations: 304.7 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1636, allocations: 66.59 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.1637, allocations: 16.86 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1638, allocations: 4 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.164, allocations: 71.38 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.164, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006841/0.1647, allocations: 173.1 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1648, allocations: 51.41 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1651, allocations: 283.6 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1652, allocations: 25.7 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1653, allocations: 120.1 kB / 442.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.1653, allocations: 27.64 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.1654, allocations: 17.7 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1656, allocations: 330.8 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.1657, allocations: 23.98 kB / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1657, allocations: 37.64 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1659, allocations: 57.72 kB / 442.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1659, allocations: 0 / 442.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002253/0.1661, allocations: 113.5 kB / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.1661, allocations: 7.594 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1662, allocations: 0 / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1662, allocations: 0 / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1663, allocations: 16 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1663, allocations: 0 / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.1664, allocations: 7.922 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1664, allocations: 12.03 kB / 442.7 MB, free: 12.35 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.0001307/0.1665, allocations: 129.8 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1666, allocations: 24.12 kB / 442.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.1666, allocations: 21.39 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1666, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1667, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1667, allocations: 11.88 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1672, allocations: 407.3 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1672, allocations: 0 / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1672, allocations: 12 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1672, allocations: 0 / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1672, allocations: 7.938 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1672, allocations: 0 / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1672, allocations: 0 / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1675, allocations: 204.2 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1676, allocations: 92.91 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1676, allocations: 7.938 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1677, allocations: 7.938 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1677, allocations: 7.984 kB / 443.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1678, allocations: 4.188 kB / 443.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1679, allocations: 204.2 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.168, allocations: 7.938 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1682, allocations: 24 kB / 443.9 MB, free: 11.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 (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.001052/0.1693, allocations: 465.3 kB / 444.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1695, allocations: 59.89 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1695, allocations: 4.062 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1696, allocations: 27.98 kB / 444.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.17, allocations: 24.3 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.1705, allocations: 331.2 kB / 444.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1709, allocations: 0.716 MB / 445.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.1709, allocations: 20.86 kB / 445.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.171, allocations: 15.44 kB / 445.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.171, allocations: 0 / 445.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of Templates: time 0.004392/0.1754, allocations: 1.654 MB / 447.2 MB, free: 7.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: