Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") [: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.003693/0.003693, allocations: 184.8 kB / 7.459 MB, free: 2.504 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.233/1.233, allocations: 194.2 MB / 202.1 MB, free: 8.699 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.001786/0.001786, allocations: 125.1 kB / 247.1 MB, free: 6.086 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.1768/0.1768, allocations: 39.95 MB / 331.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/1.009e-05, allocations: 0 / 392.8 MB, free: 75.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 54.88 MB / 447.7 MB, free: 20.92 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4567, allocations: 81.28 MB / 0.5165 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.457, allocations: 73.08 kB / 0.5166 GB, free: 10.36 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.01213/0.4691, allocations: 4.084 MB / 0.5206 GB, free: 9.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4691, allocations: 1.062 kB / 0.5206 GB, free: 9.633 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.0004153/0.4696, allocations: 448.8 kB / 0.521 GB, free: 9.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4696, allocations: 13.44 kB / 0.521 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.4697, allocations: 12.47 kB / 0.5211 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4699, allocations: 211.5 kB / 0.5213 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.47, allocations: 1 kB / 0.5213 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.47, allocations: 8.969 kB / 0.5213 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.226e-05/0.4701, allocations: 22.05 kB / 0.5213 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/0.4702, allocations: 49.72 kB / 0.5213 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4702, allocations: 0 / 0.5213 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4702, allocations: 5.078 kB / 0.5213 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.4702, allocations: 4.969 kB / 0.5213 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.4705, allocations: 292.7 kB / 0.5216 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.4707, allocations: 51.97 kB / 0.5217 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.4707, allocations: 20.39 kB / 0.5217 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4707, allocations: 0 / 0.5217 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/0.4708, allocations: 66.42 kB / 0.5218 GB, free: 8.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4708, allocations: 1.375 kB / 0.5218 GB, free: 8.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004172/0.4712, allocations: 139.8 kB / 0.5219 GB, free: 8.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.4713, allocations: 54.84 kB / 0.5219 GB, free: 8.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4714, allocations: 163.6 kB / 0.5221 GB, free: 8.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4714, allocations: 29.42 kB / 0.5221 GB, free: 8.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.4715, allocations: 99.27 kB / 0.5222 GB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.4715, allocations: 22.66 kB / 0.5222 GB, free: 8.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/0.4715, allocations: 1.031 kB / 0.5222 GB, free: 8.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.4716, allocations: 325.4 kB / 0.5226 GB, free: 7.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.4717, allocations: 30.25 kB / 0.5226 GB, free: 7.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.4717, allocations: 53.02 kB / 0.5226 GB, free: 7.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.267e-05/0.4718, allocations: 37.05 kB / 0.5227 GB, free: 7.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4718, allocations: 3.938 kB / 0.5227 GB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002238/0.4721, allocations: 141.4 kB / 0.5228 GB, free: 7.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4721, allocations: 5.219 kB / 0.5228 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4721, allocations: 0 / 0.5228 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4721, allocations: 1.125 kB / 0.5228 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.4722, allocations: 21.2 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4722, allocations: 1 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.4723, allocations: 4.438 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4723, allocations: 3.719 kB / 0.5228 GB, free: 7.746 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.548e-05/0.4724, allocations: 108.2 kB / 0.5229 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.4724, allocations: 19.98 kB / 0.523 GB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.4726, allocations: 104 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4726, allocations: 1 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4726, allocations: 1.031 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4726, allocations: 0 / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.4729, allocations: 368 kB / 0.5234 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4729, allocations: 192 / 0.5234 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.473, allocations: 21.7 kB / 0.5234 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.473, allocations: 1.094 kB / 0.5234 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.473, allocations: 8.406 kB / 0.5234 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.473, allocations: 1.344 kB / 0.5234 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.473, allocations: 1.062 kB / 0.5234 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001561/0.4732, allocations: 209.8 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4733, allocations: 99.81 kB / 0.5237 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.4733, allocations: 1.031 kB / 0.5237 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.4734, allocations: 2.156 kB / 0.5237 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4734, allocations: 12.11 kB / 0.5238 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4734, allocations: 3.062 kB / 0.5238 GB, free: 6.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.059e-05/0.4735, allocations: 139.3 kB / 0.5239 GB, free: 6.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.4738, allocations: 33.16 kB / 0.5239 GB, free: 6.859 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.0006552/0.4745, allocations: 334.1 kB / 0.5242 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.4747, allocations: 108.7 kB / 0.5243 GB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4747, allocations: 1.062 kB / 0.5243 GB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.4747, allocations: 36.91 kB / 0.5244 GB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.475, allocations: 16.55 kB / 0.5244 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4754, allocations: 163.4 kB / 0.5246 GB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4756, allocations: 0.7272 MB / 0.5253 GB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4756, allocations: 0 / 0.5253 GB, free: 5.766 MB / 346.7 MB Notification: Performance of Templates: time 0.004306/0.4799, allocations: 1.647 MB / 0.5269 GB, free: 4.945 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)