Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") [: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.004294/0.004294, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.16/1.16, allocations: 194.2 MB / 202.1 MB, free: 8.703 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.001659/0.00166, allocations: 122.1 kB / 247.1 MB, free: 6.344 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.195/0.195, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.826e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 54.88 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.4483, allocations: 81.32 MB / 0.5166 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4486, allocations: 67.36 kB / 0.5166 GB, free: 10.25 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.01347/0.4621, allocations: 4.301 MB / 0.5208 GB, free: 9.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.4622, allocations: 1.406 kB / 0.5209 GB, free: 9.441 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.0007262/0.4629, allocations: 458.8 kB / 0.5213 GB, free: 8.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.463, allocations: 8.562 kB / 0.5213 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.4631, allocations: 13.89 kB / 0.5213 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.4635, allocations: 214.3 kB / 0.5215 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4635, allocations: 6.188 kB / 0.5215 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4636, allocations: 4.312 kB / 0.5215 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.429e-05/0.4637, allocations: 18.7 kB / 0.5215 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.4638, allocations: 54.39 kB / 0.5216 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4638, allocations: 1.281 kB / 0.5216 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4638, allocations: 0 / 0.5216 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4638, allocations: 1.406 kB / 0.5216 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.4642, allocations: 293.9 kB / 0.5219 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4644, allocations: 65.75 kB / 0.5219 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.4644, allocations: 16.48 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4645, allocations: 1.156 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.615e-05/0.4646, allocations: 62.11 kB / 0.522 GB, free: 8.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.4646, allocations: 0 / 0.522 GB, free: 8.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004991/0.4651, allocations: 152.4 kB / 0.5222 GB, free: 8.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.4651, allocations: 52.41 kB / 0.5222 GB, free: 8.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.4653, allocations: 188 kB / 0.5224 GB, free: 8.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4653, allocations: 28.67 kB / 0.5224 GB, free: 8.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.4654, allocations: 91.91 kB / 0.5225 GB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4654, allocations: 19.78 kB / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-06/0.4654, allocations: 1.344 kB / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.4655, allocations: 325.2 kB / 0.5228 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.4655, allocations: 40.16 kB / 0.5229 GB, free: 7.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.4656, allocations: 48.77 kB / 0.5229 GB, free: 7.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.4657, allocations: 36.39 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4657, allocations: 0 / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002238/0.4659, allocations: 141.5 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.466, allocations: 5.688 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.466, allocations: 0 / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.466, allocations: 1.375 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.4661, allocations: 17.95 kB / 0.5231 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4661, allocations: 5.344 kB / 0.5231 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.4662, allocations: 6.594 kB / 0.5231 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.4662, allocations: 8.469 kB / 0.5231 GB, free: 7.535 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.791e-05/0.4663, allocations: 117 kB / 0.5232 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.4663, allocations: 13.03 kB / 0.5233 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.4665, allocations: 102.8 kB / 0.5234 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4666, allocations: 1.844 kB / 0.5234 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4666, allocations: 7.906 kB / 0.5234 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4666, allocations: 3.984 kB / 0.5234 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4669, allocations: 368.2 kB / 0.5237 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.4669, allocations: 3.906 kB / 0.5237 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.467, allocations: 13.22 kB / 0.5237 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.467, allocations: 1 kB / 0.5237 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.467, allocations: 5.422 kB / 0.5237 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.467, allocations: 1.062 kB / 0.5237 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.467, allocations: 9.094 kB / 0.5238 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001757/0.4672, allocations: 206.3 kB / 0.5239 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.4673, allocations: 105 kB / 0.524 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4673, allocations: 0.9688 kB / 0.524 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.4674, allocations: 2.406 kB / 0.5241 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4675, allocations: 11.36 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4675, allocations: 7.281 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000117/0.4676, allocations: 143.7 kB / 0.5242 GB, free: 6.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.4679, allocations: 37.92 kB / 0.5242 GB, free: 6.652 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.0007375/0.4686, allocations: 324.2 kB / 0.5246 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4689, allocations: 107.7 kB / 0.5247 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4689, allocations: 4.062 kB / 0.5247 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.469, allocations: 37.39 kB / 0.5247 GB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4693, allocations: 25.17 kB / 0.5247 GB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.4697, allocations: 178.6 kB / 0.5249 GB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.47, allocations: 0.7291 MB / 0.5256 GB, free: 5.562 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.47, allocations: 5.25 kB / 0.5256 GB, free: 5.559 MB / 346.7 MB Notification: Performance of Templates: time 0.004839/0.4748, allocations: 1.705 MB / 0.5273 GB, free: 4.703 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)