Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") [: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.002851/0.002851, allocations: 184.2 kB / 7.457 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.322/1.322, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001754/0.001755, allocations: 115.3 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.1748/0.1748, allocations: 39.94 MB / 331.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.264e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.09807, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.3842, allocations: 81.32 MB / 0.5166 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3845, allocations: 70 kB / 0.5166 GB, free: 10.06 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.01189/0.3964, allocations: 4.19 MB / 0.5207 GB, free: 9.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3965, allocations: 1.906 kB / 0.5207 GB, free: 9.309 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.0004396/0.3969, allocations: 446.6 kB / 0.5212 GB, free: 8.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.397, allocations: 12.47 kB / 0.5212 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.397, allocations: 9.688 kB / 0.5212 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3973, allocations: 214.6 kB / 0.5214 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3974, allocations: 1 kB / 0.5214 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3974, allocations: 8.281 kB / 0.5214 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.3975, allocations: 16.25 kB / 0.5214 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.488e-05/0.3976, allocations: 55.69 kB / 0.5215 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3976, allocations: 0.5625 kB / 0.5215 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3977, allocations: 2.312 kB / 0.5215 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3977, allocations: 4 kB / 0.5215 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3981, allocations: 296.1 kB / 0.5218 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3982, allocations: 50.17 kB / 0.5218 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.3983, allocations: 21.56 kB / 0.5218 GB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3983, allocations: 5.281 kB / 0.5218 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.3984, allocations: 61.75 kB / 0.5219 GB, free: 8.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3984, allocations: 0 / 0.5219 GB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004979/0.3989, allocations: 139.7 kB / 0.522 GB, free: 8.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.399, allocations: 52.78 kB / 0.5221 GB, free: 8.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3991, allocations: 162.9 kB / 0.5222 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3992, allocations: 31.09 kB / 0.5223 GB, free: 7.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.3992, allocations: 99.28 kB / 0.5223 GB, free: 7.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3992, allocations: 26.89 kB / 0.5224 GB, free: 7.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.3993, allocations: 1.25 kB / 0.5224 GB, free: 7.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.3993, allocations: 322.5 kB / 0.5227 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.3994, allocations: 31.56 kB / 0.5227 GB, free: 7.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.3995, allocations: 48.84 kB / 0.5228 GB, free: 7.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.3996, allocations: 40.91 kB / 0.5228 GB, free: 7.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3996, allocations: 0 / 0.5228 GB, free: 7.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000243/0.3998, allocations: 142.3 kB / 0.5229 GB, free: 7.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3999, allocations: 5.062 kB / 0.5229 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3999, allocations: 0 / 0.5229 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3999, allocations: 1.219 kB / 0.5229 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4, allocations: 14 kB / 0.523 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4, allocations: 5.234 kB / 0.523 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.4001, allocations: 6.812 kB / 0.523 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.4001, allocations: 8.562 kB / 0.523 GB, free: 7.426 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 7.789e-05/0.4002, allocations: 104.1 kB / 0.5231 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4002, allocations: 20.91 kB / 0.5231 GB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4005, allocations: 105.2 kB / 0.5232 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4005, allocations: 1.375 kB / 0.5232 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4005, allocations: 1.312 kB / 0.5232 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4005, allocations: 0 / 0.5232 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.4009, allocations: 365.9 kB / 0.5235 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4009, allocations: 0 / 0.5235 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.4009, allocations: 17.22 kB / 0.5236 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4009, allocations: 0 / 0.5236 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.401, allocations: 10.7 kB / 0.5236 GB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.401, allocations: 0 / 0.5236 GB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.401, allocations: 1.594 kB / 0.5236 GB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001592/0.4011, allocations: 203.8 kB / 0.5238 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4012, allocations: 104.2 kB / 0.5239 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4012, allocations: 1.719 kB / 0.5239 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.4013, allocations: 1.938 kB / 0.5239 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.4014, allocations: 14.52 kB / 0.5239 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4014, allocations: 3.156 kB / 0.5239 GB, free: 6.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.533e-05/0.4015, allocations: 134.1 kB / 0.524 GB, free: 6.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.4018, allocations: 36.8 kB / 0.5241 GB, free: 6.543 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.0006767/0.4025, allocations: 334.5 kB / 0.5244 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.4027, allocations: 113 kB / 0.5245 GB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4027, allocations: 0 / 0.5245 GB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.4027, allocations: 37.52 kB / 0.5245 GB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.403, allocations: 15.77 kB / 0.5245 GB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.4034, allocations: 152.5 kB / 0.5247 GB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.4036, allocations: 0.7276 MB / 0.5254 GB, free: 5.457 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4036, allocations: 0 / 0.5254 GB, free: 5.457 MB / 346.7 MB Notification: Performance of Templates: time 0.004346/0.4079, allocations: 1.664 MB / 0.527 GB, free: 4.621 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)