Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") [: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.003258/0.003258, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.298/1.298, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001775/0.001776, allocations: 124.2 kB / 247.1 MB, free: 6.387 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.1805/0.1805, allocations: 39.95 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.547e-06/8.686e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3911, allocations: 81.58 MB / 0.5168 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.3914, allocations: 72.14 kB / 0.5169 GB, free: 10.25 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.01914/0.4106, allocations: 6.592 MB / 0.5233 GB, free: 8.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4106, allocations: 1.188 kB / 0.5233 GB, free: 8.789 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.0006267/0.4112, allocations: 476.2 kB / 0.5238 GB, free: 8.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4113, allocations: 8.156 kB / 0.5238 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.4114, allocations: 13.28 kB / 0.5238 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.4117, allocations: 208.3 kB / 0.524 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.4117, allocations: 1.5 kB / 0.524 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4118, allocations: 3.469 kB / 0.524 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.95e-05/0.4119, allocations: 18.52 kB / 0.524 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.412, allocations: 71.58 kB / 0.5241 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.412, allocations: 0 / 0.5241 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.412, allocations: 3.984 kB / 0.5241 GB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.4121, allocations: 1.406 kB / 0.5241 GB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.4124, allocations: 276.4 kB / 0.5244 GB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4126, allocations: 54.38 kB / 0.5244 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.4126, allocations: 20.7 kB / 0.5244 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4126, allocations: 0 / 0.5244 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/0.4127, allocations: 67.5 kB / 0.5245 GB, free: 7.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4127, allocations: 0 / 0.5245 GB, free: 7.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004383/0.4132, allocations: 140.2 kB / 0.5246 GB, free: 7.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4132, allocations: 82.5 kB / 0.5247 GB, free: 7.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4133, allocations: 139.3 kB / 0.5249 GB, free: 7.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4134, allocations: 27.23 kB / 0.5249 GB, free: 7.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.4134, allocations: 94.41 kB / 0.525 GB, free: 7.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.4134, allocations: 23.44 kB / 0.525 GB, free: 7.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.4134, allocations: 1.25 kB / 0.525 GB, free: 7.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.4135, allocations: 321 kB / 0.5253 GB, free: 6.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.4136, allocations: 26.34 kB / 0.5253 GB, free: 6.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.4136, allocations: 55.47 kB / 0.5254 GB, free: 6.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.778e-05/0.4137, allocations: 35.67 kB / 0.5254 GB, free: 6.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4137, allocations: 0 / 0.5254 GB, free: 6.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001961/0.4139, allocations: 121 kB / 0.5255 GB, free: 6.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4139, allocations: 9.344 kB / 0.5255 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.414, allocations: 0.9688 kB / 0.5255 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.414, allocations: 1.031 kB / 0.5255 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4141, allocations: 16.97 kB / 0.5256 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4141, allocations: 1.031 kB / 0.5256 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.4142, allocations: 15.48 kB / 0.5256 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4142, allocations: 3.344 kB / 0.5256 GB, free: 6.836 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 6.519e-05/0.4143, allocations: 104 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.4143, allocations: 11.56 kB / 0.5257 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.4145, allocations: 107.1 kB / 0.5258 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4145, allocations: 0.875 kB / 0.5258 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4145, allocations: 0 / 0.5258 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4145, allocations: 4.875 kB / 0.5258 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.4149, allocations: 356.2 kB / 0.5261 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4149, allocations: 1.156 kB / 0.5261 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.4149, allocations: 16.67 kB / 0.5261 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.415, allocations: 0.9688 kB / 0.5261 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.415, allocations: 1.281 kB / 0.5261 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.415, allocations: 0.9375 kB / 0.5261 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.415, allocations: 0.9688 kB / 0.5262 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001821/0.4152, allocations: 215.3 kB / 0.5264 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.4152, allocations: 93.88 kB / 0.5264 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4153, allocations: 0.9062 kB / 0.5264 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.4154, allocations: 7.078 kB / 0.5265 GB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.4154, allocations: 7.125 kB / 0.5265 GB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4154, allocations: 3.281 kB / 0.5265 GB, free: 6.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.261e-05/0.4155, allocations: 115.1 kB / 0.5266 GB, free: 5.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.4158, allocations: 47.11 kB / 0.5266 GB, free: 5.969 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.0007951/0.4166, allocations: 397.4 kB / 0.527 GB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.4168, allocations: 99.95 kB / 0.5271 GB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4168, allocations: 0 / 0.5271 GB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.4169, allocations: 31.52 kB / 0.5271 GB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4172, allocations: 14.75 kB / 0.5271 GB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.4175, allocations: 140.6 kB / 0.5273 GB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.4177, allocations: 0.7207 MB / 0.528 GB, free: 4.84 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4177, allocations: 0 / 0.528 GB, free: 4.84 MB / 346.7 MB Notification: Performance of Templates: time 0.004514/0.4222, allocations: 1.903 MB / 0.5298 GB, free: 3.879 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)