Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") [: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.002924/0.002924, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.307/1.307, 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.001774/0.001774, allocations: 122 kB / 247.1 MB, free: 6.402 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.1951/0.1951, allocations: 39.94 MB / 331.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.585e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4528, allocations: 81.31 MB / 0.5166 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4531, allocations: 71.67 kB / 0.5166 GB, free: 10.36 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.01351/0.4666, allocations: 4.24 MB / 0.5208 GB, free: 9.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4666, allocations: 5.594 kB / 0.5208 GB, free: 9.582 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.0004878/0.4671, allocations: 460.4 kB / 0.5212 GB, free: 9.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4672, allocations: 12.23 kB / 0.5212 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.4672, allocations: 14.22 kB / 0.5212 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.4676, allocations: 205.9 kB / 0.5214 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4676, allocations: 1.219 kB / 0.5214 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.4676, allocations: 4.156 kB / 0.5215 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.044e-05/0.4677, allocations: 23.42 kB / 0.5215 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.4678, allocations: 56.17 kB / 0.5215 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4678, allocations: 0 / 0.5215 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4679, allocations: 1.25 kB / 0.5215 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4679, allocations: 0 / 0.5215 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.4682, allocations: 291.6 kB / 0.5218 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4684, allocations: 58.14 kB / 0.5219 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.4684, allocations: 19.58 kB / 0.5219 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.4684, allocations: 0.875 kB / 0.5219 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.952e-05/0.4685, allocations: 70.05 kB / 0.5219 GB, free: 8.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4685, allocations: 0 / 0.5219 GB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004483/0.469, allocations: 138.5 kB / 0.5221 GB, free: 8.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.469, allocations: 52.62 kB / 0.5221 GB, free: 8.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4692, allocations: 175.2 kB / 0.5223 GB, free: 8.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4692, allocations: 31.41 kB / 0.5223 GB, free: 8.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.4693, allocations: 89.02 kB / 0.5224 GB, free: 8.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.4693, allocations: 26.86 kB / 0.5224 GB, free: 8.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.4693, allocations: 0.9688 kB / 0.5224 GB, free: 8.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.4694, allocations: 328.8 kB / 0.5228 GB, free: 7.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.4694, allocations: 30.75 kB / 0.5228 GB, free: 7.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.4695, allocations: 58.14 kB / 0.5228 GB, free: 7.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.4696, allocations: 40.11 kB / 0.5229 GB, free: 7.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4696, allocations: 0 / 0.5229 GB, free: 7.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002066/0.4698, allocations: 128.1 kB / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4698, allocations: 5.125 kB / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4699, allocations: 1.312 kB / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4699, allocations: 96 / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.47, allocations: 28.89 kB / 0.523 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.47, allocations: 5.406 kB / 0.523 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.4701, allocations: 12.53 kB / 0.523 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4701, allocations: 3.625 kB / 0.5231 GB, free: 7.676 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.639e-05/0.4701, allocations: 103.9 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.4702, allocations: 12.94 kB / 0.5232 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.4704, allocations: 110.7 kB / 0.5233 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4704, allocations: 1.25 kB / 0.5233 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4704, allocations: 0 / 0.5233 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4704, allocations: 0 / 0.5233 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.4707, allocations: 378.1 kB / 0.5236 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4708, allocations: 1.031 kB / 0.5236 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.4708, allocations: 13.27 kB / 0.5236 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4708, allocations: 0.9375 kB / 0.5236 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4708, allocations: 1 kB / 0.5236 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4708, allocations: 0.9688 kB / 0.5236 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4708, allocations: 1.125 kB / 0.5236 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001654/0.471, allocations: 210.5 kB / 0.5238 GB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.4711, allocations: 100.1 kB / 0.5239 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4711, allocations: 2.094 kB / 0.5239 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.4712, allocations: 2.188 kB / 0.5239 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4712, allocations: 7.141 kB / 0.524 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4713, allocations: 6.469 kB / 0.524 GB, free: 6.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.849e-05/0.4714, allocations: 142.5 kB / 0.5241 GB, free: 6.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000277/0.4717, allocations: 40.02 kB / 0.5241 GB, free: 6.809 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.000743/0.4724, allocations: 327.5 kB / 0.5244 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.4726, allocations: 121.4 kB / 0.5246 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4726, allocations: 0 / 0.5246 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.4727, allocations: 30.89 kB / 0.5246 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.473, allocations: 24.48 kB / 0.5246 GB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.4734, allocations: 166.4 kB / 0.5248 GB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.4737, allocations: 0.7296 MB / 0.5255 GB, free: 5.711 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4737, allocations: 0 / 0.5255 GB, free: 5.711 MB / 346.7 MB Notification: Performance of Templates: time 0.004607/0.4783, allocations: 1.674 MB / 0.5271 GB, free: 4.875 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)