Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002285/0.002284, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.711/1.711, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4301/0.4301, allocations: 39.93 MB / 309.7 MB, free: 9.316 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.001607/0.001607, allocations: 74.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1631, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004366/0.1676, allocations: 1.774 MB / 436.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1692, allocations: 0.8795 MB / 437.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.1693, allocations: 7.938 kB / 437.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.1699, allocations: 311.3 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.1703, allocations: 199.4 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1707, allocations: 135.7 kB / 437.8 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.171, allocations: 239.4 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.1711, allocations: 21.52 kB / 438.1 MB, free: 100 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1713, allocations: 127.5 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1716, allocations: 187.5 kB / 438.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1716, allocations: 12 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1718, allocations: 47.97 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1719, allocations: 143.6 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1721, allocations: 142.8 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1725, allocations: 359 kB / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1725, allocations: 0 / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1725, allocations: 0 / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1725, allocations: 0 / 439 MB, free: 15.1 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.001073/0.1736, allocations: 0.7342 MB / 439.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.1737, allocations: 15.89 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1738, allocations: 52.31 kB / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.1744, allocations: 447.8 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1744, allocations: 4.312 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1745, allocations: 12.12 kB / 440.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1747, allocations: 87.28 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1747, allocations: 0 / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1748, allocations: 8 kB / 440.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1748, allocations: 4 kB / 440.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1749, allocations: 27.97 kB / 440.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.1755, allocations: 370.4 kB / 440.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1758, allocations: 113.2 kB / 440.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1759, allocations: 41.64 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1759, allocations: 0 / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.1762, allocations: 113 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1763, allocations: 4 kB / 441.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005016/0.1768, allocations: 196.9 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1768, allocations: 81.11 kB / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1781, allocations: 1.03 MB / 442.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1782, allocations: 29.7 kB / 442.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1784, allocations: 236 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.1784, allocations: 27.66 kB / 442.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1785, allocations: 33.7 kB / 442.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.1787, allocations: 366.8 kB / 443 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.1788, allocations: 27.98 kB / 443.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1789, allocations: 59.41 kB / 443.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1792, allocations: 91.36 kB / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1792, allocations: 0 / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.1795, allocations: 172.8 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.1795, allocations: 8 kB / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1795, allocations: 0 / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1796, allocations: 0 / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1797, allocations: 28.61 kB / 443.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1797, allocations: 0 / 443.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.1798, allocations: 12 kB / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1798, allocations: 4 kB / 443.4 MB, free: 10.43 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.0002348/0.1801, allocations: 229.6 kB / 443.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1801, allocations: 55.28 kB / 443.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.1802, allocations: 63.98 kB / 443.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1802, allocations: 7.938 kB / 443.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1802, allocations: 0 / 443.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1803, allocations: 0 / 443.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.1806, allocations: 345.4 kB / 444.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1806, allocations: 4 kB / 444.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.1807, allocations: 8 kB / 444.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1807, allocations: 0 / 444.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1807, allocations: 7.984 kB / 444.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1807, allocations: 4 kB / 444.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1807, allocations: 0 / 444.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.181, allocations: 201.2 kB / 444.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1812, allocations: 140.4 kB / 444.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1813, allocations: 0 / 444.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.1814, allocations: 11.98 kB / 444.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.1814, allocations: 7.984 kB / 444.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1814, allocations: 7.938 kB / 444.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008742/0.1823, allocations: 0.7682 MB / 445.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1823, allocations: 0 / 445.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1826, allocations: 47.98 kB / 445.3 MB, free: 8.445 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.001069/0.1837, allocations: 421.7 kB / 445.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.184, allocations: 87.89 kB / 445.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.184, allocations: 0 / 445.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1841, allocations: 39.92 kB / 445.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1845, allocations: 74 kB / 445.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.186, allocations: 0.8709 MB / 446.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.1865, allocations: 0.8427 MB / 447.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1867, allocations: 55.44 kB / 447.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.1868, allocations: 31.44 kB / 447.7 MB, free: 6 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1868, allocations: 0 / 447.7 MB, free: 6 MB / 382.1 MB Notification: Performance of Templates: time 0.008928/0.1957, allocations: 3.719 MB / 451.4 MB, free: 2.285 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)