Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") [: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.00449/0.00449, allocations: 189.7 kB / 7.458 MB, free: 2.52 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.346/1.346, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.00174/0.00174, allocations: 115.6 kB / 247.1 MB, free: 6.363 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.1645/0.1645, allocations: 39.95 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.178e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09456, allocations: 54.88 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.3858, allocations: 81.57 MB / 0.5168 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3861, allocations: 77.02 kB / 0.5169 GB, free: 10.34 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: time 0.01847/0.4045, allocations: 6.591 MB / 0.5233 GB, free: 8.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4046, allocations: 1.344 kB / 0.5233 GB, free: 8.887 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.0004751/0.4051, allocations: 482.7 kB / 0.5238 GB, free: 8.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4051, allocations: 8.781 kB / 0.5238 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.4052, allocations: 12.88 kB / 0.5238 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.4055, allocations: 205.4 kB / 0.524 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4055, allocations: 1.344 kB / 0.524 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4056, allocations: 2.594 kB / 0.524 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.453e-05/0.4057, allocations: 22.91 kB / 0.524 GB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4058, allocations: 68.95 kB / 0.5241 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4058, allocations: 0 / 0.5241 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4058, allocations: 1.312 kB / 0.5241 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4058, allocations: 0 / 0.5241 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.4062, allocations: 279.1 kB / 0.5244 GB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4064, allocations: 49.86 kB / 0.5244 GB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.4064, allocations: 29.25 kB / 0.5245 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4065, allocations: 1.156 kB / 0.5245 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.4066, allocations: 65.56 kB / 0.5245 GB, free: 7.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.876e-06/0.4066, allocations: 0 / 0.5245 GB, free: 7.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005029/0.4071, allocations: 134 kB / 0.5246 GB, free: 7.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4071, allocations: 78.61 kB / 0.5247 GB, free: 7.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4073, allocations: 135.7 kB / 0.5248 GB, free: 7.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4073, allocations: 31.14 kB / 0.5249 GB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.4073, allocations: 90.52 kB / 0.525 GB, free: 7.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4074, allocations: 26.83 kB / 0.525 GB, free: 7.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.4074, allocations: 1.156 kB / 0.525 GB, free: 7.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.4075, allocations: 320.3 kB / 0.5253 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.4075, allocations: 25.22 kB / 0.5253 GB, free: 7.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.4076, allocations: 47.58 kB / 0.5254 GB, free: 7.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.4077, allocations: 36.39 kB / 0.5254 GB, free: 7.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4077, allocations: 0 / 0.5254 GB, free: 7.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002153/0.4079, allocations: 123.4 kB / 0.5255 GB, free: 6.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4079, allocations: 8.906 kB / 0.5255 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4079, allocations: 0 / 0.5255 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.408, allocations: 1.531 kB / 0.5255 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4081, allocations: 16.95 kB / 0.5255 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4081, allocations: 5.312 kB / 0.5255 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.4082, allocations: 10.69 kB / 0.5256 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4082, allocations: 8.438 kB / 0.5256 GB, free: 6.938 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.148e-05/0.4083, allocations: 107.9 kB / 0.5257 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.4083, allocations: 9 kB / 0.5257 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.4085, allocations: 103.3 kB / 0.5258 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4085, allocations: 1.188 kB / 0.5258 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4085, allocations: 192 / 0.5258 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4085, allocations: 9.203 kB / 0.5258 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.4088, allocations: 362.5 kB / 0.5261 GB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4088, allocations: 5.375 kB / 0.5261 GB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.4089, allocations: 13.03 kB / 0.5262 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4089, allocations: 5.422 kB / 0.5262 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4089, allocations: 1.406 kB / 0.5262 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4089, allocations: 0 / 0.5262 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4089, allocations: 1.469 kB / 0.5262 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001636/0.4091, allocations: 211.1 kB / 0.5264 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.4092, allocations: 93.28 kB / 0.5264 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.4092, allocations: 1.219 kB / 0.5265 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.4093, allocations: 2.562 kB / 0.5265 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.4093, allocations: 11.39 kB / 0.5265 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4094, allocations: 2.469 kB / 0.5265 GB, free: 6.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.082e-05/0.4094, allocations: 114.5 kB / 0.5266 GB, free: 6.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.4098, allocations: 47.67 kB / 0.5266 GB, free: 6.059 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.0007508/0.4106, allocations: 393.2 kB / 0.527 GB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4107, allocations: 98.69 kB / 0.5271 GB, free: 5.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4107, allocations: 3.938 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.4108, allocations: 25.34 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.4111, allocations: 20.95 kB / 0.5271 GB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.4114, allocations: 139.8 kB / 0.5273 GB, free: 5.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4116, allocations: 0.717 MB / 0.528 GB, free: 4.938 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4116, allocations: 1.312 kB / 0.528 GB, free: 4.938 MB / 346.7 MB Notification: Performance of Templates: time 0.004204/0.4158, allocations: 1.908 MB / 0.5298 GB, free: 3.957 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)