Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") [: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.005191/0.005191, allocations: 185 kB / 7.457 MB, free: 2.172 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.414/1.414, allocations: 194.2 MB / 202.1 MB, free: 8.664 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: 123.5 kB / 247.1 MB, free: 6.434 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.1771/0.1771, allocations: 39.95 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.466e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09042, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.3794, allocations: 81.17 MB / 0.5164 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.3797, allocations: 68 kB / 0.5165 GB, free: 10.31 MB / 346.7 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.01502/0.3947, allocations: 5.515 MB / 0.5219 GB, free: 9.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.3948, allocations: 10.38 kB / 0.5219 GB, free: 9.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006389/0.3954, allocations: 0.7149 MB / 0.5226 GB, free: 8.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3955, allocations: 9.031 kB / 0.5226 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.3956, allocations: 54.22 kB / 0.5227 GB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.3963, allocations: 463.9 kB / 0.5231 GB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3963, allocations: 1.281 kB / 0.5231 GB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3963, allocations: 7.594 kB / 0.5231 GB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.3964, allocations: 40 kB / 0.5231 GB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3966, allocations: 78.31 kB / 0.5232 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3966, allocations: 1.156 kB / 0.5232 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3966, allocations: 3.938 kB / 0.5232 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3966, allocations: 5 kB / 0.5232 GB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.3969, allocations: 376.6 kB / 0.5236 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3971, allocations: 98.28 kB / 0.5237 GB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.3972, allocations: 41.44 kB / 0.5237 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3972, allocations: 1.125 kB / 0.5237 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.3973, allocations: 105.8 kB / 0.5238 GB, free: 7.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3973, allocations: 0 / 0.5238 GB, free: 7.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003052/0.3976, allocations: 143.3 kB / 0.524 GB, free: 7.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.3977, allocations: 79.17 kB / 0.524 GB, free: 7.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.3988, allocations: 0.8797 MB / 0.5249 GB, free: 7.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3989, allocations: 28.2 kB / 0.5249 GB, free: 7.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.399, allocations: 138 kB / 0.5251 GB, free: 7.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.399, allocations: 27.28 kB / 0.5251 GB, free: 7.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.399, allocations: 2.062 kB / 0.5251 GB, free: 7.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.3991, allocations: 368.5 kB / 0.5254 GB, free: 6.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.3992, allocations: 58.52 kB / 0.5255 GB, free: 6.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3993, allocations: 90.67 kB / 0.5256 GB, free: 6.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3994, allocations: 58.81 kB / 0.5256 GB, free: 6.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3995, allocations: 1.031 kB / 0.5256 GB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000381/0.3998, allocations: 229.8 kB / 0.5259 GB, free: 6.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3999, allocations: 5.688 kB / 0.5259 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3999, allocations: 1 kB / 0.5259 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3999, allocations: 1.125 kB / 0.5259 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4, allocations: 25.83 kB / 0.5259 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4, allocations: 6.125 kB / 0.5259 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4002, allocations: 20.7 kB / 0.5259 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4002, allocations: 7.312 kB / 0.5259 GB, free: 6.562 MB / 346.7 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.32e-05/0.4003, allocations: 114 kB / 0.526 GB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.4004, allocations: 47.91 kB / 0.5261 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.4006, allocations: 172.1 kB / 0.5262 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4007, allocations: 6.344 kB / 0.5262 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4007, allocations: 384 / 0.5262 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4007, allocations: 5.141 kB / 0.5262 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.401, allocations: 355.2 kB / 0.5266 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.401, allocations: 1.156 kB / 0.5266 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.401, allocations: 17.02 kB / 0.5266 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.401, allocations: 1.031 kB / 0.5266 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.401, allocations: 2.438 kB / 0.5266 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4011, allocations: 0.9688 kB / 0.5266 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4011, allocations: 1.188 kB / 0.5266 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002456/0.4013, allocations: 204.3 kB / 0.5268 GB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.4016, allocations: 192.6 kB / 0.527 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.4016, allocations: 2.188 kB / 0.527 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4018, allocations: 7.453 kB / 0.527 GB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.4018, allocations: 16.08 kB / 0.527 GB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4018, allocations: 8.094 kB / 0.527 GB, free: 5.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007267/0.4026, allocations: 0.6834 MB / 0.5277 GB, free: 5.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000381/0.4029, allocations: 101.2 kB / 0.5278 GB, free: 5.641 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: 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.0007858/0.4037, allocations: 409.7 kB / 0.5282 GB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.404, allocations: 201.9 kB / 0.5284 GB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.404, allocations: 128 / 0.5284 GB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.4041, allocations: 46.98 kB / 0.5284 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4045, allocations: 48.48 kB / 0.5285 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4057, allocations: 0.7391 MB / 0.5292 GB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.4061, allocations: 0.8897 MB / 0.53 GB, free: 4.227 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4061, allocations: 4 kB / 0.53 GB, free: 4.223 MB / 346.7 MB Notification: Performance of Templates: time 0.007779/0.4139, allocations: 3.891 MB / 0.5338 GB, free: 1.016 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)