Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") [: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.003707/0.003707, allocations: 182.2 kB / 7.458 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.2/1.2, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001617/0.001617, allocations: 126.6 kB / 247.1 MB, free: 6.348 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.1901/0.1901, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.508e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 54.86 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4607, allocations: 81.29 MB / 0.5165 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/0.4611, allocations: 70.33 kB / 0.5166 GB, free: 10.33 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.01312/0.4743, allocations: 4.079 MB / 0.5206 GB, free: 9.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4743, allocations: 5.406 kB / 0.5206 GB, free: 9.617 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.0004771/0.4748, allocations: 448.2 kB / 0.521 GB, free: 9.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4748, allocations: 12.81 kB / 0.521 GB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.4749, allocations: 9.406 kB / 0.521 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.4752, allocations: 214.3 kB / 0.5213 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4752, allocations: 1.688 kB / 0.5213 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4752, allocations: 7.594 kB / 0.5213 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.331e-05/0.4753, allocations: 22.98 kB / 0.5213 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.4754, allocations: 51.88 kB / 0.5213 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4754, allocations: 0 / 0.5213 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4755, allocations: 1.219 kB / 0.5213 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4755, allocations: 3.984 kB / 0.5213 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.4758, allocations: 295.5 kB / 0.5216 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4759, allocations: 49.44 kB / 0.5217 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.476, allocations: 16.08 kB / 0.5217 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.476, allocations: 1.031 kB / 0.5217 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.215e-05/0.4761, allocations: 64.62 kB / 0.5217 GB, free: 8.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.4761, allocations: 4 kB / 0.5217 GB, free: 8.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004427/0.4766, allocations: 137.7 kB / 0.5219 GB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.4766, allocations: 51.41 kB / 0.5219 GB, free: 8.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4768, allocations: 167.6 kB / 0.5221 GB, free: 8.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4768, allocations: 26.98 kB / 0.5221 GB, free: 8.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.4768, allocations: 95.5 kB / 0.5222 GB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.4769, allocations: 22.77 kB / 0.5222 GB, free: 8.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.4769, allocations: 1.281 kB / 0.5222 GB, free: 8.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.477, allocations: 331.1 kB / 0.5225 GB, free: 7.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.477, allocations: 31.53 kB / 0.5226 GB, free: 7.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.4771, allocations: 52.08 kB / 0.5226 GB, free: 7.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.4772, allocations: 41.17 kB / 0.5227 GB, free: 7.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4772, allocations: 0 / 0.5227 GB, free: 7.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002508/0.4775, allocations: 138.1 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4775, allocations: 5.188 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4775, allocations: 1.312 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.4776, allocations: 4.031 kB / 0.5228 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4777, allocations: 18.58 kB / 0.5228 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4777, allocations: 0 / 0.5228 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.4778, allocations: 7.938 kB / 0.5228 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4778, allocations: 3.875 kB / 0.5228 GB, free: 7.734 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.362e-05/0.4778, allocations: 108.5 kB / 0.5229 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.4779, allocations: 13.03 kB / 0.5229 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4781, allocations: 113.4 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4781, allocations: 1.375 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4781, allocations: 3.984 kB / 0.5231 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4781, allocations: 1.344 kB / 0.5231 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4785, allocations: 368.2 kB / 0.5234 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4785, allocations: 1.281 kB / 0.5234 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.4786, allocations: 13.08 kB / 0.5234 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4786, allocations: 1.25 kB / 0.5234 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4786, allocations: 5.062 kB / 0.5234 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4786, allocations: 5.25 kB / 0.5234 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4786, allocations: 5.188 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001899/0.4788, allocations: 203.9 kB / 0.5236 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.4789, allocations: 95.22 kB / 0.5237 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4789, allocations: 1.5 kB / 0.5237 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.479, allocations: 6.5 kB / 0.5237 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4791, allocations: 13.58 kB / 0.5237 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4791, allocations: 3 kB / 0.5238 GB, free: 6.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001109/0.4792, allocations: 143 kB / 0.5239 GB, free: 6.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.4795, allocations: 31.28 kB / 0.5239 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.0007558/0.4803, allocations: 322.8 kB / 0.5242 GB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4805, allocations: 124.5 kB / 0.5243 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4805, allocations: 1.281 kB / 0.5243 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.4806, allocations: 25.25 kB / 0.5244 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4808, allocations: 16.48 kB / 0.5244 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.4813, allocations: 159.4 kB / 0.5245 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.4815, allocations: 0.728 MB / 0.5252 GB, free: 5.758 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4816, allocations: 3.938 kB / 0.5253 GB, free: 5.754 MB / 346.7 MB Notification: Performance of Templates: time 0.00475/0.4863, allocations: 1.657 MB / 0.5269 GB, free: 4.93 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)