Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") [: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.00225/0.00225, allocations: 184.1 kB / 7.457 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.161/1.161, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001799/0.001799, allocations: 123.8 kB / 247.1 MB, free: 6.246 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.165/0.165, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.137e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4613, allocations: 81.42 MB / 0.5167 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4616, allocations: 73.88 kB / 0.5168 GB, free: 10.32 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.01959/0.4812, allocations: 6.503 MB / 0.5231 GB, free: 8.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.941e-05/0.4813, allocations: 4.406 kB / 0.5231 GB, free: 8.707 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.001011/0.4823, allocations: 0.6095 MB / 0.5237 GB, free: 8.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.956e-05/0.4824, allocations: 9.438 kB / 0.5237 GB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.4826, allocations: 32.2 kB / 0.5237 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.4832, allocations: 279.1 kB / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.4833, allocations: 3.094 kB / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.4833, allocations: 11.62 kB / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/0.4835, allocations: 37.02 kB / 0.5241 GB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4837, allocations: 95.3 kB / 0.5241 GB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4837, allocations: 0 / 0.5241 GB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4837, allocations: 4.938 kB / 0.5242 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4837, allocations: 1.156 kB / 0.5242 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.4844, allocations: 491.3 kB / 0.5246 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4847, allocations: 99.7 kB / 0.5247 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.4847, allocations: 46.3 kB / 0.5248 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4848, allocations: 1.594 kB / 0.5248 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4849, allocations: 109.4 kB / 0.5249 GB, free: 7.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.4849, allocations: 0 / 0.5249 GB, free: 7.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008684/0.4858, allocations: 301 kB / 0.5252 GB, free: 7.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4859, allocations: 83.45 kB / 0.5252 GB, free: 6.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.4865, allocations: 364.8 kB / 0.5256 GB, free: 6.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4865, allocations: 29.42 kB / 0.5256 GB, free: 6.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.4866, allocations: 114.5 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.4866, allocations: 45.83 kB / 0.5258 GB, free: 6.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.4867, allocations: 2.531 kB / 0.5258 GB, free: 6.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4868, allocations: 342.2 kB / 0.5261 GB, free: 6.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4869, allocations: 64.86 kB / 0.5262 GB, free: 6.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4871, allocations: 109.4 kB / 0.5263 GB, free: 6.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4873, allocations: 76.75 kB / 0.5263 GB, free: 6.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4873, allocations: 1.469 kB / 0.5263 GB, free: 6.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004476/0.4877, allocations: 241.5 kB / 0.5266 GB, free: 6.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4878, allocations: 4.25 kB / 0.5266 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4878, allocations: 1.469 kB / 0.5266 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.4878, allocations: 5.5 kB / 0.5266 GB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.488, allocations: 41.75 kB / 0.5266 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.488, allocations: 2.438 kB / 0.5266 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.4882, allocations: 10.03 kB / 0.5266 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.4882, allocations: 8.281 kB / 0.5266 GB, free: 6.227 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 8.556e-05/0.4883, allocations: 127.8 kB / 0.5268 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.4884, allocations: 27.5 kB / 0.5268 GB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.4888, allocations: 187.5 kB / 0.527 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4888, allocations: 2.469 kB / 0.527 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4888, allocations: 1.312 kB / 0.527 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4888, allocations: 0 / 0.527 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.4896, allocations: 0.6255 MB / 0.5276 GB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4896, allocations: 4.062 kB / 0.5276 GB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.4897, allocations: 18.34 kB / 0.5276 GB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.4897, allocations: 5.359 kB / 0.5276 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4897, allocations: 7.719 kB / 0.5276 GB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.4897, allocations: 2.281 kB / 0.5276 GB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4897, allocations: 8.109 kB / 0.5276 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003908/0.4901, allocations: 383.8 kB / 0.528 GB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4903, allocations: 137.2 kB / 0.5281 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.4904, allocations: 2.344 kB / 0.5281 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.4905, allocations: 6.062 kB / 0.5281 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.4906, allocations: 16.78 kB / 0.5281 GB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4906, allocations: 14.53 kB / 0.5282 GB, free: 5.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003408/0.491, allocations: 287.8 kB / 0.5284 GB, free: 5.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000485/0.4915, allocations: 83.95 kB / 0.5285 GB, free: 4.988 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.001145/0.4926, allocations: 484.6 kB / 0.529 GB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.493, allocations: 231.2 kB / 0.5292 GB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.493, allocations: 0 / 0.5292 GB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4931, allocations: 66.72 kB / 0.5293 GB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4936, allocations: 44.67 kB / 0.5293 GB, free: 4.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.4945, allocations: 396.7 kB / 0.5297 GB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.4948, allocations: 0.7969 MB / 0.5305 GB, free: 3.652 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4948, allocations: 4 kB / 0.5305 GB, free: 3.648 MB / 346.7 MB Notification: Performance of Templates: time 0.007034/0.5019, allocations: 3.225 MB / 0.5336 GB, free: 1.348 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)