Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009312, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001201/0.001201, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4028/0.4028, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.1. 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.0006213/0.0006214, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1562, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002995/0.1592, allocations: 1.37 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1606, allocations: 0.7421 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.1607, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.161, allocations: 79.75 kB / 436.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1612, allocations: 59.84 kB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1615, allocations: 83.72 kB / 436.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1617, allocations: 67.84 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1618, allocations: 16.2 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1619, allocations: 43.84 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1621, allocations: 39.83 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1621, allocations: 0 / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.1622, allocations: 27.94 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.1623, allocations: 27.89 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1623, allocations: 41.64 kB / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1625, allocations: 84.11 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1625, allocations: 0 / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1625, allocations: 0 / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1626, allocations: 0 / 436.6 MB, free: 2.891 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.0006165/0.1632, allocations: 414.8 kB / 437 MB, free: 2.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1632, allocations: 11.97 kB / 437 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1633, allocations: 11.86 kB / 437 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1636, allocations: 199.6 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1636, allocations: 8 kB / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1636, allocations: 4 kB / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1638, allocations: 53.61 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1638, allocations: 0 / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1638, allocations: 8 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1639, allocations: 0 / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.164, allocations: 23.88 kB / 437.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1644, allocations: 284.9 kB / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1645, allocations: 62.67 kB / 437.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1646, allocations: 3.938 kB / 437.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1648, allocations: 63.52 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1648, allocations: 4 kB / 437.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.1654, allocations: 185.1 kB / 437.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1655, allocations: 51.41 kB / 438 MB, free: 1.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1657, allocations: 210.4 kB / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1657, allocations: 25.7 kB / 438.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1658, allocations: 112 kB / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1658, allocations: 19.73 kB / 438.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1658, allocations: 4 kB / 438.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.166, allocations: 326.8 kB / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.166, allocations: 19.98 kB / 438.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.1661, allocations: 37.7 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.1662, allocations: 24 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1662, allocations: 3.938 kB / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1664, allocations: 97.48 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1664, allocations: 4 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1664, allocations: 7.953 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1664, allocations: 4.031 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1665, allocations: 20.3 kB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1665, allocations: 0 / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.1666, allocations: 8 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1666, allocations: 8 kB / 438.9 MB, free: 404 kB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1667, allocations: 126.9 kB / 439 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.1668, allocations: 16 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.1668, allocations: 17.39 kB / 439 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1668, allocations: 11.89 kB / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1668, allocations: 4 kB / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1669, allocations: 0 / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1673, allocations: 391.3 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1673, allocations: 3.984 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.1674, allocations: 15.94 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1674, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1674, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1674, allocations: 4 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1674, allocations: 4.031 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1676, allocations: 217.9 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1677, allocations: 92.91 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1677, allocations: 4 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.1678, allocations: 4 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1679, allocations: 11.98 kB / 439.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1679, allocations: 4 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.168, allocations: 152.2 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.168, allocations: 4 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1683, allocations: 20 kB / 439.9 MB, free: 15.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.1693, allocations: 473 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1695, allocations: 51.98 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1695, allocations: 0 / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.1696, allocations: 31.92 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1698, allocations: 23.94 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1703, allocations: 262.2 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1707, allocations: 0.716 MB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1707, allocations: 12.88 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.1708, allocations: 15.44 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1708, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004346/0.1751, allocations: 1.61 MB / 443.1 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: