Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") [: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.0034/0.0034, allocations: 180.1 kB / 7.456 MB, free: 2.188 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.258/1.258, 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.001769/0.001769, allocations: 117.2 kB / 247.1 MB, free: 6.379 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.1947/0.1947, allocations: 39.95 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.185e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4292, allocations: 82.06 MB / 0.5173 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.4294, allocations: 68.97 kB / 0.5174 GB, free: 10.28 MB / 346.7 MB [/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.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.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.009691/0.4392, allocations: 3.246 MB / 0.5205 GB, free: 9.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.4392, allocations: 6.062 kB / 0.5206 GB, free: 9.645 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004772/0.4397, allocations: 0.4911 MB / 0.521 GB, free: 9.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4397, allocations: 13.55 kB / 0.521 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.4398, allocations: 14.28 kB / 0.5211 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4401, allocations: 226 kB / 0.5213 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4401, allocations: 2.594 kB / 0.5213 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.4401, allocations: 5.531 kB / 0.5213 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.4403, allocations: 38.78 kB / 0.5213 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4404, allocations: 74.31 kB / 0.5214 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4404, allocations: 0 / 0.5214 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4404, allocations: 1.344 kB / 0.5214 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4404, allocations: 1.312 kB / 0.5214 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4409, allocations: 335.5 kB / 0.5217 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.4411, allocations: 80.05 kB / 0.5218 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.4412, allocations: 39.7 kB / 0.5218 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4412, allocations: 0 / 0.5218 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.4413, allocations: 72.02 kB / 0.5219 GB, free: 8.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4414, allocations: 4 kB / 0.5219 GB, free: 8.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002116/0.4416, allocations: 98.05 kB / 0.522 GB, free: 8.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.4416, allocations: 52.69 kB / 0.522 GB, free: 8.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4417, allocations: 154.8 kB / 0.5222 GB, free: 8.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4418, allocations: 30.33 kB / 0.5222 GB, free: 8.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.4418, allocations: 98.09 kB / 0.5223 GB, free: 8.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4418, allocations: 27.36 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.4419, allocations: 1.094 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.4419, allocations: 330.9 kB / 0.5227 GB, free: 7.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.442, allocations: 32.59 kB / 0.5227 GB, free: 7.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.4421, allocations: 60.84 kB / 0.5227 GB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.4421, allocations: 37.98 kB / 0.5228 GB, free: 7.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4422, allocations: 1.312 kB / 0.5228 GB, free: 7.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002206/0.4424, allocations: 137.9 kB / 0.5229 GB, free: 7.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4424, allocations: 13.53 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4424, allocations: 1.156 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4424, allocations: 1.062 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4426, allocations: 22.33 kB / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4426, allocations: 1.469 kB / 0.523 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.4426, allocations: 14.86 kB / 0.523 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4427, allocations: 11.94 kB / 0.523 GB, free: 7.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.495e-05/0.4427, allocations: 120.4 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4428, allocations: 13 kB / 0.5231 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.443, allocations: 103.2 kB / 0.5232 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.443, allocations: 1.312 kB / 0.5232 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.443, allocations: 0 / 0.5232 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.443, allocations: 3.938 kB / 0.5232 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.4431, allocations: 188.4 kB / 0.5234 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4431, allocations: 1.312 kB / 0.5234 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.4432, allocations: 11.81 kB / 0.5234 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4432, allocations: 4 kB / 0.5234 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4433, allocations: 8.422 kB / 0.5234 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4433, allocations: 1.281 kB / 0.5234 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4433, allocations: 0 / 0.5234 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002395/0.4435, allocations: 156.8 kB / 0.5236 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.4436, allocations: 100 kB / 0.5237 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4436, allocations: 0 / 0.5237 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.4437, allocations: 14.61 kB / 0.5237 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.4437, allocations: 6.547 kB / 0.5237 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4438, allocations: 3.25 kB / 0.5237 GB, free: 7.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.44e-05/0.4438, allocations: 120 kB / 0.5238 GB, free: 7.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.4441, allocations: 44.92 kB / 0.5238 GB, free: 6.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006287/0.4447, allocations: 297.5 kB / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4449, allocations: 118.5 kB / 0.5242 GB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.445, allocations: 4.125 kB / 0.5242 GB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.445, allocations: 33.02 kB / 0.5243 GB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4453, allocations: 25.61 kB / 0.5243 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.4457, allocations: 174.2 kB / 0.5245 GB, free: 6.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4459, allocations: 0.733 MB / 0.5252 GB, free: 5.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4459, allocations: 3.938 kB / 0.5252 GB, free: 5.906 MB / 346.7 MB Notification: Performance of Templates: time 0.004833/0.4507, allocations: 1.742 MB / 0.5269 GB, free: 5.047 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)