Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003063/0.003063, allocations: 187.6 kB / 7.461 MB, free: 2.508 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.46/1.46, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001828/0.001828, allocations: 121.9 kB / 247.1 MB, free: 6.355 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.1618/0.1618, allocations: 39.94 MB / 331.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.325e-05, allocations: 4 kB / 392.8 MB, free: 75.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09768, allocations: 54.88 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3897, allocations: 81.15 MB / 0.5164 GB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.3899, allocations: 73.08 kB / 0.5165 GB, free: 9.98 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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: time 0.0109/0.4008, allocations: 4.012 MB / 0.5204 GB, free: 9.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4009, allocations: 5.188 kB / 0.5204 GB, free: 9.301 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003588/0.4012, allocations: 451.9 kB / 0.5208 GB, free: 8.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4013, allocations: 8.5 kB / 0.5208 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.4013, allocations: 13.34 kB / 0.5209 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.4016, allocations: 203.3 kB / 0.5211 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4016, allocations: 0 / 0.5211 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.4017, allocations: 5.031 kB / 0.5211 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/0.4017, allocations: 11.91 kB / 0.5211 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.521e-05/0.4018, allocations: 57.05 kB / 0.5211 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4018, allocations: 5.016 kB / 0.5211 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4019, allocations: 0 / 0.5211 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4019, allocations: 1.281 kB / 0.5211 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.402, allocations: 180.2 kB / 0.5213 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.4021, allocations: 42.95 kB / 0.5213 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.4022, allocations: 32.06 kB / 0.5214 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.4022, allocations: 1.688 kB / 0.5214 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/0.4023, allocations: 57.59 kB / 0.5214 GB, free: 8.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4023, allocations: 0 / 0.5214 GB, free: 8.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.00018/0.4025, allocations: 71.22 kB / 0.5215 GB, free: 8.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.4025, allocations: 53.22 kB / 0.5215 GB, free: 8.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4027, allocations: 161.3 kB / 0.5217 GB, free: 8.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.4027, allocations: 27.89 kB / 0.5217 GB, free: 8.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.4027, allocations: 96.52 kB / 0.5218 GB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4027, allocations: 16.08 kB / 0.5218 GB, free: 7.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.4028, allocations: 1.125 kB / 0.5218 GB, free: 7.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.4028, allocations: 327.1 kB / 0.5221 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.4029, allocations: 24.97 kB / 0.5222 GB, free: 7.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.4029, allocations: 40.22 kB / 0.5222 GB, free: 7.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.144e-05/0.403, allocations: 29.11 kB / 0.5222 GB, free: 7.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.403, allocations: 5.25 kB / 0.5222 GB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000175/0.4032, allocations: 110.5 kB / 0.5223 GB, free: 7.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4032, allocations: 9.5 kB / 0.5224 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4032, allocations: 0 / 0.5224 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4032, allocations: 1.469 kB / 0.5224 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.4033, allocations: 12.7 kB / 0.5224 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4033, allocations: 1.312 kB / 0.5224 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.4034, allocations: 12.84 kB / 0.5224 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4034, allocations: 6.438 kB / 0.5224 GB, free: 7.543 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 (8): * Single equations (assignments): 7 * 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 5.727e-05/0.4035, allocations: 112.8 kB / 0.5225 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.4035, allocations: 15.89 kB / 0.5225 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.4037, allocations: 80.05 kB / 0.5226 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4037, allocations: 0 / 0.5226 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4037, allocations: 1.406 kB / 0.5226 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4037, allocations: 0 / 0.5226 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.4038, allocations: 163.9 kB / 0.5227 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4038, allocations: 0 / 0.5227 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.4038, allocations: 5.5 kB / 0.5228 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4038, allocations: 4 kB / 0.5228 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4039, allocations: 16.61 kB / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4039, allocations: 0 / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4039, allocations: 1.188 kB / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001113/0.404, allocations: 94.25 kB / 0.5229 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.404, allocations: 95.25 kB / 0.523 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4041, allocations: 1.125 kB / 0.523 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.4041, allocations: 10.11 kB / 0.523 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.4042, allocations: 5.656 kB / 0.523 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4042, allocations: 5.188 kB / 0.523 GB, free: 6.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.135e-05/0.4043, allocations: 138.2 kB / 0.5231 GB, free: 6.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.4045, allocations: 27.88 kB / 0.5231 GB, free: 6.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005218/0.405, allocations: 295.5 kB / 0.5234 GB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.4052, allocations: 97.5 kB / 0.5235 GB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4052, allocations: 0 / 0.5235 GB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.4052, allocations: 19.97 kB / 0.5235 GB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4055, allocations: 27.3 kB / 0.5236 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.4058, allocations: 132.2 kB / 0.5237 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4059, allocations: 0.7234 MB / 0.5244 GB, free: 5.832 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4059, allocations: 5.188 kB / 0.5244 GB, free: 5.828 MB / 346.7 MB Notification: Performance of Templates: time 0.003453/0.4094, allocations: 1.406 MB / 0.5258 GB, free: 5.129 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)