Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01216/0.01216, allocations: 176 kB / 15.12 MB, free: 5.969 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.879/1.879, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001837/0.001837, allocations: 128.5 kB / 255.6 MB, free: 10.24 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.2807/0.2807, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000554/0.0005541, allocations: 12.38 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1505, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.2787, allocations: 82.15 MB / 0.5305 GB, free: 1.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.279, allocations: 79.95 kB / 0.5305 GB, free: 0.9688 MB / 378.7 MB [/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.2418/0.5208, allocations: 4.648 MB / 0.5351 GB, free: 83.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5209, allocations: 0 / 0.5351 GB, free: 83.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.5209, allocations: 2.922 kB / 0.5351 GB, free: 83.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005836/0.5215, allocations: 485.6 kB / 0.5355 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5215, allocations: 9.031 kB / 0.5355 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.5216, allocations: 9.594 kB / 0.5356 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5219, allocations: 203.1 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.522, allocations: 11.27 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.522, allocations: 5.141 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5222, allocations: 65.12 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5222, allocations: 1.531 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5222, allocations: 4.703 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5222, allocations: 1.188 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.5223, allocations: 19.34 kB / 0.5359 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.5227, allocations: 314.9 kB / 0.5362 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.5229, allocations: 64.31 kB / 0.5362 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.523, allocations: 0 / 0.5362 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.5231, allocations: 73.16 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.5232, allocations: 3.938 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006856/0.5239, allocations: 194.7 kB / 0.5365 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5239, allocations: 52.53 kB / 0.5365 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.5242, allocations: 172.8 kB / 0.5367 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5242, allocations: 31.86 kB / 0.5367 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.5242, allocations: 98.31 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.5243, allocations: 25.34 kB / 0.5368 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5243, allocations: 5.375 kB / 0.5368 GB, free: 81.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.5244, allocations: 323.2 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5245, allocations: 40.52 kB / 0.5372 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5246, allocations: 59.77 kB / 0.5372 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.5247, allocations: 73.31 kB / 0.5373 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5248, allocations: 1 kB / 0.5373 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003936/0.5252, allocations: 182.2 kB / 0.5375 GB, free: 81.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.5252, allocations: 44.17 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5252, allocations: 0.9688 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5253, allocations: 1.25 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5254, allocations: 18.78 kB / 0.5376 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5254, allocations: 2.172 kB / 0.5376 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.5255, allocations: 5.328 kB / 0.5376 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.5255, allocations: 9.25 kB / 0.5376 GB, free: 81.09 MB / 378.7 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 ($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 (11): * Single equations (assignments): 10 * 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.0001105/0.5256, allocations: 127.1 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.5256, allocations: 10.14 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.5259, allocations: 127.1 kB / 0.5378 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5259, allocations: 6.641 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.526, allocations: 0 / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-06/0.526, allocations: 0.5156 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.5265, allocations: 418.7 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5265, allocations: 1.406 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.5266, allocations: 14.28 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5266, allocations: 0.6562 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5266, allocations: 10.48 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5266, allocations: 4.547 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5266, allocations: 9.641 kB / 0.5383 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5269, allocations: 220.5 kB / 0.5385 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.527, allocations: 102 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.527, allocations: 6.016 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.5271, allocations: 8.219 kB / 0.5386 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.5272, allocations: 6.781 kB / 0.5386 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.5272, allocations: 3.047 kB / 0.5386 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5273, allocations: 147.9 kB / 0.5387 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5273, allocations: 1.406 kB / 0.5387 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.5277, allocations: 39.44 kB / 0.5388 GB, free: 80.23 MB / 378.7 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 (9): * Single equations (assignments): 7 * 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.0009739/0.5286, allocations: 437.3 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.529, allocations: 172.8 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.529, allocations: 1.125 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.5291, allocations: 34.86 kB / 0.5394 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5294, allocations: 21.67 kB / 0.5394 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.5299, allocations: 256 kB / 0.5397 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.5301, allocations: 0.7092 MB / 0.5403 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.5302, allocations: 15.62 kB / 0.5404 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.5302, allocations: 21.55 kB / 0.5404 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5302, allocations: 0 / 0.5404 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.005342/0.5356, allocations: 1.752 MB / 0.5421 GB, free: 78.81 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)