Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001435, allocations: 104 kB / 15.61 MB, free: 148 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.001509/0.001509, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.759/1.759, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3336/0.3336, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.001763/0.001763, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.151, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003485/0.1545, allocations: 1.685 MB / 436.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1559, allocations: 0.8055 MB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.156, allocations: 0 / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1563, allocations: 43.77 kB / 437 MB, free: 1.125 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.0002371/0.1566, allocations: 47.77 kB / 437.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1568, allocations: 83.69 kB / 437.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.157, allocations: 99.7 kB / 437.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1572, allocations: 12.22 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.1572, allocations: 47.77 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.1573, allocations: 23.86 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1574, allocations: 4 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1575, allocations: 43.98 kB / 437.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.1576, allocations: 19.91 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1576, allocations: 31.75 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1579, allocations: 119.9 kB / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1579, allocations: 0 / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1579, allocations: 3.938 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1579, allocations: 0 / 437.6 MB, free: 0.5977 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.0007566/0.1587, allocations: 414.9 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1587, allocations: 11.89 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.1588, allocations: 8.844 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1591, allocations: 204.1 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1591, allocations: 4.359 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1592, allocations: 12.12 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1594, allocations: 57.67 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1594, allocations: 0 / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1594, allocations: 3.938 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1594, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.1595, allocations: 23.98 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.16, allocations: 284.9 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1602, allocations: 54.69 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.1603, allocations: 32.7 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1603, allocations: 4 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1605, allocations: 67.3 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1605, allocations: 0 / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006507/0.1612, allocations: 173.3 kB / 438.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.1613, allocations: 51.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1615, allocations: 190.1 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1615, allocations: 25.7 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.1616, allocations: 100.1 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1617, allocations: 23.7 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1617, allocations: 21.72 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1619, allocations: 338.8 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.162, allocations: 19.98 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.1621, allocations: 33.7 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1622, allocations: 65.62 kB / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1623, allocations: 0 / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.1624, allocations: 97.53 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1625, allocations: 8.031 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1625, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1625, allocations: 4 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.1626, allocations: 19.98 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1626, allocations: 160 / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1627, allocations: 7.938 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1627, allocations: 4.172 kB / 439.9 MB, free: 14.04 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.0001272/0.1628, allocations: 133.1 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1628, allocations: 11.84 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.1629, allocations: 16.72 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1629, allocations: 7.922 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1629, allocations: 0 / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1629, allocations: 4.312 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.1634, allocations: 387.3 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1635, allocations: 7.938 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1635, allocations: 12 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1635, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1635, allocations: 11.97 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1635, allocations: 0 / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1635, allocations: 7.922 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1638, allocations: 192.3 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1638, allocations: 89.02 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1639, allocations: 3.938 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1639, allocations: 8 kB / 440.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.164, allocations: 11.92 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.164, allocations: 8 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1641, allocations: 144 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1641, allocations: 0 / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1644, allocations: 24 kB / 440.9 MB, free: 12.88 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.00103/0.1655, allocations: 461.9 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1657, allocations: 59.91 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1657, allocations: 0 / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.1658, allocations: 35.97 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1661, allocations: 35.11 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.1665, allocations: 231 kB / 441.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1668, allocations: 0.7119 MB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.1669, allocations: 13.19 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1669, allocations: 19.42 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1669, allocations: 0 / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.004499/0.1714, allocations: 1.689 MB / 444.2 MB, free: 9.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)