Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") [: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.003531/0.003531, allocations: 185.6 kB / 7.459 MB, free: 2.234 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.313/1.313, 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.001797/0.001797, allocations: 121.9 kB / 247.1 MB, free: 6.375 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.1802/0.1802, allocations: 39.95 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.243e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09821, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4484, allocations: 81.32 MB / 0.5166 GB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4487, allocations: 70.77 kB / 0.5166 GB, free: 10.29 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.018/0.4668, allocations: 4.252 MB / 0.5208 GB, free: 9.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.4668, allocations: 1.969 kB / 0.5208 GB, free: 9.496 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.0005636/0.4674, allocations: 463.9 kB / 0.5212 GB, free: 9.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4674, allocations: 8.938 kB / 0.5212 GB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.4675, allocations: 9.375 kB / 0.5213 GB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4679, allocations: 209.8 kB / 0.5215 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4679, allocations: 1.188 kB / 0.5215 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.468, allocations: 5.219 kB / 0.5215 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.4681, allocations: 26.86 kB / 0.5215 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.4682, allocations: 52.98 kB / 0.5215 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4683, allocations: 0 / 0.5215 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4683, allocations: 0 / 0.5215 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4683, allocations: 1.188 kB / 0.5215 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.4688, allocations: 295.4 kB / 0.5218 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.469, allocations: 57.17 kB / 0.5219 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.469, allocations: 21.92 kB / 0.5219 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4691, allocations: 0 / 0.5219 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.4692, allocations: 70.17 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.4692, allocations: 4 kB / 0.522 GB, free: 8.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.4698, allocations: 135.8 kB / 0.5221 GB, free: 8.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.4698, allocations: 56.72 kB / 0.5222 GB, free: 8.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.47, allocations: 173.4 kB / 0.5223 GB, free: 8.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4701, allocations: 28.45 kB / 0.5223 GB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.4701, allocations: 91.14 kB / 0.5224 GB, free: 8.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4701, allocations: 26.77 kB / 0.5225 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.4702, allocations: 1.375 kB / 0.5225 GB, free: 8.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.4702, allocations: 329.6 kB / 0.5228 GB, free: 7.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.4703, allocations: 31.56 kB / 0.5228 GB, free: 7.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.4705, allocations: 55.27 kB / 0.5229 GB, free: 7.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4706, allocations: 38.42 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4706, allocations: 0 / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003267/0.4709, allocations: 130.5 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.471, allocations: 5.5 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.471, allocations: 0 / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.471, allocations: 5.406 kB / 0.523 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4711, allocations: 17.73 kB / 0.523 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4712, allocations: 1.375 kB / 0.523 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.4713, allocations: 6.844 kB / 0.5231 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.4713, allocations: 4.125 kB / 0.5231 GB, free: 7.594 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.36e-05/0.4714, allocations: 112.8 kB / 0.5232 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.4714, allocations: 15.94 kB / 0.5232 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.4717, allocations: 108.1 kB / 0.5233 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4717, allocations: 5.375 kB / 0.5233 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4717, allocations: 0 / 0.5233 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4717, allocations: 0 / 0.5233 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.4722, allocations: 368.6 kB / 0.5236 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4722, allocations: 1.094 kB / 0.5236 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.4723, allocations: 16.08 kB / 0.5237 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4723, allocations: 1 kB / 0.5237 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4723, allocations: 5.344 kB / 0.5237 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4724, allocations: 5.188 kB / 0.5237 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4724, allocations: 1 kB / 0.5237 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/0.4726, allocations: 208.9 kB / 0.5239 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.4727, allocations: 101.1 kB / 0.524 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.4728, allocations: 1.156 kB / 0.524 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4729, allocations: 6.656 kB / 0.524 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.473, allocations: 7.234 kB / 0.524 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.473, allocations: 6.719 kB / 0.524 GB, free: 6.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001367/0.4731, allocations: 136.6 kB / 0.5241 GB, free: 6.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000498/0.4736, allocations: 41.8 kB / 0.5242 GB, free: 6.715 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.0009263/0.4746, allocations: 322.2 kB / 0.5245 GB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.4749, allocations: 116.9 kB / 0.5246 GB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4749, allocations: 0 / 0.5246 GB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.475, allocations: 39.58 kB / 0.5246 GB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4753, allocations: 19.48 kB / 0.5246 GB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.4758, allocations: 165.9 kB / 0.5248 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4761, allocations: 0.7295 MB / 0.5255 GB, free: 5.621 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4761, allocations: 0 / 0.5255 GB, free: 5.621 MB / 346.7 MB Notification: Performance of Templates: time 0.005905/0.482, allocations: 1.685 MB / 0.5271 GB, free: 4.781 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)