Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") [: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.002661/0.002661, allocations: 190.8 kB / 7.459 MB, free: 2.246 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.34/1.34, allocations: 194.2 MB / 202.1 MB, free: 8.641 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.001771/0.001771, allocations: 120.6 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.1823/0.1823, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.857e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09393, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.381, allocations: 81.42 MB / 0.5167 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.3812, allocations: 72.34 kB / 0.5168 GB, free: 10.41 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: time 0.01761/0.3989, allocations: 6.502 MB / 0.5231 GB, free: 8.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.3989, allocations: 4.125 kB / 0.5231 GB, free: 8.797 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.0006785/0.3996, allocations: 0.6112 MB / 0.5237 GB, free: 8.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3996, allocations: 12.47 kB / 0.5237 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.3997, allocations: 33.06 kB / 0.5237 GB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.4002, allocations: 280 kB / 0.524 GB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4003, allocations: 2.188 kB / 0.524 GB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.4003, allocations: 8.688 kB / 0.524 GB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001228/0.4004, allocations: 43.66 kB / 0.5241 GB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4006, allocations: 88.22 kB / 0.5241 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4006, allocations: 0 / 0.5241 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4006, allocations: 8.969 kB / 0.5242 GB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4006, allocations: 1.094 kB / 0.5242 GB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4012, allocations: 487.7 kB / 0.5246 GB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.4014, allocations: 107.8 kB / 0.5247 GB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.4015, allocations: 36.56 kB / 0.5248 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4015, allocations: 1.188 kB / 0.5248 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.4017, allocations: 109.3 kB / 0.5249 GB, free: 7.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.4017, allocations: 4 kB / 0.5249 GB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007231/0.4024, allocations: 296.5 kB / 0.5252 GB, free: 7.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4025, allocations: 82.33 kB / 0.5252 GB, free: 7.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.4029, allocations: 361.8 kB / 0.5256 GB, free: 6.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4029, allocations: 36.78 kB / 0.5256 GB, free: 6.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.403, allocations: 111.7 kB / 0.5257 GB, free: 6.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.403, allocations: 50.38 kB / 0.5258 GB, free: 6.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.4031, allocations: 2.75 kB / 0.5258 GB, free: 6.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.4032, allocations: 342.2 kB / 0.5261 GB, free: 6.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4033, allocations: 62.19 kB / 0.5262 GB, free: 6.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4034, allocations: 104 kB / 0.5263 GB, free: 6.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4036, allocations: 78.7 kB / 0.5263 GB, free: 6.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4036, allocations: 0 / 0.5263 GB, free: 6.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004309/0.404, allocations: 248.7 kB / 0.5266 GB, free: 6.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.404, allocations: 3.906 kB / 0.5266 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4041, allocations: 1.281 kB / 0.5266 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4041, allocations: 2.594 kB / 0.5266 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4042, allocations: 37.3 kB / 0.5266 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4043, allocations: 2.594 kB / 0.5266 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4044, allocations: 10.34 kB / 0.5266 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4044, allocations: 13.05 kB / 0.5266 GB, free: 6.316 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 8.675e-05/0.4045, allocations: 126.2 kB / 0.5268 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.4046, allocations: 28.62 kB / 0.5268 GB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.405, allocations: 188.1 kB / 0.527 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.405, allocations: 2.531 kB / 0.527 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.405, allocations: 1.219 kB / 0.527 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.405, allocations: 3.984 kB / 0.527 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.4057, allocations: 0.6214 MB / 0.5276 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4057, allocations: 1.5 kB / 0.5276 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.4058, allocations: 24.73 kB / 0.5276 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4058, allocations: 2.625 kB / 0.5276 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4059, allocations: 6.5 kB / 0.5276 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.4059, allocations: 2.969 kB / 0.5276 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4059, allocations: 7.875 kB / 0.5276 GB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003595/0.4062, allocations: 383.5 kB / 0.528 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.4064, allocations: 130 kB / 0.5281 GB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.4065, allocations: 6.656 kB / 0.5281 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.4066, allocations: 16.55 kB / 0.5281 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4067, allocations: 10.3 kB / 0.5281 GB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4067, allocations: 5.062 kB / 0.5281 GB, free: 5.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003284/0.4071, allocations: 290.7 kB / 0.5284 GB, free: 5.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.4075, allocations: 82.02 kB / 0.5285 GB, free: 5.082 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.001133/0.4087, allocations: 493.1 kB / 0.529 GB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.4091, allocations: 228.7 kB / 0.5292 GB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4091, allocations: 0 / 0.5292 GB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4092, allocations: 70.58 kB / 0.5293 GB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4096, allocations: 39.48 kB / 0.5293 GB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.4104, allocations: 389.5 kB / 0.5297 GB, free: 4.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.4107, allocations: 0.8064 MB / 0.5305 GB, free: 3.742 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4107, allocations: 0 / 0.5305 GB, free: 3.742 MB / 346.7 MB Notification: Performance of Templates: time 0.006531/0.4173, allocations: 3.228 MB / 0.5336 GB, free: 1.285 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)