Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") [: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.003095/0.003095, allocations: 186.5 kB / 7.457 MB, free: 2.512 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.398/1.398, 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.001683/0.001684, allocations: 119.1 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.1834/0.1834, allocations: 39.93 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.226e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09841, allocations: 54.88 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.3841, allocations: 81.32 MB / 0.5166 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3844, allocations: 68.69 kB / 0.5166 GB, free: 10.34 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.0127/0.3971, allocations: 4.514 MB / 0.5211 GB, free: 9.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3972, allocations: 1.844 kB / 0.5211 GB, free: 9.441 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.0004372/0.3976, allocations: 484 kB / 0.5215 GB, free: 8.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3976, allocations: 9.562 kB / 0.5215 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.3977, allocations: 14.75 kB / 0.5215 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.398, allocations: 219.1 kB / 0.5218 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3981, allocations: 5.109 kB / 0.5218 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3981, allocations: 4.75 kB / 0.5218 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.978e-05/0.3982, allocations: 14.53 kB / 0.5218 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.3983, allocations: 56.27 kB / 0.5218 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3983, allocations: 7.562 kB / 0.5218 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3983, allocations: 4.969 kB / 0.5218 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3983, allocations: 0 / 0.5218 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3987, allocations: 307.2 kB / 0.5221 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3988, allocations: 55.48 kB / 0.5222 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.3988, allocations: 20.92 kB / 0.5222 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3989, allocations: 0 / 0.5222 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.722e-05/0.399, allocations: 70.42 kB / 0.5223 GB, free: 8.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.399, allocations: 0 / 0.5223 GB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004262/0.3994, allocations: 142.2 kB / 0.5224 GB, free: 8.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.3994, allocations: 52.75 kB / 0.5225 GB, free: 8.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3997, allocations: 229.9 kB / 0.5227 GB, free: 8.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3997, allocations: 31.05 kB / 0.5227 GB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.3997, allocations: 105.7 kB / 0.5228 GB, free: 7.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3998, allocations: 31.64 kB / 0.5228 GB, free: 7.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.3998, allocations: 1.219 kB / 0.5228 GB, free: 7.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.3998, allocations: 327.8 kB / 0.5232 GB, free: 7.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.3999, allocations: 30.34 kB / 0.5232 GB, free: 7.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.4, allocations: 51.52 kB / 0.5232 GB, free: 7.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.189e-05/0.4, allocations: 36.3 kB / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4, allocations: 4.875 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002175/0.4003, allocations: 142.1 kB / 0.5234 GB, free: 7.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4003, allocations: 5.219 kB / 0.5234 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4003, allocations: 1.344 kB / 0.5234 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4003, allocations: 0 / 0.5234 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.4004, allocations: 18.61 kB / 0.5234 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4004, allocations: 0 / 0.5234 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.4005, allocations: 4.156 kB / 0.5234 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.4005, allocations: 7.094 kB / 0.5234 GB, free: 7.516 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.899e-05/0.4006, allocations: 109 kB / 0.5235 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.4006, allocations: 22.3 kB / 0.5236 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.4008, allocations: 108.8 kB / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4008, allocations: 1.125 kB / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4009, allocations: 0 / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4009, allocations: 3.984 kB / 0.5237 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.4012, allocations: 395.8 kB / 0.5241 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4012, allocations: 0 / 0.5241 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.4013, allocations: 13.23 kB / 0.5241 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4013, allocations: 1.188 kB / 0.5241 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4013, allocations: 2.281 kB / 0.5241 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4013, allocations: 1.281 kB / 0.5241 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4013, allocations: 3.938 kB / 0.5241 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001663/0.4015, allocations: 215.4 kB / 0.5243 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.4016, allocations: 105.7 kB / 0.5244 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.4016, allocations: 8.531 kB / 0.5244 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.4017, allocations: 6.641 kB / 0.5244 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.4017, allocations: 6.625 kB / 0.5244 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4018, allocations: 3.875 kB / 0.5244 GB, free: 6.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001464/0.4019, allocations: 196.4 kB / 0.5246 GB, free: 6.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.4022, allocations: 40.66 kB / 0.5246 GB, free: 6.605 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.0006298/0.4028, allocations: 326.8 kB / 0.5249 GB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.403, allocations: 120.8 kB / 0.5251 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.403, allocations: 0 / 0.5251 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.4031, allocations: 30.56 kB / 0.5251 GB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.4034, allocations: 20.73 kB / 0.5251 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.4038, allocations: 227.8 kB / 0.5253 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.404, allocations: 0.7451 MB / 0.526 GB, free: 5.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.404, allocations: 0 / 0.526 GB, free: 5.484 MB / 346.7 MB Notification: Performance of Templates: time 0.004229/0.4082, allocations: 1.801 MB / 0.5278 GB, free: 4.59 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)