Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002063/0.002064, allocations: 190.4 kB / 16.25 MB, free: 6.145 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.782/1.782, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.4079/0.4079, allocations: 39.94 MB / 309.4 MB, free: 9.367 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.001478/0.001478, allocations: 67.89 kB / 377.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 56.88 MB / 434 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00364/0.163, allocations: 1.841 MB / 435.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1647, allocations: 0.8663 MB / 436.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1648, allocations: 0 / 436.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.1655, allocations: 307.4 kB / 437 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1659, allocations: 199.5 kB / 437.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1664, allocations: 123.8 kB / 437.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.1667, allocations: 243.4 kB / 437.6 MB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.1668, allocations: 21.53 kB / 437.6 MB, free: 404 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.167, allocations: 135.5 kB / 437.7 MB, free: 268 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1672, allocations: 195.5 kB / 437.9 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1673, allocations: 8 kB / 437.9 MB, free: 64 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1674, allocations: 43.97 kB / 438 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1676, allocations: 135.6 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1678, allocations: 150.8 kB / 438.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1684, allocations: 366.9 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.1684, allocations: 0 / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1684, allocations: 0 / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1684, allocations: 0 / 438.6 MB, free: 15.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001292/0.1697, allocations: 0.7343 MB / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/0.1698, allocations: 11.89 kB / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1699, allocations: 52.31 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.1706, allocations: 447.7 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1706, allocations: 16.36 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1706, allocations: 8.062 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1709, allocations: 83.38 kB / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1709, allocations: 0 / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.171, allocations: 4 kB / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.171, allocations: 3.984 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1711, allocations: 23.98 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1716, allocations: 374.3 kB / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1719, allocations: 109.2 kB / 440.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.172, allocations: 45.62 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.172, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.1723, allocations: 113 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1723, allocations: 0 / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005149/0.1728, allocations: 196.9 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1729, allocations: 77.11 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.174, allocations: 1.034 MB / 441.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.174, allocations: 25.7 kB / 441.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1742, allocations: 240 kB / 442.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.1743, allocations: 35.62 kB / 442.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1743, allocations: 25.72 kB / 442.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1745, allocations: 370.8 kB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.1746, allocations: 27.98 kB / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.1747, allocations: 55.36 kB / 442.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1749, allocations: 95.34 kB / 442.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1749, allocations: 0 / 442.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002678/0.1751, allocations: 173.5 kB / 442.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1752, allocations: 8 kB / 442.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1752, allocations: 0 / 442.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1752, allocations: 4.062 kB / 442.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1753, allocations: 23.98 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1753, allocations: 3.938 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.1754, allocations: 11.92 kB / 443 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1755, allocations: 8 kB / 443 MB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002047/0.1757, allocations: 221.7 kB / 443.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.1757, allocations: 63.2 kB / 443.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.1758, allocations: 56 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1758, allocations: 8 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1758, allocations: 0 / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1758, allocations: 0 / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1761, allocations: 337.4 kB / 443.6 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1761, allocations: 0 / 443.6 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.1762, allocations: 11.98 kB / 443.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1762, allocations: 0 / 443.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1762, allocations: 4 kB / 443.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1762, allocations: 7.938 kB / 443.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1762, allocations: 0 / 443.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1765, allocations: 209.2 kB / 443.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1767, allocations: 136.4 kB / 444 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.1767, allocations: 8 kB / 444 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.1768, allocations: 0 / 444 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1768, allocations: 7.984 kB / 444 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1769, allocations: 8 kB / 444 MB, free: 9.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007125/0.1776, allocations: 0.776 MB / 444.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 444.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1778, allocations: 44 kB / 444.9 MB, free: 8.734 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008948/0.1787, allocations: 426.9 kB / 445.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.179, allocations: 87.83 kB / 445.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.179, allocations: 0 / 445.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.1791, allocations: 40.11 kB / 445.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.1795, allocations: 78.5 kB / 445.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1807, allocations: 0.9525 MB / 446.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1812, allocations: 0.8427 MB / 447.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1813, allocations: 66.92 kB / 447.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.1814, allocations: 27.42 kB / 447.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1814, allocations: 0 / 447.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of Templates: time 0.007537/0.1889, allocations: 3.676 MB / 451 MB, free: 2.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)