Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 98.03 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.007842/0.007843, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.4625/0.4625, allocations: 40 MB / 310.7 MB, free: 9.516 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.0009651/0.0009652, allocations: 16 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1516, allocations: 57.96 MB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002658/0.1543, allocations: 1.416 MB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.156, allocations: 0.7729 MB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1562, allocations: 4 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1565, allocations: 51.8 kB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1568, allocations: 51.83 kB / 439.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1571, allocations: 83.83 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1573, allocations: 91.7 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.1574, allocations: 8.219 kB / 439.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.1575, allocations: 47.77 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.1576, allocations: 31.8 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1576, allocations: 0 / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1578, allocations: 35.98 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1578, allocations: 35.83 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.1579, allocations: 65.45 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1581, allocations: 127.8 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1581, allocations: 0 / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1581, allocations: 0 / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1582, 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.0005326/0.1587, allocations: 422.7 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1587, allocations: 16.02 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1588, allocations: 12.75 kB / 440.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1591, allocations: 223.8 kB / 440.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1591, allocations: 8.359 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1591, allocations: 8.125 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1593, allocations: 53.67 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1593, allocations: 0 / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1593, allocations: 0 / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1593, allocations: 0 / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.1594, allocations: 23.92 kB / 441 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1599, allocations: 292.9 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.16, allocations: 58.67 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.1601, allocations: 20.84 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.1601, allocations: 4 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1604, allocations: 71.33 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1604, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005711/0.161, allocations: 188.9 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.161, allocations: 51.41 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1613, allocations: 259.7 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1613, allocations: 29.7 kB / 441.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.1614, allocations: 108.1 kB / 442 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1614, allocations: 27.59 kB / 442.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1614, allocations: 17.72 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1616, allocations: 334.8 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.1616, allocations: 20 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.1617, allocations: 33.7 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1618, allocations: 65.64 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1618, allocations: 0 / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.162, allocations: 109.5 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.162, allocations: 4 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1621, allocations: 0 / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1621, allocations: 0 / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.1622, allocations: 19.94 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1622, allocations: 4.141 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.1622, allocations: 11.92 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1623, allocations: 4.188 kB / 442.7 MB, free: 12.36 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.000121/0.1624, allocations: 137.8 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1624, allocations: 23.78 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.1625, allocations: 17.41 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1625, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1625, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1625, allocations: 7.922 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1629, allocations: 391.7 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1629, allocations: 0 / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.163, allocations: 19.98 kB / 443.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.163, allocations: 7.969 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.163, allocations: 7.938 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.163, allocations: 0 / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.163, allocations: 0 / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1632, allocations: 204.2 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.1633, allocations: 96.91 kB / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1634, allocations: 7.938 kB / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1634, allocations: 4 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1635, allocations: 11.98 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1635, allocations: 4 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1637, allocations: 195 kB / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1637, allocations: 0 / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1639, allocations: 31.94 kB / 443.8 MB, free: 11.11 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.001009/0.165, allocations: 464.7 kB / 444.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1651, allocations: 51.98 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1652, allocations: 0 / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.1652, allocations: 31.92 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1656, allocations: 39.98 kB / 444.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.1661, allocations: 314.9 kB / 444.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1664, allocations: 0.716 MB / 445.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.1665, allocations: 17.17 kB / 445.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1665, allocations: 15.44 kB / 445.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1665, allocations: 3.938 kB / 445.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of Templates: time 0.004346/0.1709, allocations: 1.639 MB / 447.1 MB, free: 7.809 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: