Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001227/0.001228, allocations: 181.9 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.741/1.741, allocations: 194.3 MB / 207.5 MB, free: 3.402 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.001611/0.001611, allocations: 120.4 kB / 252.6 MB, free: 4.77 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.2733/0.2733, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.613e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.492, allocations: 82.06 MB / 0.5246 GB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4924, allocations: 73.45 kB / 0.5247 GB, free: 9.062 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.01224/0.5046, allocations: 5.064 MB / 0.5296 GB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5046, allocations: 0 / 0.5296 GB, free: 5.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5047, allocations: 0 / 0.5296 GB, free: 5.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004207/0.5051, allocations: 477 kB / 0.5301 GB, free: 4.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5051, allocations: 8.031 kB / 0.5301 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.5052, allocations: 19.8 kB / 0.5301 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.5055, allocations: 222.3 kB / 0.5303 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.5055, allocations: 3.812 kB / 0.5303 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.5055, allocations: 4 kB / 0.5303 GB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5056, allocations: 65.23 kB / 0.5304 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5057, allocations: 7.891 kB / 0.5304 GB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5057, allocations: 3.75 kB / 0.5304 GB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5057, allocations: 3.984 kB / 0.5304 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.5058, allocations: 31.48 kB / 0.5304 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.5062, allocations: 342.9 kB / 0.5308 GB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5063, allocations: 74.05 kB / 0.5308 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.5064, allocations: 28.69 kB / 0.5309 GB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5064, allocations: 4 kB / 0.5309 GB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.5065, allocations: 74.92 kB / 0.5309 GB, free: 3.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5065, allocations: 4 kB / 0.5309 GB, free: 3.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005013/0.507, allocations: 195.6 kB / 0.5311 GB, free: 3.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5071, allocations: 51.41 kB / 0.5312 GB, free: 3.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5073, allocations: 224.2 kB / 0.5314 GB, free: 3.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.5073, allocations: 25.7 kB / 0.5314 GB, free: 3.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.5073, allocations: 122.7 kB / 0.5315 GB, free: 3.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.5074, allocations: 19.66 kB / 0.5316 GB, free: 3.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.5074, allocations: 4 kB / 0.5316 GB, free: 3.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.5075, allocations: 334.7 kB / 0.5319 GB, free: 2.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.5075, allocations: 39.38 kB / 0.5319 GB, free: 2.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.5076, allocations: 58.31 kB / 0.532 GB, free: 2.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.5077, allocations: 72.75 kB / 0.532 GB, free: 2.586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5077, allocations: 0 / 0.532 GB, free: 2.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002267/0.508, allocations: 198.4 kB / 0.5322 GB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.508, allocations: 41.56 kB / 0.5323 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.508, allocations: 192 / 0.5323 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.508, allocations: 4.031 kB / 0.5323 GB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.5081, allocations: 19.94 kB / 0.5323 GB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5082, allocations: 3.984 kB / 0.5323 GB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.5082, allocations: 8 kB / 0.5323 GB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.5082, allocations: 7.875 kB / 0.5323 GB, free: 2.332 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 (12): * Single equations (assignments): 11 * 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.256e-05/0.5083, allocations: 112.9 kB / 0.5324 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.5083, allocations: 19.77 kB / 0.5324 GB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.5086, allocations: 157.8 kB / 0.5326 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5086, allocations: 0 / 0.5326 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5086, allocations: 0 / 0.5326 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5086, allocations: 0 / 0.5326 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.5091, allocations: 462.9 kB / 0.533 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5091, allocations: 4 kB / 0.533 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.5092, allocations: 15.12 kB / 0.533 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5092, allocations: 0 / 0.533 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5092, allocations: 0 / 0.533 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5092, allocations: 8.031 kB / 0.5331 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5092, allocations: 0 / 0.5331 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.5094, allocations: 245.7 kB / 0.5333 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.5095, allocations: 107.1 kB / 0.5334 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.5095, allocations: 7.984 kB / 0.5334 GB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.5096, allocations: 6.188 kB / 0.5334 GB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.5096, allocations: 11.98 kB / 0.5334 GB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5097, allocations: 2.875 kB / 0.5334 GB, free: 1.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.5098, allocations: 184.7 kB / 0.5336 GB, free: 1.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5098, allocations: 0 / 0.5336 GB, free: 1.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.5101, allocations: 51.19 kB / 0.5336 GB, free: 1 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 (11): * Single equations (assignments): 9 * 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.0008109/0.5109, allocations: 391.7 kB / 0.534 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5111, allocations: 186.1 kB / 0.5342 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5111, allocations: 0 / 0.5342 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.5112, allocations: 37.88 kB / 0.5342 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5114, allocations: 30.5 kB / 0.5343 GB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.5118, allocations: 219.1 kB / 0.5345 GB, free: 268 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5121, allocations: 0.727 MB / 0.5352 GB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.5122, allocations: 20.55 kB / 0.5352 GB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.5122, allocations: 19.42 kB / 0.5352 GB, free: 15.47 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5122, allocations: 0 / 0.5352 GB, free: 15.47 MB / 362.7 MB Notification: Performance of Templates: time 0.005027/0.5173, allocations: 1.975 MB / 0.5371 GB, free: 13.52 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)