Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001994/0.001994, allocations: 181.4 kB / 12.74 MB, free: 2.582 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.757/1.757, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.00169/0.001689, allocations: 111.8 kB / 252.6 MB, free: 4.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2273/0.2273, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.106e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5612, allocations: 82.03 MB / 0.5246 GB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.5615, allocations: 71.64 kB / 0.5247 GB, free: 9.07 MB / 346.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.01102/0.5725, allocations: 4.454 MB / 0.529 GB, free: 5.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5725, allocations: 4 kB / 0.529 GB, free: 5.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5725, allocations: 3.938 kB / 0.529 GB, free: 5.559 MB / 346.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.0004367/0.573, allocations: 452.8 kB / 0.5294 GB, free: 5.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.573, allocations: 8.031 kB / 0.5295 GB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.5731, allocations: 11.91 kB / 0.5295 GB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5733, allocations: 209.9 kB / 0.5297 GB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5734, allocations: 4 kB / 0.5297 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.5734, allocations: 4 kB / 0.5297 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5736, allocations: 53.42 kB / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5736, allocations: 0 / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5736, allocations: 7.953 kB / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5736, allocations: 0 / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.5737, allocations: 23.62 kB / 0.5298 GB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.5741, allocations: 319 kB / 0.5301 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.5742, allocations: 54.5 kB / 0.5301 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.5742, allocations: 20.36 kB / 0.5301 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5742, allocations: 0 / 0.5301 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.5744, allocations: 74.97 kB / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5744, allocations: 0 / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004275/0.5748, allocations: 151.9 kB / 0.5303 GB, free: 4.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.5749, allocations: 63.33 kB / 0.5304 GB, free: 4.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.575, allocations: 168.2 kB / 0.5306 GB, free: 3.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.575, allocations: 33.58 kB / 0.5306 GB, free: 3.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.5751, allocations: 99.75 kB / 0.5307 GB, free: 3.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5751, allocations: 26.73 kB / 0.5307 GB, free: 3.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.5751, allocations: 3.875 kB / 0.5307 GB, free: 3.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.5752, allocations: 322.7 kB / 0.531 GB, free: 3.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.5752, allocations: 35.5 kB / 0.5311 GB, free: 3.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.5753, allocations: 53.08 kB / 0.5311 GB, free: 3.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.5754, allocations: 70.38 kB / 0.5312 GB, free: 3.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5754, allocations: 0 / 0.5312 GB, free: 3.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000204/0.5756, allocations: 185.1 kB / 0.5314 GB, free: 3.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.5756, allocations: 36.7 kB / 0.5314 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5756, allocations: 0 / 0.5314 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5757, allocations: 0 / 0.5314 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.5758, allocations: 16.08 kB / 0.5314 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5758, allocations: 8.125 kB / 0.5314 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.5758, allocations: 8 kB / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.5759, allocations: 7.062 kB / 0.5314 GB, free: 3.066 MB / 346.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 () * 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 6.337e-05/0.5759, allocations: 115.7 kB / 0.5315 GB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.5759, allocations: 23.75 kB / 0.5316 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5762, allocations: 110.4 kB / 0.5317 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5762, allocations: 3.938 kB / 0.5317 GB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5762, allocations: 3.984 kB / 0.5317 GB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5762, allocations: 0 / 0.5317 GB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.5766, allocations: 408.2 kB / 0.5321 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5766, allocations: 4 kB / 0.5321 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.5767, allocations: 16.02 kB / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5767, allocations: 0 / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5767, allocations: 6.438 kB / 0.5321 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5767, allocations: 0 / 0.5321 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5767, allocations: 0 / 0.5321 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.5769, allocations: 218.5 kB / 0.5323 GB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.577, allocations: 108.6 kB / 0.5324 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.577, allocations: 0 / 0.5324 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.5771, allocations: 11.61 kB / 0.5324 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.5771, allocations: 4 kB / 0.5324 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.5771, allocations: 4 kB / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.5772, allocations: 137.8 kB / 0.5326 GB, free: 1.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5772, allocations: 0 / 0.5326 GB, free: 1.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.5775, allocations: 35.19 kB / 0.5326 GB, free: 1.883 MB / 346.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) * 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.0008466/0.5783, allocations: 397 kB / 0.533 GB, free: 1.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.5786, allocations: 166.6 kB / 0.5331 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5786, allocations: 0 / 0.5331 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.5786, allocations: 34.59 kB / 0.5332 GB, free: 1.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5789, allocations: 23.44 kB / 0.5332 GB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.5792, allocations: 161.6 kB / 0.5333 GB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5793, allocations: 0.7043 MB / 0.534 GB, free: 500 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.493e-05/0.5794, allocations: 16.42 kB / 0.534 GB, free: 484 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.5795, allocations: 15.44 kB / 0.5341 GB, free: 468 kB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5795, allocations: 0 / 0.5341 GB, free: 468 kB / 346.7 MB Notification: Performance of Templates: time 0.004342/0.5838, allocations: 1.738 MB / 0.5358 GB, free: 14.75 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)