Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") [: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.002473/0.002473, allocations: 183.2 kB / 7.459 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.232/1.232, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001714/0.001714, allocations: 122.4 kB / 247.1 MB, free: 6.383 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.1868/0.1868, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.025e-05, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 54.86 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4461, allocations: 81.32 MB / 0.5166 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4463, allocations: 70.69 kB / 0.5166 GB, free: 10.4 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.0135/0.4599, allocations: 4.253 MB / 0.5208 GB, free: 9.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4599, allocations: 2.281 kB / 0.5208 GB, free: 9.613 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.0005164/0.4604, allocations: 459.7 kB / 0.5212 GB, free: 9.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4605, allocations: 9.25 kB / 0.5212 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.4606, allocations: 12.67 kB / 0.5213 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4609, allocations: 214.5 kB / 0.5215 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4609, allocations: 1.875 kB / 0.5215 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.461, allocations: 8.531 kB / 0.5215 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.319e-05/0.4611, allocations: 19.73 kB / 0.5215 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.4612, allocations: 51.27 kB / 0.5215 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4612, allocations: 1.312 kB / 0.5215 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4612, allocations: 0 / 0.5215 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.4612, allocations: 0.9375 kB / 0.5215 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.4616, allocations: 296.7 kB / 0.5218 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4617, allocations: 52.78 kB / 0.5219 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.4617, allocations: 20.23 kB / 0.5219 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4618, allocations: 1.781 kB / 0.5219 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.288e-05/0.4619, allocations: 64.11 kB / 0.522 GB, free: 8.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4619, allocations: 5.438 kB / 0.522 GB, free: 8.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004418/0.4623, allocations: 141 kB / 0.5221 GB, free: 8.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.4623, allocations: 52.59 kB / 0.5222 GB, free: 8.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4625, allocations: 172.2 kB / 0.5223 GB, free: 8.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4625, allocations: 26.73 kB / 0.5223 GB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.4626, allocations: 92.75 kB / 0.5224 GB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.4626, allocations: 30.03 kB / 0.5225 GB, free: 8.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.4626, allocations: 2.25 kB / 0.5225 GB, free: 8.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.4627, allocations: 330.2 kB / 0.5228 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.4627, allocations: 32.09 kB / 0.5228 GB, free: 7.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.4628, allocations: 50.56 kB / 0.5229 GB, free: 7.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.4629, allocations: 39.25 kB / 0.5229 GB, free: 7.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4629, allocations: 4.906 kB / 0.5229 GB, free: 7.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002214/0.4632, allocations: 132.7 kB / 0.523 GB, free: 7.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4632, allocations: 5.844 kB / 0.523 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4632, allocations: 0 / 0.523 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4632, allocations: 1.719 kB / 0.523 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4633, allocations: 17.59 kB / 0.523 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4633, allocations: 4.984 kB / 0.5231 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.4634, allocations: 6.812 kB / 0.5231 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.4634, allocations: 4.219 kB / 0.5231 GB, free: 7.711 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.507e-05/0.4635, allocations: 108.7 kB / 0.5232 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4635, allocations: 13.59 kB / 0.5232 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4638, allocations: 103.4 kB / 0.5233 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4638, allocations: 9.469 kB / 0.5233 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4638, allocations: 0 / 0.5233 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4638, allocations: 3.984 kB / 0.5233 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.4642, allocations: 367 kB / 0.5236 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4642, allocations: 1.469 kB / 0.5236 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.4642, allocations: 16.73 kB / 0.5237 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4643, allocations: 0 / 0.5237 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4643, allocations: 2.938 kB / 0.5237 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4643, allocations: 192 / 0.5237 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4643, allocations: 5.344 kB / 0.5237 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001692/0.4645, allocations: 210.4 kB / 0.5239 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.4645, allocations: 100.5 kB / 0.524 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4646, allocations: 1.219 kB / 0.524 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4647, allocations: 3.531 kB / 0.524 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4647, allocations: 18.2 kB / 0.524 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4647, allocations: 3.062 kB / 0.524 GB, free: 6.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001007/0.4648, allocations: 138.5 kB / 0.5241 GB, free: 6.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.4651, allocations: 37.56 kB / 0.5242 GB, free: 6.832 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.0006818/0.4658, allocations: 321.9 kB / 0.5245 GB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.466, allocations: 118.4 kB / 0.5246 GB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.466, allocations: 0 / 0.5246 GB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.4661, allocations: 37.8 kB / 0.5246 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4663, allocations: 21.2 kB / 0.5246 GB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.4667, allocations: 158.2 kB / 0.5248 GB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.467, allocations: 0.7361 MB / 0.5255 GB, free: 5.738 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.467, allocations: 0 / 0.5255 GB, free: 5.738 MB / 346.7 MB Notification: Performance of Templates: time 0.004226/0.4712, allocations: 1.679 MB / 0.5271 GB, free: 4.902 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)