Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, 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.01162/0.01162, 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.661/1.661, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3932/0.3932, allocations: 40 MB / 310.7 MB, free: 9.547 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.0005882/0.0005879, allocations: 20 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1545, allocations: 57.95 MB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004318/0.1589, allocations: 1.706 MB / 439.1 MB, free: 180 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1614, allocations: 0.8625 MB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1617, allocations: 4 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.1622, allocations: 39.77 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.1626, allocations: 67.62 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.1632, allocations: 103.8 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.1637, allocations: 179.5 kB / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1639, allocations: 37.92 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1642, allocations: 79.56 kB / 440.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1644, allocations: 59.69 kB / 440.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.1644, allocations: 8 kB / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1646, allocations: 47.97 kB / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.1647, allocations: 31.84 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1649, allocations: 93.23 kB / 440.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1653, allocations: 179.4 kB / 440.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.1653, allocations: 4 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1653, allocations: 3.938 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1654, allocations: 0 / 440.9 MB, free: 14.38 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001236/0.1666, allocations: 0.541 MB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1667, allocations: 8.031 kB / 441.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.1668, allocations: 20.75 kB / 441.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1672, allocations: 252.7 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1673, allocations: 4.375 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.1673, allocations: 12.12 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.168, allocations: 160.2 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.168, allocations: 4 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.168, allocations: 0 / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.168, allocations: 0 / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.1687, allocations: 139.8 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.1697, allocations: 0.5516 MB / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/0.1707, allocations: 190.6 kB / 442.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.1711, allocations: 88.73 kB / 442.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1712, allocations: 0 / 442.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/0.1718, allocations: 151.1 kB / 443 MB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.255e-06/0.1718, allocations: 0 / 443 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001328/0.1731, allocations: 289.3 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.1732, allocations: 63.28 kB / 443.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1736, allocations: 223.2 kB / 443.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1736, allocations: 29.7 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1738, allocations: 124.3 kB / 443.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1738, allocations: 39.59 kB / 443.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1739, allocations: 21.7 kB / 443.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1741, allocations: 330.8 kB / 444.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.1745, allocations: 87.89 kB / 444.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.1749, allocations: 112.2 kB / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.1758, allocations: 221.8 kB / 444.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1758, allocations: 0 / 444.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009555/0.1767, allocations: 283 kB / 444.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/0.1768, allocations: 37.69 kB / 444.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1768, allocations: 0 / 444.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1769, allocations: 4 kB / 444.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.1771, allocations: 43.91 kB / 444.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1771, allocations: 3.938 kB / 444.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1773, allocations: 43.88 kB / 444.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1774, allocations: 4 kB / 444.9 MB, free: 10.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001483/0.1775, allocations: 138.6 kB / 445.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1776, allocations: 15.81 kB / 445.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.1776, allocations: 21.41 kB / 445.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1777, allocations: 7.875 kB / 445.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1777, allocations: 0 / 445.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1777, allocations: 7.984 kB / 445.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1779, allocations: 241.4 kB / 445.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1779, allocations: 0 / 445.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.1782, allocations: 35.91 kB / 445.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1782, allocations: 0 / 445.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1782, allocations: 0 / 445.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.1782, allocations: 3.938 kB / 445.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1782, allocations: 0 / 445.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.1795, allocations: 340.7 kB / 445.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1797, allocations: 96.94 kB / 445.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1797, allocations: 8.062 kB / 445.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.18, allocations: 31.91 kB / 445.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.1801, allocations: 19.97 kB / 445.9 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1801, allocations: 4 kB / 445.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.1803, allocations: 168.6 kB / 446 MB, free: 8.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1803, allocations: 0 / 446 MB, free: 8.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1808, allocations: 40 kB / 446.1 MB, free: 8.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001327/0.1821, allocations: 426.2 kB / 446.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009255/0.1831, allocations: 243.2 kB / 446.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1831, allocations: 0 / 446.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.1835, allocations: 92.12 kB / 446.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.184, allocations: 39.97 kB / 446.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.185, allocations: 370.2 kB / 447.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1855, allocations: 0.7244 MB / 447.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.1857, allocations: 25.52 kB / 448 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.1858, allocations: 19.42 kB / 448 MB, free: 6.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1858, allocations: 0 / 448 MB, free: 6.848 MB / 382.1 MB Notification: Performance of Templates: time 0.009204/0.195, allocations: 2.564 MB / 450.6 MB, free: 4.289 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: