Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") [: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.001213/0.001213, allocations: 186.3 kB / 7.464 MB, free: 460 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.305/1.305, allocations: 194.2 MB / 202.1 MB, free: 12.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.1312/0.1312, allocations: 122.2 kB / 247.1 MB, free: 6.363 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2343/0.2343, allocations: 39.93 MB / 331.9 MB, free: 9.098 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.887e-06, allocations: 4 kB / 392.8 MB, free: 79.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.09992, allocations: 54.87 MB / 447.7 MB, free: 24.83 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.4014, allocations: 81.18 MB / 0.5164 GB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.4016, allocations: 76.17 kB / 0.5165 GB, free: 11.25 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.0141/0.4157, allocations: 5.505 MB / 0.5219 GB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.4158, allocations: 14.06 kB / 0.5219 GB, free: 10.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007344/0.4165, allocations: 0.718 MB / 0.5226 GB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4166, allocations: 8.719 kB / 0.5226 GB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4167, allocations: 46.12 kB / 0.5227 GB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.4174, allocations: 471.1 kB / 0.5231 GB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.4175, allocations: 2.625 kB / 0.5231 GB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4175, allocations: 7.188 kB / 0.5231 GB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.955e-05/0.4176, allocations: 30.95 kB / 0.5231 GB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4177, allocations: 79.34 kB / 0.5232 GB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4177, allocations: 3.938 kB / 0.5232 GB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4178, allocations: 1.062 kB / 0.5232 GB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4178, allocations: 9.031 kB / 0.5232 GB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.4181, allocations: 387.2 kB / 0.5236 GB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4183, allocations: 93 kB / 0.5237 GB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.4183, allocations: 32.06 kB / 0.5237 GB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4184, allocations: 5.625 kB / 0.5237 GB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.4185, allocations: 105.6 kB / 0.5238 GB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4185, allocations: 0 / 0.5238 GB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002892/0.4188, allocations: 146.5 kB / 0.524 GB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.4188, allocations: 81.89 kB / 0.524 GB, free: 9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.42, allocations: 0.8702 MB / 0.5249 GB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.42, allocations: 35.95 kB / 0.5249 GB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.4201, allocations: 138 kB / 0.5251 GB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4201, allocations: 27.84 kB / 0.5251 GB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.4202, allocations: 3.031 kB / 0.5251 GB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.4202, allocations: 367 kB / 0.5254 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.4203, allocations: 54.3 kB / 0.5255 GB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.4204, allocations: 84.52 kB / 0.5256 GB, free: 8.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4205, allocations: 68.25 kB / 0.5256 GB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4206, allocations: 1.344 kB / 0.5256 GB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003387/0.4209, allocations: 225 kB / 0.5258 GB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4209, allocations: 4.812 kB / 0.5259 GB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4209, allocations: 1.656 kB / 0.5259 GB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.421, allocations: 2.75 kB / 0.5259 GB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4211, allocations: 33.38 kB / 0.5259 GB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4211, allocations: 5.062 kB / 0.5259 GB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4212, allocations: 25.45 kB / 0.5259 GB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4213, allocations: 9.812 kB / 0.5259 GB, free: 8.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.447e-05/0.4213, allocations: 107.6 kB / 0.526 GB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.4214, allocations: 48.75 kB / 0.5261 GB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4217, allocations: 171.1 kB / 0.5262 GB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4217, allocations: 2.125 kB / 0.5262 GB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4217, allocations: 5.469 kB / 0.5262 GB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4217, allocations: 3.984 kB / 0.5263 GB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.422, allocations: 349.2 kB / 0.5266 GB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.422, allocations: 0 / 0.5266 GB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4221, allocations: 13.22 kB / 0.5266 GB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4221, allocations: 5.344 kB / 0.5266 GB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4221, allocations: 6.609 kB / 0.5266 GB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4221, allocations: 1.312 kB / 0.5266 GB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4221, allocations: 0 / 0.5266 GB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002351/0.4223, allocations: 197.9 kB / 0.5268 GB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.4226, allocations: 197.2 kB / 0.527 GB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.4227, allocations: 1 kB / 0.527 GB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4228, allocations: 8.953 kB / 0.527 GB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.4228, allocations: 12.02 kB / 0.527 GB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4228, allocations: 7.594 kB / 0.527 GB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 0.0007111/0.4236, allocations: 0.6849 MB / 0.5277 GB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.4239, allocations: 98 kB / 0.5278 GB, free: 7.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007756/0.4247, allocations: 416.8 kB / 0.5282 GB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.425, allocations: 202 kB / 0.5284 GB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.425, allocations: 0 / 0.5284 GB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.4251, allocations: 46.52 kB / 0.5284 GB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4254, allocations: 49.31 kB / 0.5285 GB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4266, allocations: 0.7383 MB / 0.5292 GB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.427, allocations: 0.8877 MB / 0.53 GB, free: 5.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.427, allocations: 0 / 0.53 GB, free: 5.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007809/0.4348, allocations: 3.896 MB / 0.5339 GB, free: 3.918 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)