Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") [: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.002945/0.002945, allocations: 188 kB / 7.461 MB, free: 2.52 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.34/1.34, 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.001628/0.001628, allocations: 120 kB / 247.1 MB, free: 6.406 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.1638/0.1638, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.371e-06/6.402e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09877, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/0.3913, allocations: 81.28 MB / 0.5165 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.3915, allocations: 72.38 kB / 0.5166 GB, free: 10.3 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.01126/0.4027, allocations: 4.029 MB / 0.5205 GB, free: 9.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4028, allocations: 5.266 kB / 0.5205 GB, free: 9.609 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.0004154/0.4032, allocations: 459.8 kB / 0.521 GB, free: 9.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4032, allocations: 9.594 kB / 0.521 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.4033, allocations: 8.25 kB / 0.521 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4036, allocations: 208 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4036, allocations: 1.938 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4036, allocations: 3.5 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.766e-05/0.4037, allocations: 22.2 kB / 0.5212 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.4038, allocations: 53.55 kB / 0.5213 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4038, allocations: 11.84 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4038, allocations: 0.875 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4038, allocations: 1.312 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.4042, allocations: 290.9 kB / 0.5216 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4043, allocations: 50.41 kB / 0.5216 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.4043, allocations: 20.48 kB / 0.5216 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4044, allocations: 1 kB / 0.5216 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.268e-05/0.4044, allocations: 59.31 kB / 0.5217 GB, free: 8.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4045, allocations: 0 / 0.5217 GB, free: 8.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004089/0.4049, allocations: 150.5 kB / 0.5218 GB, free: 8.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.4049, allocations: 52.53 kB / 0.5219 GB, free: 8.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.405, allocations: 146.8 kB / 0.522 GB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.4051, allocations: 35.48 kB / 0.5221 GB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.4051, allocations: 90.47 kB / 0.5221 GB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4051, allocations: 27.14 kB / 0.5222 GB, free: 8.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.4051, allocations: 1 kB / 0.5222 GB, free: 8.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.4052, allocations: 326 kB / 0.5225 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.4053, allocations: 36.19 kB / 0.5225 GB, free: 7.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.4054, allocations: 49.42 kB / 0.5226 GB, free: 7.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.4054, allocations: 44.48 kB / 0.5226 GB, free: 7.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4054, allocations: 0 / 0.5226 GB, free: 7.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002068/0.4056, allocations: 125 kB / 0.5227 GB, free: 7.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4057, allocations: 5 kB / 0.5227 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4057, allocations: 0 / 0.5227 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4057, allocations: 1.406 kB / 0.5227 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4058, allocations: 24.14 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4058, allocations: 1.375 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.4059, allocations: 2.906 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4059, allocations: 8.188 kB / 0.5228 GB, free: 7.715 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.643e-05/0.406, allocations: 109 kB / 0.5229 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.406, allocations: 7.781 kB / 0.5229 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.4062, allocations: 107.4 kB / 0.523 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4062, allocations: 5.25 kB / 0.523 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4063, allocations: 1.281 kB / 0.523 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4063, allocations: 0 / 0.523 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.4066, allocations: 368.7 kB / 0.5233 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4067, allocations: 1.719 kB / 0.5233 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.4067, allocations: 12.5 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4067, allocations: 1.125 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4067, allocations: 1.656 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4067, allocations: 1.469 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4068, allocations: 0 / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001932/0.407, allocations: 210.5 kB / 0.5236 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.407, allocations: 94.84 kB / 0.5237 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.4071, allocations: 6.141 kB / 0.5237 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.4071, allocations: 5.297 kB / 0.5237 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4072, allocations: 8.281 kB / 0.5237 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4072, allocations: 6.578 kB / 0.5237 GB, free: 6.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.868e-05/0.4073, allocations: 122.8 kB / 0.5238 GB, free: 6.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.4076, allocations: 36.75 kB / 0.5238 GB, free: 6.844 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.0008204/0.4084, allocations: 329.3 kB / 0.5241 GB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.4087, allocations: 118.5 kB / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4087, allocations: 3.938 kB / 0.5243 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.4087, allocations: 30.39 kB / 0.5243 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.409, allocations: 14.77 kB / 0.5243 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.4094, allocations: 154.2 kB / 0.5245 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.4096, allocations: 0.7185 MB / 0.5252 GB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4097, allocations: 0 / 0.5252 GB, free: 5.766 MB / 346.7 MB Notification: Performance of Templates: time 0.004546/0.4142, allocations: 1.646 MB / 0.5268 GB, free: 4.934 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)