Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") [: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.003322/0.003321, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.374/1.374, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001686/0.001686, allocations: 122.3 kB / 247.1 MB, free: 6.355 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.1734/0.1734, allocations: 39.95 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.616e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09611, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3828, allocations: 81.57 MB / 0.5168 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.383, allocations: 71.33 kB / 0.5169 GB, free: 10.35 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.01772/0.4008, allocations: 6.602 MB / 0.5233 GB, free: 8.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4008, allocations: 1.094 kB / 0.5233 GB, free: 8.895 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.0004491/0.4012, allocations: 470.9 kB / 0.5238 GB, free: 8.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4013, allocations: 9.125 kB / 0.5238 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.4013, allocations: 11.97 kB / 0.5238 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.4016, allocations: 212.3 kB / 0.524 GB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4016, allocations: 5.031 kB / 0.524 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4016, allocations: 3.094 kB / 0.524 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.237e-05/0.4017, allocations: 19.36 kB / 0.524 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.933e-05/0.4018, allocations: 64.33 kB / 0.5241 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4018, allocations: 0 / 0.5241 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4018, allocations: 4.562 kB / 0.5241 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4018, allocations: 0 / 0.5241 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.4021, allocations: 278.8 kB / 0.5244 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.4022, allocations: 49.28 kB / 0.5244 GB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.4023, allocations: 21.89 kB / 0.5244 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.4023, allocations: 0 / 0.5244 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.779e-05/0.4024, allocations: 69.62 kB / 0.5245 GB, free: 7.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4024, allocations: 4 kB / 0.5245 GB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003801/0.4028, allocations: 137.2 kB / 0.5246 GB, free: 7.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.4028, allocations: 78.36 kB / 0.5247 GB, free: 7.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.4029, allocations: 135.4 kB / 0.5249 GB, free: 7.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4029, allocations: 27.42 kB / 0.5249 GB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.403, allocations: 95.38 kB / 0.525 GB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.403, allocations: 22.88 kB / 0.525 GB, free: 7.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.403, allocations: 0 / 0.525 GB, free: 7.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.403, allocations: 324.3 kB / 0.5253 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/0.4031, allocations: 29.94 kB / 0.5253 GB, free: 7.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.4032, allocations: 53.06 kB / 0.5254 GB, free: 7.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.4032, allocations: 30.95 kB / 0.5254 GB, free: 7.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4032, allocations: 0 / 0.5254 GB, free: 7.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001805/0.4034, allocations: 121.5 kB / 0.5255 GB, free: 6.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4034, allocations: 9.5 kB / 0.5255 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4034, allocations: 4.062 kB / 0.5255 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4035, allocations: 1.281 kB / 0.5255 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.4036, allocations: 17 kB / 0.5256 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.4036, allocations: 1.312 kB / 0.5256 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.4036, allocations: 15.73 kB / 0.5256 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4036, allocations: 3.688 kB / 0.5256 GB, free: 6.941 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 5.531e-05/0.4037, allocations: 103.5 kB / 0.5257 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.4037, allocations: 8.844 kB / 0.5257 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.4039, allocations: 107.1 kB / 0.5258 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4039, allocations: 5.297 kB / 0.5258 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4039, allocations: 0 / 0.5258 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.404, allocations: 3.906 kB / 0.5258 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.4043, allocations: 350.5 kB / 0.5261 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4043, allocations: 1.469 kB / 0.5261 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.4043, allocations: 16.39 kB / 0.5261 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4043, allocations: 1.812 kB / 0.5261 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4043, allocations: 5.562 kB / 0.5262 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4043, allocations: 0 / 0.5262 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4044, allocations: 1.562 kB / 0.5262 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000157/0.4045, allocations: 209.3 kB / 0.5264 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.4046, allocations: 93.88 kB / 0.5264 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4046, allocations: 5.625 kB / 0.5264 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.4047, allocations: 10.3 kB / 0.5265 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4047, allocations: 3.094 kB / 0.5265 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4047, allocations: 3 kB / 0.5265 GB, free: 6.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.713e-05/0.4048, allocations: 111.9 kB / 0.5266 GB, free: 6.094 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.4051, allocations: 46.42 kB / 0.5266 GB, free: 6.078 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.0007223/0.4058, allocations: 397.2 kB / 0.527 GB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.406, allocations: 103.5 kB / 0.5271 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.406, allocations: 0 / 0.5271 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.4061, allocations: 34 kB / 0.5271 GB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.4063, allocations: 19.95 kB / 0.5271 GB, free: 5.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.4066, allocations: 134 kB / 0.5273 GB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4068, allocations: 0.7208 MB / 0.528 GB, free: 4.949 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4068, allocations: 1.281 kB / 0.528 GB, free: 4.949 MB / 346.7 MB Notification: Performance of Templates: time 0.004374/0.4112, allocations: 1.904 MB / 0.5298 GB, free: 3.98 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)