Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") [: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.004317/0.004317, allocations: 182.3 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.271/1.271, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001692/0.001692, allocations: 118.8 kB / 247.1 MB, free: 6.352 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.1669/0.1669, allocations: 39.94 MB / 331.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.067e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09573, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.3859, allocations: 81.32 MB / 0.5166 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.3862, allocations: 68.64 kB / 0.5166 GB, free: 10.21 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.01225/0.3984, allocations: 4.491 MB / 0.521 GB, free: 9.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3985, allocations: 6.219 kB / 0.521 GB, free: 9.316 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.0003507/0.3988, allocations: 468.1 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3989, allocations: 9.406 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.3989, allocations: 18.44 kB / 0.5215 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3992, allocations: 227.1 kB / 0.5217 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3992, allocations: 1.25 kB / 0.5217 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3992, allocations: 3.656 kB / 0.5217 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.696e-05/0.3993, allocations: 26.7 kB / 0.5218 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.3994, allocations: 48.38 kB / 0.5218 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3994, allocations: 5.453 kB / 0.5218 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3994, allocations: 0 / 0.5218 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3994, allocations: 1 kB / 0.5218 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3998, allocations: 300.8 kB / 0.5221 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.3999, allocations: 56.42 kB / 0.5221 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.3999, allocations: 25.75 kB / 0.5222 GB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4, allocations: 4.906 kB / 0.5222 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.554e-05/0.4, allocations: 58.31 kB / 0.5222 GB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4001, allocations: 0 / 0.5222 GB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004481/0.4005, allocations: 150.1 kB / 0.5224 GB, free: 8.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4005, allocations: 56.91 kB / 0.5224 GB, free: 8.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4007, allocations: 221.3 kB / 0.5226 GB, free: 7.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4008, allocations: 27.73 kB / 0.5227 GB, free: 7.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.4008, allocations: 100.5 kB / 0.5228 GB, free: 7.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.4008, allocations: 27.39 kB / 0.5228 GB, free: 7.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.4008, allocations: 1.094 kB / 0.5228 GB, free: 7.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.4009, allocations: 326.7 kB / 0.5231 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.401, allocations: 28.69 kB / 0.5231 GB, free: 7.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.401, allocations: 59.02 kB / 0.5232 GB, free: 7.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.4011, allocations: 37.64 kB / 0.5232 GB, free: 7.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4011, allocations: 0 / 0.5232 GB, free: 7.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002001/0.4013, allocations: 140.1 kB / 0.5234 GB, free: 7.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4013, allocations: 5.469 kB / 0.5234 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4013, allocations: 1.531 kB / 0.5234 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4014, allocations: 0 / 0.5234 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.4015, allocations: 17.3 kB / 0.5234 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.4015, allocations: 1.344 kB / 0.5234 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.4015, allocations: 8.125 kB / 0.5234 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4016, allocations: 4.219 kB / 0.5234 GB, free: 7.395 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.095e-05/0.4016, allocations: 120.3 kB / 0.5235 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4016, allocations: 14.34 kB / 0.5235 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.4018, allocations: 103.2 kB / 0.5236 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4018, allocations: 2.438 kB / 0.5236 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4019, allocations: 0 / 0.5236 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4019, allocations: 7.969 kB / 0.5236 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.4022, allocations: 393.1 kB / 0.524 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4022, allocations: 1.5 kB / 0.524 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.4023, allocations: 16.56 kB / 0.524 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4023, allocations: 5.672 kB / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.4023, allocations: 1.5 kB / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4023, allocations: 0 / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4023, allocations: 1.844 kB / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.4025, allocations: 220.7 kB / 0.5242 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.4025, allocations: 103.4 kB / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4026, allocations: 1.5 kB / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.4027, allocations: 3.219 kB / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.4027, allocations: 9.984 kB / 0.5244 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4027, allocations: 2.844 kB / 0.5244 GB, free: 6.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000134/0.4028, allocations: 191.9 kB / 0.5245 GB, free: 6.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.4031, allocations: 39.77 kB / 0.5246 GB, free: 6.488 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.0006166/0.4038, allocations: 316.5 kB / 0.5249 GB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.404, allocations: 119.7 kB / 0.525 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.404, allocations: 0 / 0.525 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.404, allocations: 35 kB / 0.525 GB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.4043, allocations: 20.14 kB / 0.525 GB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.4047, allocations: 217.9 kB / 0.5253 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4049, allocations: 0.7436 MB / 0.526 GB, free: 5.383 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4049, allocations: 0 / 0.526 GB, free: 5.383 MB / 346.7 MB Notification: Performance of Templates: time 0.00393/0.4088, allocations: 1.776 MB / 0.5277 GB, free: 4.5 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)