Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, 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.01465/0.01465, allocations: 170.1 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.905/1.905, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.431/0.431, allocations: 40 MB / 310.7 MB, free: 9.918 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.000582/0.000582, allocations: 15.98 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1603, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00255/0.1629, allocations: 1.416 MB / 438.8 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1643, allocations: 0.7651 MB / 439.6 MB, free: 0 / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1645, allocations: 4.047 kB / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1648, allocations: 55.75 kB / 439.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.1651, allocations: 55.81 kB / 439.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1655, allocations: 83.77 kB / 439.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1658, allocations: 95.64 kB / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1659, allocations: 16.2 kB / 439.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.166, allocations: 43.78 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.1661, allocations: 27.86 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1661, allocations: 0 / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1663, allocations: 43.91 kB / 440 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.1663, allocations: 27.91 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.1664, allocations: 65.39 kB / 440.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1666, allocations: 123.8 kB / 440.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1667, allocations: 0 / 440.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1667, allocations: 4 kB / 440.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1667, allocations: 0 / 440.2 MB, free: 15.36 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.000611/0.1673, allocations: 418.8 kB / 440.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1673, allocations: 12.03 kB / 440.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.1674, allocations: 16.69 kB / 440.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1677, allocations: 223.7 kB / 440.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1677, allocations: 4.375 kB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1677, allocations: 8.125 kB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1679, allocations: 57.67 kB / 441 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1679, allocations: 0 / 441 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1679, allocations: 3.984 kB / 441 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1679, allocations: 0 / 441 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.168, allocations: 23.97 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1684, allocations: 292.8 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1686, allocations: 62.67 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1686, allocations: 16.86 kB / 441.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1687, allocations: 7.984 kB / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1689, allocations: 71.31 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1689, allocations: 0 / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005289/0.1694, allocations: 181 kB / 441.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1695, allocations: 55.41 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1698, allocations: 258.5 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1698, allocations: 33.7 kB / 441.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.1699, allocations: 108.1 kB / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1699, allocations: 27.64 kB / 442.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.1699, allocations: 17.66 kB / 442.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1701, allocations: 330.8 kB / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.1702, allocations: 23.98 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.1702, allocations: 41.64 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1704, allocations: 61.64 kB / 442.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1704, allocations: 0 / 442.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1706, allocations: 105.5 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1706, allocations: 4 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1706, allocations: 0 / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1706, allocations: 0 / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.1707, allocations: 27.95 kB / 442.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1707, allocations: 0 / 442.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1708, allocations: 3.938 kB / 442.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1708, allocations: 4 kB / 442.7 MB, free: 12.66 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.0002165/0.171, allocations: 133.8 kB / 442.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1711, allocations: 19.8 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.1711, allocations: 21.41 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1711, allocations: 0 / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1711, allocations: 4 kB / 442.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1712, allocations: 3.938 kB / 442.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.1717, allocations: 399.7 kB / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1717, allocations: 0 / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1718, allocations: 12 kB / 443.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1718, allocations: 0 / 443.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1718, allocations: 15.92 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1718, allocations: 3.938 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1718, allocations: 4.031 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.172, allocations: 204.4 kB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1721, allocations: 92.92 kB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1722, allocations: 7.922 kB / 443.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.1722, allocations: 4 kB / 443.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1723, allocations: 4 kB / 443.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1723, allocations: 15.98 kB / 443.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1725, allocations: 191 kB / 443.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1725, allocations: 0 / 443.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1728, allocations: 28 kB / 443.8 MB, free: 11.41 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.001024/0.1738, allocations: 468.7 kB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.174, allocations: 55.97 kB / 444.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.174, allocations: 0 / 444.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1741, allocations: 31.92 kB / 444.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1745, allocations: 27.98 kB / 444.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1751, allocations: 315 kB / 444.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1754, allocations: 0.716 MB / 445.4 MB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.221e-05/0.1755, allocations: 21.16 kB / 445.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1756, allocations: 19.44 kB / 445.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1756, allocations: 0 / 445.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of Templates: time 0.00488/0.1805, allocations: 1.635 MB / 447.1 MB, free: 8.109 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: