Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") [: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.002914/0.002914, allocations: 181.4 kB / 7.457 MB, free: 2.473 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.395/1.395, 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.001882/0.001882, allocations: 114.6 kB / 247.1 MB, free: 6.379 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.1741/0.1741, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.078e-05, allocations: 4 kB / 392.8 MB, free: 75.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09348, allocations: 54.87 MB / 447.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.3851, allocations: 81.17 MB / 0.5164 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3853, allocations: 75.19 kB / 0.5165 GB, free: 10.32 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.01487/0.4002, allocations: 5.549 MB / 0.5219 GB, free: 9.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.4003, allocations: 15.38 kB / 0.5219 GB, free: 9.027 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.000641/0.4009, allocations: 0.7167 MB / 0.5226 GB, free: 8.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.401, allocations: 8.875 kB / 0.5226 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.4011, allocations: 58.14 kB / 0.5227 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007411/0.4018, allocations: 463.1 kB / 0.5231 GB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4018, allocations: 2.375 kB / 0.5231 GB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.4019, allocations: 15.58 kB / 0.5232 GB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.402, allocations: 34.39 kB / 0.5232 GB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4021, allocations: 78 kB / 0.5233 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4021, allocations: 0 / 0.5233 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4022, allocations: 7.844 kB / 0.5233 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4022, allocations: 2.281 kB / 0.5233 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.4025, allocations: 381.3 kB / 0.5236 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.4027, allocations: 104.1 kB / 0.5237 GB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.4028, allocations: 41.14 kB / 0.5238 GB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4028, allocations: 5.109 kB / 0.5238 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.403, allocations: 101.9 kB / 0.5239 GB, free: 7.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.403, allocations: 0 / 0.5239 GB, free: 7.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003125/0.4033, allocations: 148.5 kB / 0.524 GB, free: 7.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4033, allocations: 78.39 kB / 0.5241 GB, free: 7.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4045, allocations: 0.8972 MB / 0.525 GB, free: 7.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4045, allocations: 28.36 kB / 0.525 GB, free: 7.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.4046, allocations: 146.7 kB / 0.5251 GB, free: 7.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4047, allocations: 27.67 kB / 0.5252 GB, free: 7.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4047, allocations: 2.5 kB / 0.5252 GB, free: 7.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.4048, allocations: 367.8 kB / 0.5255 GB, free: 6.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.4049, allocations: 57.3 kB / 0.5256 GB, free: 6.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.405, allocations: 87.45 kB / 0.5257 GB, free: 6.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.4051, allocations: 61.31 kB / 0.5257 GB, free: 6.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4051, allocations: 1.281 kB / 0.5257 GB, free: 6.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003457/0.4055, allocations: 236.6 kB / 0.5259 GB, free: 6.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4055, allocations: 4.281 kB / 0.526 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4055, allocations: 1.188 kB / 0.526 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4055, allocations: 6.203 kB / 0.526 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4056, allocations: 17 kB / 0.526 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4057, allocations: 6.406 kB / 0.526 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4058, allocations: 28.55 kB / 0.526 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4058, allocations: 9.719 kB / 0.526 GB, free: 6.535 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.192e-05/0.4059, allocations: 111 kB / 0.5261 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.406, allocations: 48.59 kB / 0.5262 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4063, allocations: 171.9 kB / 0.5263 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4063, allocations: 6.641 kB / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4063, allocations: 0 / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4063, allocations: 1.375 kB / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4066, allocations: 357.2 kB / 0.5267 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4066, allocations: 0 / 0.5267 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.4067, allocations: 13.28 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4067, allocations: 1.281 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4067, allocations: 1.25 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4067, allocations: 5.203 kB / 0.5267 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4067, allocations: 0.9688 kB / 0.5267 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000241/0.407, allocations: 201 kB / 0.5269 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.4072, allocations: 200.5 kB / 0.5271 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.4073, allocations: 1.469 kB / 0.5271 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4074, allocations: 8.266 kB / 0.5271 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.4075, allocations: 8.062 kB / 0.5271 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4075, allocations: 6.953 kB / 0.5271 GB, free: 5.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000733/0.4082, allocations: 0.7013 MB / 0.5278 GB, free: 5.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000383/0.4086, allocations: 107 kB / 0.5279 GB, free: 5.621 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.0008159/0.4094, allocations: 418.3 kB / 0.5283 GB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4097, allocations: 204.6 kB / 0.5285 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4097, allocations: 0 / 0.5285 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.4098, allocations: 40.78 kB / 0.5285 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4102, allocations: 43.88 kB / 0.5286 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4114, allocations: 0.7748 MB / 0.5293 GB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.4118, allocations: 0.8919 MB / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4118, allocations: 0 / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of Templates: time 0.007285/0.4191, allocations: 3.95 MB / 0.5341 GB, free: 0.8047 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)