Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, 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.001279/0.001279, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.782/1.782, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.4113/0.4113, allocations: 39.92 MB / 309.4 MB, free: 9.32 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.001445/0.001445, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1561, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003566/0.1597, allocations: 1.755 MB / 435.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1612, allocations: 0.7962 MB / 436.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.1613, allocations: 0 / 436.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.1618, allocations: 27.91 kB / 436.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1621, allocations: 55.83 kB / 436.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1623, allocations: 71.84 kB / 436.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1625, allocations: 99.69 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1627, allocations: 20.2 kB / 436.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.1628, allocations: 39.73 kB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1629, allocations: 35.84 kB / 436.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1629, allocations: 8 kB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.163, allocations: 35.98 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.1631, allocations: 19.92 kB / 437 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.1632, allocations: 35.73 kB / 437 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1634, allocations: 123.8 kB / 437.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1634, allocations: 0 / 437.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1634, allocations: 0 / 437.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1634, allocations: 0 / 437.1 MB, free: 0.8945 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.0006415/0.1641, allocations: 414.9 kB / 437.5 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1641, allocations: 15.89 kB / 437.5 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.1642, allocations: 12.84 kB / 437.5 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1645, allocations: 220.6 kB / 437.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1645, allocations: 384 / 437.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1645, allocations: 8.125 kB / 437.8 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1647, allocations: 57.61 kB / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1648, allocations: 0 / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1648, allocations: 0 / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1648, allocations: 0 / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.1649, allocations: 19.98 kB / 437.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1653, allocations: 284.9 kB / 438.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1655, allocations: 62.61 kB / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.1656, allocations: 16.86 kB / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1656, allocations: 4 kB / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1658, allocations: 71.38 kB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1658, allocations: 0 / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005977/0.1664, allocations: 177.1 kB / 438.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1665, allocations: 55.41 kB / 438.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1667, allocations: 195.3 kB / 438.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.1668, allocations: 25.7 kB / 438.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1669, allocations: 108.1 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1669, allocations: 27.7 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.167, allocations: 17.72 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1672, allocations: 330.8 kB / 439.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.1673, allocations: 19.98 kB / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.1673, allocations: 37.64 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1675, allocations: 61.72 kB / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1675, allocations: 0 / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.1677, allocations: 101.4 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1677, allocations: 8 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1677, allocations: 0 / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1678, allocations: 0 / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1679, allocations: 19.92 kB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1679, allocations: 384 / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.1679, allocations: 11.94 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1679, allocations: 4 kB / 439.5 MB, free: 14.32 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.0001111/0.1681, allocations: 137.1 kB / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1681, allocations: 19.91 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1682, allocations: 13.59 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1682, allocations: 0 / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1682, allocations: 3.938 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1682, allocations: 7.922 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1688, allocations: 399.2 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1688, allocations: 0 / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1688, allocations: 8 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1688, allocations: 4 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1689, allocations: 3.938 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1689, allocations: 0 / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1689, allocations: 0 / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1691, allocations: 212.5 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.1692, allocations: 88.92 kB / 440.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1692, allocations: 11.88 kB / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.1693, allocations: 0 / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1693, allocations: 11.98 kB / 440.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1693, allocations: 4 kB / 440.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1695, allocations: 152.9 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1695, allocations: 0 / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1697, allocations: 24 kB / 440.5 MB, free: 13.14 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.00105/0.1708, allocations: 469.4 kB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.171, allocations: 59.91 kB / 441 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.171, allocations: 64 / 441 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.098e-05/0.1711, allocations: 35.92 kB / 441.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1715, allocations: 27.84 kB / 441.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.172, allocations: 259.2 kB / 441.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1724, allocations: 0.7041 MB / 442.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.1725, allocations: 25.17 kB / 442.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.1725, allocations: 15.44 kB / 442.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1725, allocations: 0 / 442.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of Templates: time 0.004945/0.1775, allocations: 1.678 MB / 443.8 MB, free: 9.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)