Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") [: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.003054/0.003054, allocations: 182.2 kB / 7.458 MB, free: 2.504 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.656 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.002038/0.002038, allocations: 121.5 kB / 247.1 MB, free: 6.379 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.186/0.186, allocations: 39.95 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.336e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4533, allocations: 81.32 MB / 0.5166 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4536, allocations: 67.53 kB / 0.5166 GB, free: 10.24 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.01264/0.4662, allocations: 4.175 MB / 0.5207 GB, free: 9.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.4663, allocations: 1.719 kB / 0.5207 GB, free: 9.469 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.0006793/0.467, allocations: 450 kB / 0.5212 GB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.467, allocations: 8.781 kB / 0.5212 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.4671, allocations: 9.281 kB / 0.5212 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.4676, allocations: 215.8 kB / 0.5214 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4676, allocations: 1 kB / 0.5214 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.4676, allocations: 12.94 kB / 0.5214 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.4678, allocations: 18.77 kB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.4679, allocations: 49.12 kB / 0.5215 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.4679, allocations: 3.938 kB / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4679, allocations: 0 / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4679, allocations: 1.25 kB / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.4685, allocations: 298.5 kB / 0.5217 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4686, allocations: 57.69 kB / 0.5218 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.4686, allocations: 22 kB / 0.5218 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4687, allocations: 0 / 0.5218 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.866e-05/0.4688, allocations: 62.28 kB / 0.5219 GB, free: 8.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4688, allocations: 0 / 0.5219 GB, free: 8.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.4693, allocations: 137.4 kB / 0.522 GB, free: 8.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.4693, allocations: 56.19 kB / 0.5221 GB, free: 8.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4695, allocations: 163.7 kB / 0.5222 GB, free: 8.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.4695, allocations: 27.11 kB / 0.5222 GB, free: 8.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.4696, allocations: 99.09 kB / 0.5223 GB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4696, allocations: 23.27 kB / 0.5224 GB, free: 7.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.4696, allocations: 1.375 kB / 0.5224 GB, free: 7.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.4697, allocations: 321.7 kB / 0.5227 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.4698, allocations: 31.53 kB / 0.5227 GB, free: 7.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.4698, allocations: 56.27 kB / 0.5228 GB, free: 7.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.4699, allocations: 37.39 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4699, allocations: 0 / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002334/0.4702, allocations: 138 kB / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4702, allocations: 5.656 kB / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4702, allocations: 0 / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4702, allocations: 2.031 kB / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4704, allocations: 20.27 kB / 0.5229 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4704, allocations: 1.344 kB / 0.5229 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4704, allocations: 7.125 kB / 0.523 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.4705, allocations: 4.406 kB / 0.523 GB, free: 7.582 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.775e-05/0.4705, allocations: 108.1 kB / 0.5231 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4706, allocations: 12.75 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.4708, allocations: 109.2 kB / 0.5232 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4708, allocations: 1.062 kB / 0.5232 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4708, allocations: 1.156 kB / 0.5232 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4708, allocations: 4 kB / 0.5232 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.4712, allocations: 363.7 kB / 0.5235 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4712, allocations: 1.469 kB / 0.5235 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.4712, allocations: 16.59 kB / 0.5235 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.4712, allocations: 4.891 kB / 0.5236 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4713, allocations: 10.06 kB / 0.5236 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4713, allocations: 1.312 kB / 0.5236 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4713, allocations: 0 / 0.5236 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001737/0.4714, allocations: 213.1 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4715, allocations: 96.66 kB / 0.5239 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4715, allocations: 1.25 kB / 0.5239 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.4716, allocations: 3.281 kB / 0.5239 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4717, allocations: 10.92 kB / 0.5239 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.4717, allocations: 6.875 kB / 0.5239 GB, free: 6.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.42e-05/0.4718, allocations: 138.7 kB / 0.524 GB, free: 6.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002856/0.4721, allocations: 32.84 kB / 0.524 GB, free: 6.691 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.0006439/0.4727, allocations: 328.1 kB / 0.5244 GB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4729, allocations: 116.2 kB / 0.5245 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4729, allocations: 1.312 kB / 0.5245 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.473, allocations: 37.64 kB / 0.5245 GB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4733, allocations: 16.45 kB / 0.5245 GB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4737, allocations: 155.5 kB / 0.5247 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.4739, allocations: 0.7243 MB / 0.5254 GB, free: 5.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4739, allocations: 0 / 0.5254 GB, free: 5.605 MB / 346.7 MB Notification: Performance of Templates: time 0.004053/0.4779, allocations: 1.65 MB / 0.527 GB, free: 4.785 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)