Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") [: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.004885/0.004885, allocations: 184 kB / 7.456 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.223/1.223, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.00164/0.00164, allocations: 120.8 kB / 247.1 MB, free: 6.371 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.1881/0.1881, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.866e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 54.86 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4532, allocations: 81.32 MB / 0.5166 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.4534, allocations: 70.45 kB / 0.5166 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.01294/0.4664, allocations: 4.184 MB / 0.5207 GB, free: 9.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.4664, allocations: 1.344 kB / 0.5207 GB, free: 9.551 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.0005596/0.467, allocations: 450.7 kB / 0.5212 GB, free: 9.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4671, allocations: 11.62 kB / 0.5212 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4671, allocations: 10.06 kB / 0.5212 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.4675, allocations: 210.4 kB / 0.5214 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4675, allocations: 1.406 kB / 0.5214 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.4675, allocations: 9.25 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.45e-05/0.4676, allocations: 26.36 kB / 0.5214 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.4677, allocations: 49.11 kB / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4678, allocations: 0.5625 kB / 0.5215 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4678, allocations: 3.984 kB / 0.5215 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4678, allocations: 5.406 kB / 0.5215 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.4682, allocations: 290.1 kB / 0.5218 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4683, allocations: 49.62 kB / 0.5218 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.4684, allocations: 24.7 kB / 0.5218 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4684, allocations: 3.938 kB / 0.5218 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.4685, allocations: 62.97 kB / 0.5219 GB, free: 8.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4686, allocations: 0 / 0.5219 GB, free: 8.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.4691, allocations: 137.7 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.4692, allocations: 52.69 kB / 0.5221 GB, free: 8.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4693, allocations: 169.8 kB / 0.5222 GB, free: 8.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4694, allocations: 26.89 kB / 0.5223 GB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.4694, allocations: 95.66 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.4694, allocations: 28.17 kB / 0.5224 GB, free: 8.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.4695, allocations: 1.188 kB / 0.5224 GB, free: 8.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.4696, allocations: 325.4 kB / 0.5227 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.4696, allocations: 27.81 kB / 0.5227 GB, free: 7.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.4697, allocations: 55.27 kB / 0.5228 GB, free: 7.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.4698, allocations: 35.64 kB / 0.5228 GB, free: 7.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4698, allocations: 0 / 0.5228 GB, free: 7.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002516/0.4701, allocations: 143.4 kB / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4701, allocations: 5.406 kB / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4701, allocations: 0 / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4701, allocations: 1.344 kB / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4702, allocations: 18.33 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4703, allocations: 0 / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.4703, allocations: 4.312 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.4703, allocations: 4.594 kB / 0.523 GB, free: 7.664 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 0.0001074/0.4705, allocations: 106.7 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.4705, allocations: 25.09 kB / 0.5231 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4707, allocations: 101.6 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4708, allocations: 1.281 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4708, allocations: 0 / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4708, allocations: 1.188 kB / 0.5232 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.4712, allocations: 364.6 kB / 0.5235 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4712, allocations: 1.219 kB / 0.5235 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.4712, allocations: 15.98 kB / 0.5236 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4712, allocations: 1.062 kB / 0.5236 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4713, allocations: 14.47 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4713, allocations: 0 / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4713, allocations: 1.625 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001731/0.4714, allocations: 204 kB / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.4715, allocations: 99.25 kB / 0.5239 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4716, allocations: 5.969 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.4716, allocations: 1.969 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4717, allocations: 15.11 kB / 0.5239 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4717, allocations: 2.594 kB / 0.5239 GB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.405e-05/0.4718, allocations: 139.7 kB / 0.524 GB, free: 6.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.4721, allocations: 31.31 kB / 0.524 GB, free: 6.777 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.0008448/0.473, allocations: 332.3 kB / 0.5244 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.4732, allocations: 119.7 kB / 0.5245 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4732, allocations: 0 / 0.5245 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.4733, allocations: 31 kB / 0.5245 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4736, allocations: 14.92 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.0004165/0.474, allocations: 160.5 kB / 0.5247 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.4743, allocations: 0.7238 MB / 0.5254 GB, free: 5.688 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4743, allocations: 0 / 0.5254 GB, free: 5.688 MB / 346.7 MB Notification: Performance of Templates: time 0.005046/0.4793, allocations: 1.66 MB / 0.527 GB, free: 4.863 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)