Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") [: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.003886/0.003886, allocations: 186.2 kB / 7.459 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.138/1.138, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001684/0.001684, allocations: 119.5 kB / 247.1 MB, free: 6.348 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.1752/0.1752, allocations: 39.93 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.444e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.0948, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.3996, allocations: 81.31 MB / 0.5166 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3999, allocations: 69.55 kB / 0.5166 GB, free: 10 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.01246/0.4124, allocations: 4.125 MB / 0.5207 GB, free: 9.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4124, allocations: 6.094 kB / 0.5207 GB, free: 9.293 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.0004427/0.4128, allocations: 455 kB / 0.5211 GB, free: 8.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4129, allocations: 9.344 kB / 0.5211 GB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.413, allocations: 17.5 kB / 0.5211 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4132, allocations: 210 kB / 0.5213 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4133, allocations: 5.344 kB / 0.5213 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4133, allocations: 4.188 kB / 0.5213 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.819e-05/0.4134, allocations: 21.58 kB / 0.5214 GB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.4135, allocations: 48.53 kB / 0.5214 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4135, allocations: 3.906 kB / 0.5214 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4135, allocations: 1.188 kB / 0.5214 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4135, allocations: 0 / 0.5214 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.4139, allocations: 292.3 kB / 0.5217 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.414, allocations: 53.12 kB / 0.5217 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.414, allocations: 22.06 kB / 0.5218 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4141, allocations: 1.094 kB / 0.5218 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.866e-05/0.4141, allocations: 65.16 kB / 0.5218 GB, free: 8.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4141, allocations: 0 / 0.5218 GB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.4146, allocations: 143 kB / 0.522 GB, free: 8.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.4146, allocations: 52.78 kB / 0.522 GB, free: 8.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.4147, allocations: 148 kB / 0.5222 GB, free: 7.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.4148, allocations: 32.42 kB / 0.5222 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.4148, allocations: 95.58 kB / 0.5223 GB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4148, allocations: 23.19 kB / 0.5223 GB, free: 7.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4149, allocations: 0 / 0.5223 GB, free: 7.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.4149, allocations: 334.4 kB / 0.5226 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.415, allocations: 38.08 kB / 0.5227 GB, free: 7.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.4151, allocations: 44.69 kB / 0.5227 GB, free: 7.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.4151, allocations: 36.48 kB / 0.5227 GB, free: 7.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4151, allocations: 0 / 0.5227 GB, free: 7.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002073/0.4154, allocations: 134.4 kB / 0.5229 GB, free: 7.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4154, allocations: 5.844 kB / 0.5229 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4154, allocations: 4.031 kB / 0.5229 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4154, allocations: 5.484 kB / 0.5229 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.4155, allocations: 12.44 kB / 0.5229 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4155, allocations: 1.219 kB / 0.5229 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.4156, allocations: 3.969 kB / 0.5229 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4156, allocations: 11.52 kB / 0.5229 GB, free: 7.398 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 5.84e-05/0.4157, allocations: 109 kB / 0.523 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.4157, allocations: 7.75 kB / 0.523 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.4159, allocations: 109.9 kB / 0.5231 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4159, allocations: 3.906 kB / 0.5231 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4159, allocations: 1.438 kB / 0.5231 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4159, allocations: 3.984 kB / 0.5231 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4162, allocations: 359.4 kB / 0.5235 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4162, allocations: 192 / 0.5235 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.4163, allocations: 21.33 kB / 0.5235 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4163, allocations: 1.188 kB / 0.5235 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4163, allocations: 5.75 kB / 0.5235 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4163, allocations: 1.062 kB / 0.5235 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4163, allocations: 1.406 kB / 0.5235 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001544/0.4165, allocations: 206.1 kB / 0.5237 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.4166, allocations: 94.66 kB / 0.5238 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.4166, allocations: 6.094 kB / 0.5238 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.4167, allocations: 6.5 kB / 0.5238 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4167, allocations: 10.86 kB / 0.5238 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4167, allocations: 6.062 kB / 0.5238 GB, free: 6.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.144e-05/0.4168, allocations: 124 kB / 0.5239 GB, free: 6.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000274/0.4171, allocations: 34.91 kB / 0.524 GB, free: 6.52 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.0006604/0.4178, allocations: 320.6 kB / 0.5243 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.418, allocations: 123.2 kB / 0.5244 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.418, allocations: 0 / 0.5244 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.418, allocations: 28.78 kB / 0.5244 GB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.4183, allocations: 21.55 kB / 0.5244 GB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4186, allocations: 142.6 kB / 0.5246 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.4188, allocations: 0.7307 MB / 0.5253 GB, free: 5.441 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4188, allocations: 0 / 0.5253 GB, free: 5.441 MB / 346.7 MB Notification: Performance of Templates: time 0.004107/0.423, allocations: 1.633 MB / 0.5269 GB, free: 4.621 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)