Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") [: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.002931/0.002931, allocations: 185.7 kB / 7.458 MB, free: 2.512 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.273/1.273, allocations: 194.2 MB / 202.1 MB, free: 8.668 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: 117.9 kB / 247.1 MB, free: 6.367 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.1831/0.1831, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.083e-05, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 54.88 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.3917, allocations: 81.31 MB / 0.5166 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.392, allocations: 75.03 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.01269/0.4047, allocations: 4.184 MB / 0.5207 GB, free: 9.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4047, allocations: 1.969 kB / 0.5207 GB, free: 9.543 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.0004143/0.4051, allocations: 449 kB / 0.5212 GB, free: 9.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4052, allocations: 8.5 kB / 0.5212 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.4052, allocations: 8.969 kB / 0.5212 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4055, allocations: 209.9 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4055, allocations: 1.25 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4056, allocations: 8.781 kB / 0.5214 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.041e-05/0.4056, allocations: 22.38 kB / 0.5214 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.4057, allocations: 53.95 kB / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4057, allocations: 0.5625 kB / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4058, allocations: 0 / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4058, allocations: 1.375 kB / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.4061, allocations: 294.5 kB / 0.5217 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4062, allocations: 51.36 kB / 0.5218 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.4063, allocations: 23.81 kB / 0.5218 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4063, allocations: 5.125 kB / 0.5218 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.559e-05/0.4064, allocations: 58.47 kB / 0.5219 GB, free: 8.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.4064, allocations: 0 / 0.5219 GB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003796/0.4068, allocations: 144.2 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.4068, allocations: 56.62 kB / 0.5221 GB, free: 8.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4069, allocations: 159.5 kB / 0.5222 GB, free: 8.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4069, allocations: 35.81 kB / 0.5223 GB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.407, allocations: 94.94 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.407, allocations: 24.02 kB / 0.5224 GB, free: 8.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.407, allocations: 1.5 kB / 0.5224 GB, free: 8.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.4071, allocations: 322 kB / 0.5227 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.4071, allocations: 28.94 kB / 0.5227 GB, free: 7.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.4072, allocations: 55.53 kB / 0.5228 GB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.873e-05/0.4073, allocations: 43.5 kB / 0.5228 GB, free: 7.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4073, allocations: 0 / 0.5228 GB, free: 7.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001975/0.4075, allocations: 135.6 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4075, allocations: 5.562 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4075, allocations: 0 / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4075, allocations: 1.188 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.4076, allocations: 17.69 kB / 0.523 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4076, allocations: 4.984 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.4077, allocations: 7.375 kB / 0.523 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.4077, allocations: 8.25 kB / 0.523 GB, free: 7.656 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 4.972e-05/0.4078, allocations: 105.4 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.4078, allocations: 12.25 kB / 0.5231 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.408, allocations: 108 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.408, allocations: 1 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.408, allocations: 1.469 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.408, allocations: 0 / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.4083, allocations: 370 kB / 0.5235 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4083, allocations: 1.344 kB / 0.5235 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4084, allocations: 9.344 kB / 0.5236 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4084, allocations: 0 / 0.5236 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4084, allocations: 11.08 kB / 0.5236 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4084, allocations: 0 / 0.5236 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4084, allocations: 2 kB / 0.5236 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001442/0.4086, allocations: 209.6 kB / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.4086, allocations: 99.27 kB / 0.5239 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4086, allocations: 1.094 kB / 0.5239 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.4087, allocations: 2.406 kB / 0.5239 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.4088, allocations: 15.45 kB / 0.5239 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4088, allocations: 7.203 kB / 0.5239 GB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.465e-05/0.4089, allocations: 137.1 kB / 0.524 GB, free: 6.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.4091, allocations: 38.33 kB / 0.5241 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.0006005/0.4097, allocations: 326.3 kB / 0.5244 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.4099, allocations: 118.4 kB / 0.5245 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4099, allocations: 3.812 kB / 0.5245 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.41, allocations: 24.97 kB / 0.5245 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4102, allocations: 19.83 kB / 0.5245 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.4106, allocations: 155.2 kB / 0.5247 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4108, allocations: 0.7275 MB / 0.5254 GB, free: 5.688 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4108, allocations: 0 / 0.5254 GB, free: 5.688 MB / 346.7 MB Notification: Performance of Templates: time 0.004205/0.415, allocations: 1.666 MB / 0.527 GB, free: 4.855 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)