Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") [: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.005669/0.005669, allocations: 185.4 kB / 7.456 MB, free: 2.242 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.352/1.352, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001629/0.001629, allocations: 121.9 kB / 247.1 MB, free: 6.359 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.1716/0.1716, allocations: 39.95 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.885e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09344, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.3823, allocations: 81.18 MB / 0.5164 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.3825, allocations: 69.28 kB / 0.5165 GB, free: 10.38 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.01474/0.3972, allocations: 5.551 MB / 0.5219 GB, free: 9.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.171e-05/0.3973, allocations: 10.59 kB / 0.5219 GB, free: 9.086 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.0007221/0.398, allocations: 0.7249 MB / 0.5226 GB, free: 8.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3981, allocations: 12.41 kB / 0.5227 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3982, allocations: 53.78 kB / 0.5227 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.399, allocations: 472.8 kB / 0.5232 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.399, allocations: 2.625 kB / 0.5232 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.399, allocations: 6.5 kB / 0.5232 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.3991, allocations: 31.3 kB / 0.5232 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3993, allocations: 78.09 kB / 0.5233 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3993, allocations: 4 kB / 0.5233 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3993, allocations: 9.219 kB / 0.5233 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3993, allocations: 1.188 kB / 0.5233 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3997, allocations: 394 kB / 0.5237 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3999, allocations: 89.39 kB / 0.5237 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.4, allocations: 41.08 kB / 0.5238 GB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.4, allocations: 1.344 kB / 0.5238 GB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.4001, allocations: 99.12 kB / 0.5239 GB, free: 7.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.4001, allocations: 0 / 0.5239 GB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003286/0.4005, allocations: 152 kB / 0.524 GB, free: 7.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.4005, allocations: 82.42 kB / 0.5241 GB, free: 7.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4018, allocations: 0.8957 MB / 0.525 GB, free: 7.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.4018, allocations: 28.17 kB / 0.525 GB, free: 7.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.4018, allocations: 145.2 kB / 0.5251 GB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.4019, allocations: 24.27 kB / 0.5252 GB, free: 7.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.4019, allocations: 2.5 kB / 0.5252 GB, free: 7.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.402, allocations: 365.4 kB / 0.5255 GB, free: 6.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.4021, allocations: 56.31 kB / 0.5256 GB, free: 6.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4022, allocations: 89.61 kB / 0.5257 GB, free: 6.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4023, allocations: 62.25 kB / 0.5257 GB, free: 6.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4023, allocations: 5.125 kB / 0.5257 GB, free: 6.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003688/0.4027, allocations: 231.2 kB / 0.5259 GB, free: 6.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4027, allocations: 5.188 kB / 0.5259 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4027, allocations: 1.156 kB / 0.526 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4028, allocations: 6.531 kB / 0.526 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4029, allocations: 25.8 kB / 0.526 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4029, allocations: 1.25 kB / 0.526 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4031, allocations: 20.31 kB / 0.526 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4031, allocations: 7.469 kB / 0.526 GB, free: 6.598 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 7.011e-05/0.4032, allocations: 115.1 kB / 0.5261 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.4032, allocations: 47.5 kB / 0.5262 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4035, allocations: 178.6 kB / 0.5263 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4036, allocations: 1.312 kB / 0.5263 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4036, allocations: 1.312 kB / 0.5263 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4036, allocations: 0 / 0.5263 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.404, allocations: 362.9 kB / 0.5267 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.404, allocations: 0 / 0.5267 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.404, allocations: 21.89 kB / 0.5267 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.404, allocations: 1.688 kB / 0.5267 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.404, allocations: 1.844 kB / 0.5267 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4041, allocations: 0 / 0.5267 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4041, allocations: 5.781 kB / 0.5267 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002465/0.4043, allocations: 196.7 kB / 0.5269 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.4046, allocations: 198.4 kB / 0.5271 GB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.4047, allocations: 6.578 kB / 0.5271 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4048, allocations: 7.219 kB / 0.5271 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.4048, allocations: 11.92 kB / 0.5271 GB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4048, allocations: 3.969 kB / 0.5271 GB, free: 5.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007714/0.4056, allocations: 0.7051 MB / 0.5278 GB, free: 5.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.406, allocations: 103.3 kB / 0.5279 GB, free: 5.672 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.0008671/0.4069, allocations: 414.1 kB / 0.5283 GB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.4072, allocations: 206.5 kB / 0.5285 GB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4072, allocations: 0 / 0.5285 GB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.4073, allocations: 44.64 kB / 0.5285 GB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4076, allocations: 47.73 kB / 0.5286 GB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4091, allocations: 0.7675 MB / 0.5293 GB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.4095, allocations: 0.8922 MB / 0.5302 GB, free: 4.246 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4095, allocations: 0.9375 kB / 0.5302 GB, free: 4.246 MB / 346.7 MB Notification: Performance of Templates: time 0.007569/0.4171, allocations: 3.945 MB / 0.5341 GB, free: 0.8594 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)