Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") [: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.003108/0.003108, allocations: 181.4 kB / 7.455 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.146/1.146, 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.001679/0.001679, allocations: 125.2 kB / 247.1 MB, free: 6.391 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.1654/0.1654, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.315e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4572, allocations: 81.32 MB / 0.5166 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004711/0.4577, allocations: 69.67 kB / 0.5167 GB, free: 10.3 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.01634/0.4741, allocations: 4.183 MB / 0.5207 GB, free: 9.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.4742, allocations: 0.9375 kB / 0.5207 GB, free: 9.539 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.0005359/0.4747, allocations: 447.8 kB / 0.5212 GB, free: 9.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4748, allocations: 13.28 kB / 0.5212 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.4748, allocations: 9.062 kB / 0.5212 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.4752, allocations: 211.2 kB / 0.5214 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4752, allocations: 5.031 kB / 0.5214 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.4753, allocations: 8.562 kB / 0.5214 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.4754, allocations: 22.05 kB / 0.5214 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4755, allocations: 49.95 kB / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4755, allocations: 0 / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.4755, allocations: 3.984 kB / 0.5215 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4755, allocations: 1 kB / 0.5215 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.476, allocations: 295.1 kB / 0.5218 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.4761, allocations: 53.72 kB / 0.5218 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.4761, allocations: 18.92 kB / 0.5218 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4762, allocations: 1.031 kB / 0.5218 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.746e-05/0.4763, allocations: 58 kB / 0.5219 GB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.4763, allocations: 0 / 0.5219 GB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000516/0.4768, allocations: 144 kB / 0.522 GB, free: 8.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4768, allocations: 57.5 kB / 0.5221 GB, free: 8.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.477, allocations: 166.3 kB / 0.5222 GB, free: 8.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.477, allocations: 28.33 kB / 0.5223 GB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.4771, allocations: 102.5 kB / 0.5224 GB, free: 8.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.4771, allocations: 15.38 kB / 0.5224 GB, free: 8.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.4771, allocations: 1.156 kB / 0.5224 GB, free: 8.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.4772, allocations: 326.4 kB / 0.5227 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.4773, allocations: 28.12 kB / 0.5227 GB, free: 7.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.4774, allocations: 59.48 kB / 0.5228 GB, free: 7.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.4775, allocations: 40.05 kB / 0.5228 GB, free: 7.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4775, allocations: 3.938 kB / 0.5228 GB, free: 7.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002642/0.4778, allocations: 135.9 kB / 0.5229 GB, free: 7.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4778, allocations: 4.438 kB / 0.5229 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4778, allocations: 1 kB / 0.5229 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4778, allocations: 1.062 kB / 0.5229 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4779, allocations: 24.98 kB / 0.523 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.478, allocations: 5.875 kB / 0.523 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.478, allocations: 2.375 kB / 0.523 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.478, allocations: 5.469 kB / 0.523 GB, free: 7.648 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.203e-05/0.4781, allocations: 104 kB / 0.5231 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4781, allocations: 15.83 kB / 0.5231 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.4784, allocations: 103.1 kB / 0.5232 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4784, allocations: 1.406 kB / 0.5232 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4784, allocations: 4 kB / 0.5232 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4784, allocations: 0 / 0.5232 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.4788, allocations: 366.7 kB / 0.5235 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4788, allocations: 0 / 0.5235 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.4788, allocations: 16.08 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4788, allocations: 1.312 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4789, allocations: 5.375 kB / 0.5236 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4789, allocations: 1.562 kB / 0.5236 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4789, allocations: 0 / 0.5236 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001949/0.4791, allocations: 211.5 kB / 0.5238 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.4792, allocations: 95.59 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4792, allocations: 1.562 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.4793, allocations: 2.562 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4793, allocations: 14.8 kB / 0.5239 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4793, allocations: 4.438 kB / 0.5239 GB, free: 6.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.666e-05/0.4794, allocations: 138.7 kB / 0.524 GB, free: 6.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.4797, allocations: 32.75 kB / 0.524 GB, free: 6.773 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.0007474/0.4805, allocations: 338.6 kB / 0.5244 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.4808, allocations: 114 kB / 0.5245 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4808, allocations: 5.156 kB / 0.5245 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.4808, allocations: 24.66 kB / 0.5245 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4811, allocations: 17.36 kB / 0.5245 GB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.4815, allocations: 159.1 kB / 0.5247 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.4818, allocations: 0.725 MB / 0.5254 GB, free: 5.68 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4818, allocations: 4.062 kB / 0.5254 GB, free: 5.676 MB / 346.7 MB Notification: Performance of Templates: time 0.005017/0.4868, allocations: 1.661 MB / 0.527 GB, free: 4.848 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)