Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") [: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.004073/0.004073, allocations: 183.4 kB / 7.458 MB, free: 2.484 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.391/1.391, 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.001658/0.001658, allocations: 121.6 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.1637/0.1637, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.258e-06/9.268e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09747, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/0.3788, allocations: 81.28 MB / 0.5165 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3791, allocations: 70.19 kB / 0.5166 GB, free: 10.31 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.01152/0.3906, allocations: 4.097 MB / 0.5206 GB, free: 9.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3906, allocations: 1.25 kB / 0.5206 GB, free: 9.59 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.0004189/0.3911, allocations: 452.6 kB / 0.521 GB, free: 9.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3911, allocations: 13 kB / 0.5211 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3912, allocations: 9.062 kB / 0.5211 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3914, allocations: 207.1 kB / 0.5213 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3914, allocations: 4.594 kB / 0.5213 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3915, allocations: 7.938 kB / 0.5213 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.475e-05/0.3915, allocations: 16.03 kB / 0.5213 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.3916, allocations: 55.83 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3916, allocations: 0.75 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3917, allocations: 1.406 kB / 0.5213 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3917, allocations: 4 kB / 0.5213 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.392, allocations: 297.1 kB / 0.5216 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.3921, allocations: 44.61 kB / 0.5217 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.3921, allocations: 20.81 kB / 0.5217 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3922, allocations: 1.5 kB / 0.5217 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.3922, allocations: 65.53 kB / 0.5218 GB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3922, allocations: 5.125 kB / 0.5218 GB, free: 8.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.3926, allocations: 133.3 kB / 0.5219 GB, free: 8.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.3926, allocations: 52.84 kB / 0.5219 GB, free: 8.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3928, allocations: 166.5 kB / 0.5221 GB, free: 8.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3928, allocations: 27.48 kB / 0.5221 GB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.3928, allocations: 96.78 kB / 0.5222 GB, free: 8.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3929, allocations: 26.27 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.3929, allocations: 1.156 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.393, allocations: 322.5 kB / 0.5225 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.393, allocations: 35.22 kB / 0.5226 GB, free: 7.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.3931, allocations: 55.08 kB / 0.5226 GB, free: 7.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.3932, allocations: 33.48 kB / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3932, allocations: 0 / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002171/0.3934, allocations: 141 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3934, allocations: 5.531 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3935, allocations: 1.219 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3935, allocations: 3.938 kB / 0.5228 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3936, allocations: 17.98 kB / 0.5228 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3936, allocations: 1.219 kB / 0.5228 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3937, allocations: 3.781 kB / 0.5228 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3937, allocations: 3.969 kB / 0.5228 GB, free: 7.711 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 6.783e-05/0.3938, allocations: 104.7 kB / 0.5229 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.3938, allocations: 23.8 kB / 0.523 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.394, allocations: 103.2 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.394, allocations: 1.125 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.394, allocations: 0 / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.394, allocations: 1.281 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.3944, allocations: 367 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3944, allocations: 1.281 kB / 0.5234 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.3945, allocations: 16.53 kB / 0.5234 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3945, allocations: 1 kB / 0.5234 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3945, allocations: 9.984 kB / 0.5234 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3945, allocations: 1.25 kB / 0.5234 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3945, allocations: 0 / 0.5234 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001543/0.3947, allocations: 215.5 kB / 0.5236 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3947, allocations: 100 kB / 0.5237 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3948, allocations: 1.312 kB / 0.5237 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.3948, allocations: 2.938 kB / 0.5237 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.3949, allocations: 14.39 kB / 0.5238 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3949, allocations: 2.938 kB / 0.5238 GB, free: 6.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.496e-05/0.395, allocations: 132.6 kB / 0.5239 GB, free: 6.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.3953, allocations: 39.92 kB / 0.5239 GB, free: 6.82 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.0006806/0.396, allocations: 334.1 kB / 0.5242 GB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3962, allocations: 119.4 kB / 0.5244 GB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.3962, allocations: 0 / 0.5244 GB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.3962, allocations: 25.97 kB / 0.5244 GB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3965, allocations: 15.77 kB / 0.5244 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3968, allocations: 162.6 kB / 0.5246 GB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.397, allocations: 0.7276 MB / 0.5253 GB, free: 5.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.397, allocations: 0 / 0.5253 GB, free: 5.73 MB / 346.7 MB Notification: Performance of Templates: time 0.003707/0.4007, allocations: 1.654 MB / 0.5269 GB, free: 4.906 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)