Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001928/0.001928, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.599/1.599, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001649/0.001649, allocations: 115.5 kB / 247.4 MB, free: 6.199 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.1849/0.1849, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.688e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07477, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3874, allocations: 81.5 MB / 0.5173 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.3877, allocations: 72.17 kB / 0.5174 GB, free: 10.31 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.404, allocations: 7.02 MB / 0.5242 GB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.404, allocations: 0 / 0.5242 GB, free: 8.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.404, allocations: 7.719 kB / 0.5242 GB, free: 8.238 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005297/0.4046, allocations: 0.6252 MB / 0.5248 GB, free: 7.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4046, allocations: 11.09 kB / 0.5248 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.4047, allocations: 30.78 kB / 0.5249 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.4051, allocations: 288.8 kB / 0.5251 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4051, allocations: 3.844 kB / 0.5251 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.4051, allocations: 19.53 kB / 0.5252 GB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.4052, allocations: 40.08 kB / 0.5252 GB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4054, allocations: 89.59 kB / 0.5253 GB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4054, allocations: 0 / 0.5253 GB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4054, allocations: 3.844 kB / 0.5253 GB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4054, allocations: 0 / 0.5253 GB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4059, allocations: 0.4893 MB / 0.5258 GB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.406, allocations: 96.73 kB / 0.5259 GB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.4061, allocations: 43.77 kB / 0.5259 GB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4061, allocations: 3.828 kB / 0.5259 GB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.4062, allocations: 108.8 kB / 0.526 GB, free: 6.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4063, allocations: 0 / 0.526 GB, free: 6.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006054/0.4069, allocations: 333 kB / 0.5263 GB, free: 6.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4069, allocations: 81.05 kB / 0.5264 GB, free: 6.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.4073, allocations: 417.7 kB / 0.5268 GB, free: 6.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4073, allocations: 29.52 kB / 0.5268 GB, free: 6.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.4074, allocations: 159.1 kB / 0.527 GB, free: 6.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.4074, allocations: 44.64 kB / 0.527 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.4075, allocations: 3.844 kB / 0.527 GB, free: 6.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.4075, allocations: 344 kB / 0.5274 GB, free: 5.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.4076, allocations: 69.83 kB / 0.5274 GB, free: 5.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.4077, allocations: 99.77 kB / 0.5275 GB, free: 5.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.4078, allocations: 73.88 kB / 0.5276 GB, free: 5.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4079, allocations: 0 / 0.5276 GB, free: 5.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003027/0.4082, allocations: 248.4 kB / 0.5278 GB, free: 5.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.4082, allocations: 69.67 kB / 0.5279 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4082, allocations: 0 / 0.5279 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4082, allocations: 192 / 0.5279 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4084, allocations: 35.27 kB / 0.5279 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4084, allocations: 11.8 kB / 0.5279 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.4085, allocations: 15.69 kB / 0.528 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4085, allocations: 11.56 kB / 0.528 GB, free: 5.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.305e-05/0.4086, allocations: 124.5 kB / 0.5281 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.4086, allocations: 34.98 kB / 0.5281 GB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.4089, allocations: 208.5 kB / 0.5283 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4089, allocations: 0 / 0.5283 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4089, allocations: 3.812 kB / 0.5283 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4089, allocations: 3.984 kB / 0.5283 GB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.4095, allocations: 0.6554 MB / 0.529 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4095, allocations: 0 / 0.529 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.4096, allocations: 23.19 kB / 0.529 GB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4096, allocations: 0 / 0.529 GB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4096, allocations: 7.922 kB / 0.529 GB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4096, allocations: 3.875 kB / 0.529 GB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4096, allocations: 4.062 kB / 0.529 GB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4099, allocations: 393.8 kB / 0.5294 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.41, allocations: 145.6 kB / 0.5295 GB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.41, allocations: 15.61 kB / 0.5295 GB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4102, allocations: 7.828 kB / 0.5295 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.4102, allocations: 11.67 kB / 0.5295 GB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4102, allocations: 11.59 kB / 0.5296 GB, free: 4.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.4105, allocations: 319.4 kB / 0.5299 GB, free: 4.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4105, allocations: 0 / 0.5299 GB, free: 4.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4108, allocations: 93.36 kB / 0.53 GB, free: 4.406 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001107/0.412, allocations: 0.5426 MB / 0.5305 GB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4123, allocations: 313.2 kB / 0.5308 GB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4123, allocations: 0 / 0.5308 GB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.4124, allocations: 59.56 kB / 0.5308 GB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.4127, allocations: 32.91 kB / 0.5309 GB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.4133, allocations: 458.8 kB / 0.5313 GB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4135, allocations: 0.7787 MB / 0.5321 GB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.584e-05/0.4136, allocations: 40.19 kB / 0.5321 GB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.4137, allocations: 29.55 kB / 0.5321 GB, free: 2.906 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4137, allocations: 0 / 0.5321 GB, free: 2.906 MB / 346.7 MB Notification: Performance of Templates: time 0.005805/0.4195, allocations: 3.319 MB / 0.5354 GB, free: 15.82 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)