Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.724/1.724, allocations: 205.1 MB / 222 MB, free: 4.996 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.3819/0.3819, allocations: 39.94 MB / 309.3 MB, free: 9.234 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.001571/0.001571, allocations: 69.94 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 56.87 MB / 433.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004532/0.1656, allocations: 1.755 MB / 435.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1674, allocations: 0.7923 MB / 436.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1676, allocations: 4 kB / 436.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.1681, allocations: 35.89 kB / 436.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1683, allocations: 51.77 kB / 436.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1687, allocations: 75.8 kB / 436.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1689, allocations: 87.75 kB / 436.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.169, allocations: 16.22 kB / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1691, allocations: 43.72 kB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.1692, allocations: 27.84 kB / 436.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1693, allocations: 4 kB / 436.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1694, allocations: 35.98 kB / 436.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.1695, allocations: 19.92 kB / 436.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.1695, allocations: 43.7 kB / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1698, allocations: 115.9 kB / 436.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1698, allocations: 3.938 kB / 436.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1698, allocations: 4 kB / 436.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1698, allocations: 0 / 436.9 MB, free: 1.074 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.0006529/0.1705, allocations: 418.9 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1706, allocations: 8.031 kB / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.1706, allocations: 12.83 kB / 437.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1709, allocations: 204.7 kB / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1709, allocations: 4.375 kB / 437.5 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1709, allocations: 8.125 kB / 437.6 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1711, allocations: 61.61 kB / 437.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1711, allocations: 0 / 437.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1711, allocations: 3.984 kB / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1712, allocations: 4 kB / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1712, allocations: 15.98 kB / 437.6 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1717, allocations: 284.9 kB / 437.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1719, allocations: 62.62 kB / 438 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.172, allocations: 20.84 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.172, allocations: 0 / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1722, allocations: 71.38 kB / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1723, allocations: 4 kB / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.1728, allocations: 173.1 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1729, allocations: 55.41 kB / 438.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1731, allocations: 195.3 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1731, allocations: 29.7 kB / 438.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.1732, allocations: 104.1 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1732, allocations: 19.72 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1733, allocations: 29.64 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1734, allocations: 322.8 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.1735, allocations: 20 kB / 439 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.1735, allocations: 45.64 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1737, allocations: 57.7 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1737, allocations: 0 / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1739, allocations: 109.4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1739, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1739, allocations: 0 / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1739, allocations: 4.031 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.174, allocations: 16.19 kB / 439.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.174, allocations: 0 / 439.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1741, allocations: 11.86 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1741, allocations: 8 kB / 439.3 MB, free: 14.5 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.0001121/0.1742, allocations: 129.7 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1742, allocations: 7.906 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.1743, allocations: 17.39 kB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1743, allocations: 4 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1743, allocations: 4 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1743, allocations: 3.938 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.1748, allocations: 399.4 kB / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1749, allocations: 0 / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.1749, allocations: 11.98 kB / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1749, allocations: 0 / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1749, allocations: 7.938 kB / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1749, allocations: 4 kB / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1749, allocations: 4.031 kB / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1752, allocations: 196.2 kB / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.1753, allocations: 88.92 kB / 440.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1753, allocations: 12.3 kB / 440.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1754, allocations: 11.98 kB / 440.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1754, allocations: 0 / 440.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1755, allocations: 15.98 kB / 440.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1756, allocations: 156.9 kB / 440.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 440.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1759, allocations: 24 kB / 440.3 MB, free: 13.32 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.001051/0.1769, allocations: 469.1 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1771, allocations: 55.91 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1772, allocations: 3.938 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1772, allocations: 28 kB / 440.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1776, allocations: 23.97 kB / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1781, allocations: 261 kB / 441.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1784, allocations: 0.7043 MB / 441.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.1785, allocations: 21.17 kB / 441.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.1786, allocations: 15.44 kB / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1786, allocations: 0 / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004371/0.1829, allocations: 1.635 MB / 443.5 MB, free: 10.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)