Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008004/0.008004, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.67/1.67, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001737/0.001737, allocations: 116.6 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2018/0.2018, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 15.84 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1112, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.2334, allocations: 82.91 MB / 0.5312 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.2337, allocations: 71.95 kB / 0.5313 GB, free: 216 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2396/0.4733, allocations: 3.618 MB / 0.5348 GB, free: 83.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4733, allocations: 4 kB / 0.5348 GB, free: 83.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.4734, allocations: 2.281 kB / 0.5348 GB, free: 83.47 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005591/0.4739, allocations: 0.5095 MB / 0.5353 GB, free: 82.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.474, allocations: 9.797 kB / 0.5353 GB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.474, allocations: 20.39 kB / 0.5353 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.4743, allocations: 214.2 kB / 0.5355 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4744, allocations: 10.25 kB / 0.5355 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4744, allocations: 8 kB / 0.5356 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.4746, allocations: 84.14 kB / 0.5356 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4747, allocations: 0 / 0.5356 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4747, allocations: 5.875 kB / 0.5356 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4747, allocations: 5.328 kB / 0.5356 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.4749, allocations: 46.66 kB / 0.5357 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.4754, allocations: 380.7 kB / 0.536 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.4757, allocations: 101.5 kB / 0.5361 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.4758, allocations: 0 / 0.5361 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.476, allocations: 87.05 kB / 0.5362 GB, free: 82.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.476, allocations: 0 / 0.5362 GB, free: 82.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004434/0.4764, allocations: 162.9 kB / 0.5364 GB, free: 82.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4765, allocations: 53.03 kB / 0.5364 GB, free: 82.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4767, allocations: 157.2 kB / 0.5366 GB, free: 82.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4767, allocations: 27.86 kB / 0.5366 GB, free: 82.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.4768, allocations: 105.5 kB / 0.5367 GB, free: 82.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4768, allocations: 29.42 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4768, allocations: 2.094 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.4769, allocations: 327.8 kB / 0.5371 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4771, allocations: 44.05 kB / 0.5371 GB, free: 81.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4772, allocations: 75.14 kB / 0.5372 GB, free: 81.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4774, allocations: 86.17 kB / 0.5373 GB, free: 81.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4774, allocations: 7.938 kB / 0.5373 GB, free: 81.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003914/0.4778, allocations: 203.8 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.4779, allocations: 35.55 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4779, allocations: 1.438 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4779, allocations: 1.281 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.478, allocations: 20.64 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.478, allocations: 2.906 kB / 0.5375 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.4781, allocations: 24.67 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4782, allocations: 6.203 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001076/0.4783, allocations: 127.9 kB / 0.5377 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4783, allocations: 13.8 kB / 0.5377 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.4787, allocations: 136 kB / 0.5378 GB, free: 81.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4787, allocations: 5.734 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4787, allocations: 0 / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4787, allocations: 2.125 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.4789, allocations: 208.8 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.479, allocations: 0.7031 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.4791, allocations: 13.86 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4791, allocations: 0 / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4791, allocations: 10.05 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4791, allocations: 0 / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4791, allocations: 0.6094 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.4795, allocations: 200.2 kB / 0.5382 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.4796, allocations: 102.7 kB / 0.5383 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4797, allocations: 6.703 kB / 0.5383 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.4798, allocations: 15.17 kB / 0.5383 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.4798, allocations: 6.922 kB / 0.5384 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4798, allocations: 7.031 kB / 0.5384 GB, free: 80.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.48, allocations: 128.5 kB / 0.5385 GB, free: 80.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.48, allocations: 3.938 kB / 0.5385 GB, free: 80.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.4803, allocations: 40.55 kB / 0.5385 GB, free: 80.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009173/0.4812, allocations: 398.6 kB / 0.5389 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.4815, allocations: 187.1 kB / 0.5391 GB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4816, allocations: 128 / 0.5391 GB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.4817, allocations: 52.62 kB / 0.5391 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4819, allocations: 25.56 kB / 0.5392 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.4825, allocations: 283.4 kB / 0.5394 GB, free: 80.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.4827, allocations: 0.7148 MB / 0.5401 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.655e-05/0.4828, allocations: 16.34 kB / 0.5401 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.4828, allocations: 14.95 kB / 0.5402 GB, free: 79.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4828, allocations: 0 / 0.5402 GB, free: 79.63 MB / 378.7 MB Notification: Performance of Templates: time 0.005289/0.4881, allocations: 1.794 MB / 0.5419 GB, free: 79.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)