Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009606, allocations: 98.27 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.01079/0.01079, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.847/1.847, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.4479/0.4479, allocations: 40.01 MB / 310.7 MB, free: 9.641 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.0006714/0.0006713, allocations: 16 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 57.96 MB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002719/0.1546, allocations: 1.401 MB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1564, allocations: 0.7846 MB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1566, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1571, allocations: 35.83 kB / 439.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.1575, allocations: 43.84 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.158, allocations: 75.84 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1583, allocations: 95.69 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1585, allocations: 16.22 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1586, allocations: 35.78 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.1587, allocations: 27.84 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1588, allocations: 4 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1589, allocations: 39.92 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.159, allocations: 15.92 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.1591, allocations: 61.44 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1593, allocations: 115.9 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1594, allocations: 0 / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1594, allocations: 0 / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1594, allocations: 0 / 440.2 MB, free: 15.12 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.0007375/0.1601, allocations: 399.1 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.1602, allocations: 12.03 kB / 440.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.1603, allocations: 8.844 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1606, allocations: 204 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1606, allocations: 8.375 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1607, allocations: 8.125 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1608, allocations: 49.67 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1609, allocations: 4 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1609, allocations: 4 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1609, allocations: 0 / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.161, allocations: 23.97 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.1614, allocations: 284.8 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1616, allocations: 66.55 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.1617, allocations: 20.86 kB / 441.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1617, allocations: 3.984 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1619, allocations: 67.3 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.162, allocations: 7.938 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005982/0.1626, allocations: 165.4 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1626, allocations: 55.39 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1628, allocations: 186.1 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1628, allocations: 29.7 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.1629, allocations: 104.1 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.1629, allocations: 19.72 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.163, allocations: 17.7 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1631, allocations: 330.8 kB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.1632, allocations: 20 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.1633, allocations: 33.7 kB / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1634, allocations: 57.7 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1634, allocations: 0 / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.1636, allocations: 105.5 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1637, allocations: 12.03 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1637, allocations: 0 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1637, allocations: 0 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1638, allocations: 15.94 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1638, allocations: 8.141 kB / 442.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.1639, allocations: 7.922 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1639, allocations: 4 kB / 442.5 MB, free: 12.59 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.0001784/0.1641, allocations: 121.8 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1641, allocations: 12.28 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.1642, allocations: 20.7 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1642, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1642, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1642, allocations: 7.938 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1648, allocations: 391.2 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1648, allocations: 0 / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1648, allocations: 8 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1648, allocations: 8.016 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1649, allocations: 7.938 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1649, allocations: 4.125 kB / 443 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1649, allocations: 0 / 443 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1651, allocations: 208.2 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.1652, allocations: 88.92 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1652, allocations: 11.92 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1653, allocations: 8 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1653, allocations: 4 kB / 443.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1653, allocations: 7.984 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1655, allocations: 144.1 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1657, allocations: 19.98 kB / 443.5 MB, free: 11.43 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.00105/0.1668, allocations: 468.5 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.167, allocations: 47.98 kB / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.167, allocations: 0 / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.1671, allocations: 35.92 kB / 444 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1674, allocations: 39.97 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1679, allocations: 234.7 kB / 444.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1682, allocations: 0.7083 MB / 445 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.1683, allocations: 21.16 kB / 445 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1683, allocations: 15.44 kB / 445.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1683, allocations: 0 / 445.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Templates: time 0.004687/0.173, allocations: 1.619 MB / 446.7 MB, free: 8.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: