Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") [: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.004175/0.004175, allocations: 180.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.294/1.294, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001782/0.001782, allocations: 124.9 kB / 247.1 MB, free: 6.316 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.1796/0.1796, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.436e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 54.86 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.409, allocations: 81.43 MB / 0.5167 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4092, allocations: 68.77 kB / 0.5167 GB, free: 10.27 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01671/0.4259, allocations: 6.332 MB / 0.5229 GB, free: 8.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4259, allocations: 7.375 kB / 0.5229 GB, free: 8.727 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005042/0.4264, allocations: 0.5939 MB / 0.5235 GB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4265, allocations: 12.59 kB / 0.5235 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.4266, allocations: 27 kB / 0.5236 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.4269, allocations: 264.2 kB / 0.5238 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4269, allocations: 2.812 kB / 0.5238 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.427, allocations: 16.14 kB / 0.5238 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/0.4271, allocations: 36.48 kB / 0.5239 GB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4272, allocations: 87.56 kB / 0.5239 GB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4272, allocations: 5.156 kB / 0.5239 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4273, allocations: 3.938 kB / 0.524 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.4273, allocations: 2.188 kB / 0.524 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.4278, allocations: 474.5 kB / 0.5244 GB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.4279, allocations: 107 kB / 0.5245 GB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.428, allocations: 38.89 kB / 0.5245 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.428, allocations: 5 kB / 0.5246 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.4281, allocations: 100.2 kB / 0.5246 GB, free: 7.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4281, allocations: 0 / 0.5246 GB, free: 7.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000586/0.4287, allocations: 290.7 kB / 0.5249 GB, free: 7.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4288, allocations: 91.34 kB / 0.525 GB, free: 7.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4291, allocations: 297.1 kB / 0.5253 GB, free: 6.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4291, allocations: 29.02 kB / 0.5253 GB, free: 6.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4291, allocations: 113.6 kB / 0.5254 GB, free: 6.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.4292, allocations: 45.11 kB / 0.5255 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.4292, allocations: 2.156 kB / 0.5255 GB, free: 6.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.4293, allocations: 339.1 kB / 0.5258 GB, free: 6.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4294, allocations: 63.19 kB / 0.5259 GB, free: 6.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4295, allocations: 102.6 kB / 0.526 GB, free: 6.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4296, allocations: 82.11 kB / 0.526 GB, free: 6.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4296, allocations: 0 / 0.526 GB, free: 6.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003634/0.43, allocations: 246.8 kB / 0.5263 GB, free: 6.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.43, allocations: 5.125 kB / 0.5263 GB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.43, allocations: 1.219 kB / 0.5263 GB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4301, allocations: 4.969 kB / 0.5263 GB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.4302, allocations: 34.2 kB / 0.5263 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4302, allocations: 2.375 kB / 0.5263 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.4303, allocations: 10.56 kB / 0.5263 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.4304, allocations: 16.19 kB / 0.5263 GB, free: 6.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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 7.161e-05/0.4304, allocations: 122.4 kB / 0.5265 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.4305, allocations: 25.97 kB / 0.5265 GB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.4308, allocations: 184.8 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4308, allocations: 2.344 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4308, allocations: 1.219 kB / 0.5267 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4308, allocations: 4.922 kB / 0.5267 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.4314, allocations: 0.5928 MB / 0.5272 GB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4314, allocations: 1.219 kB / 0.5272 GB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.4315, allocations: 21.97 kB / 0.5273 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4315, allocations: 1.281 kB / 0.5273 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4315, allocations: 15.48 kB / 0.5273 GB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4316, allocations: 1.031 kB / 0.5273 GB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4316, allocations: 5.75 kB / 0.5273 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002733/0.4318, allocations: 380.5 kB / 0.5277 GB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.4319, allocations: 123.7 kB / 0.5278 GB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.432, allocations: 7.109 kB / 0.5278 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4321, allocations: 8.094 kB / 0.5278 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.4322, allocations: 14.14 kB / 0.5278 GB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4322, allocations: 10.02 kB / 0.5278 GB, free: 5.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002051/0.4324, allocations: 234.4 kB / 0.528 GB, free: 5.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.4328, allocations: 78.92 kB / 0.5281 GB, free: 5.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00092/0.4337, allocations: 488.7 kB / 0.5286 GB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.434, allocations: 232.4 kB / 0.5288 GB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4341, allocations: 1.719 kB / 0.5288 GB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.4342, allocations: 67.39 kB / 0.5289 GB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4345, allocations: 39.52 kB / 0.5289 GB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.4351, allocations: 343.1 kB / 0.5292 GB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.4354, allocations: 0.7861 MB / 0.53 GB, free: 3.738 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4354, allocations: 0 / 0.53 GB, free: 3.738 MB / 346.7 MB Notification: Performance of Templates: time 0.005892/0.4413, allocations: 3.109 MB / 0.533 GB, free: 1.832 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)