Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") [: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.002332/0.002332, allocations: 188 kB / 7.461 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.188/1.188, 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.001678/0.001678, allocations: 122.6 kB / 247.1 MB, free: 6.367 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.19/0.19, allocations: 39.94 MB / 331.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.546e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4431, allocations: 81.32 MB / 0.5166 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4434, allocations: 69.58 kB / 0.5166 GB, free: 10.27 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.01303/0.4564, allocations: 4.347 MB / 0.5209 GB, free: 9.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.4564, allocations: 6 kB / 0.5209 GB, free: 9.453 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.0004814/0.4569, allocations: 463.8 kB / 0.5213 GB, free: 8.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.457, allocations: 8.5 kB / 0.5213 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.4571, allocations: 13.16 kB / 0.5214 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.4574, allocations: 219.7 kB / 0.5216 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4574, allocations: 1.531 kB / 0.5216 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.4575, allocations: 4.625 kB / 0.5216 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.4576, allocations: 22.36 kB / 0.5216 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.4577, allocations: 52.47 kB / 0.5216 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4577, allocations: 5.344 kB / 0.5217 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4577, allocations: 3.984 kB / 0.5217 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4577, allocations: 5.453 kB / 0.5217 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.4582, allocations: 296.8 kB / 0.5219 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4583, allocations: 49.78 kB / 0.522 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.4584, allocations: 19.89 kB / 0.522 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4584, allocations: 2 kB / 0.522 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.5e-05/0.4585, allocations: 65.58 kB / 0.5221 GB, free: 8.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4585, allocations: 1.25 kB / 0.5221 GB, free: 8.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004516/0.4589, allocations: 150.1 kB / 0.5222 GB, free: 8.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.459, allocations: 51.41 kB / 0.5223 GB, free: 8.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.4592, allocations: 196.7 kB / 0.5225 GB, free: 8.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4592, allocations: 28.2 kB / 0.5225 GB, free: 8.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.4592, allocations: 94.59 kB / 0.5226 GB, free: 7.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.4593, allocations: 30.58 kB / 0.5226 GB, free: 7.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.4593, allocations: 1.312 kB / 0.5226 GB, free: 7.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.4593, allocations: 325.6 kB / 0.5229 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.4594, allocations: 30.84 kB / 0.5229 GB, free: 7.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.4595, allocations: 49.56 kB / 0.523 GB, free: 7.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.4596, allocations: 51 kB / 0.523 GB, free: 7.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4596, allocations: 1.375 kB / 0.523 GB, free: 7.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002146/0.4598, allocations: 128 kB / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4598, allocations: 5.531 kB / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4598, allocations: 0 / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4599, allocations: 2 kB / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.46, allocations: 20.72 kB / 0.5232 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.46, allocations: 1.344 kB / 0.5232 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.4601, allocations: 7.703 kB / 0.5232 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.4601, allocations: 8.031 kB / 0.5232 GB, free: 7.539 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.471e-05/0.4602, allocations: 107.3 kB / 0.5233 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4602, allocations: 13.28 kB / 0.5233 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.4604, allocations: 113 kB / 0.5234 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4604, allocations: 1.219 kB / 0.5234 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4604, allocations: 0 / 0.5234 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4604, allocations: 0 / 0.5234 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.4608, allocations: 386 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4608, allocations: 1.406 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.4608, allocations: 8.344 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4608, allocations: 1.094 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4609, allocations: 1.875 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4609, allocations: 1.062 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4609, allocations: 3.906 kB / 0.5238 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001788/0.4611, allocations: 211.7 kB / 0.524 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.4611, allocations: 98.88 kB / 0.5241 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.4612, allocations: 9.203 kB / 0.5241 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.4612, allocations: 2.656 kB / 0.5241 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4613, allocations: 6.594 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4613, allocations: 7.859 kB / 0.5241 GB, free: 6.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001247/0.4614, allocations: 158 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.4617, allocations: 42.25 kB / 0.5243 GB, free: 6.656 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.0006952/0.4624, allocations: 330.1 kB / 0.5246 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4626, allocations: 109.4 kB / 0.5247 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4627, allocations: 1.562 kB / 0.5247 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.4627, allocations: 33.59 kB / 0.5248 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.463, allocations: 25.19 kB / 0.5248 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.4634, allocations: 190.1 kB / 0.525 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4636, allocations: 0.7311 MB / 0.5257 GB, free: 5.555 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4636, allocations: 0 / 0.5257 GB, free: 5.555 MB / 346.7 MB Notification: Performance of Templates: time 0.00466/0.4683, allocations: 1.718 MB / 0.5274 GB, free: 4.707 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)