Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") [: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.002803/0.002802, allocations: 188.8 kB / 7.459 MB, free: 2.23 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.355/1.355, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001823/0.001823, allocations: 117.2 kB / 247.1 MB, free: 6.348 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.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.055e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09591, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/0.377, allocations: 81.31 MB / 0.5166 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3773, allocations: 68.33 kB / 0.5166 GB, free: 10.28 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.01366/0.391, allocations: 4.483 MB / 0.521 GB, free: 9.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.391, allocations: 5.344 kB / 0.521 GB, free: 9.391 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.0005444/0.3916, allocations: 469.8 kB / 0.5215 GB, free: 8.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.3916, allocations: 8.969 kB / 0.5215 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.3917, allocations: 18.84 kB / 0.5215 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3921, allocations: 227 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3922, allocations: 1.281 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.3922, allocations: 5.031 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.3924, allocations: 22.33 kB / 0.5217 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3925, allocations: 51.48 kB / 0.5218 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3925, allocations: 5.938 kB / 0.5218 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3925, allocations: 0 / 0.5218 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3925, allocations: 1.688 kB / 0.5218 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.393, allocations: 305.6 kB / 0.5221 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3932, allocations: 50.34 kB / 0.5221 GB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.3932, allocations: 22.11 kB / 0.5222 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3933, allocations: 3.938 kB / 0.5222 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.828e-05/0.3934, allocations: 62.5 kB / 0.5222 GB, free: 8.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.3934, allocations: 4 kB / 0.5222 GB, free: 8.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005027/0.3939, allocations: 147 kB / 0.5224 GB, free: 8.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3939, allocations: 52.78 kB / 0.5224 GB, free: 8.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3942, allocations: 225.8 kB / 0.5226 GB, free: 8.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3942, allocations: 26.86 kB / 0.5227 GB, free: 7.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.3943, allocations: 97.62 kB / 0.5227 GB, free: 7.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.3943, allocations: 23.03 kB / 0.5228 GB, free: 7.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3943, allocations: 1.156 kB / 0.5228 GB, free: 7.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.3944, allocations: 331.5 kB / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.3945, allocations: 36.45 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.3945, allocations: 52.91 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.3946, allocations: 35.86 kB / 0.5232 GB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3946, allocations: 0 / 0.5232 GB, free: 7.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002557/0.3949, allocations: 136 kB / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3949, allocations: 5.594 kB / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3949, allocations: 0 / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.395, allocations: 9.359 kB / 0.5233 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3951, allocations: 17.97 kB / 0.5234 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3951, allocations: 0 / 0.5234 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.3952, allocations: 4.219 kB / 0.5234 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3952, allocations: 11.3 kB / 0.5234 GB, free: 7.465 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.844e-05/0.3953, allocations: 109.3 kB / 0.5235 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3953, allocations: 13.59 kB / 0.5235 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3955, allocations: 113.1 kB / 0.5236 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3955, allocations: 6.344 kB / 0.5236 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3955, allocations: 0 / 0.5236 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3956, allocations: 0 / 0.5236 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.396, allocations: 389.3 kB / 0.524 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.396, allocations: 192 / 0.524 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.396, allocations: 21.83 kB / 0.524 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.396, allocations: 0 / 0.524 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3961, allocations: 2.281 kB / 0.524 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3961, allocations: 5.094 kB / 0.524 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3961, allocations: 192 / 0.524 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001997/0.3963, allocations: 215.5 kB / 0.5242 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.3964, allocations: 107.9 kB / 0.5243 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.3964, allocations: 2.25 kB / 0.5243 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.3965, allocations: 9.984 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3965, allocations: 3.812 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3965, allocations: 5.688 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001711/0.3967, allocations: 183.1 kB / 0.5245 GB, free: 6.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.397, allocations: 45.08 kB / 0.5246 GB, free: 6.566 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.0007283/0.3978, allocations: 319.3 kB / 0.5249 GB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.398, allocations: 124.2 kB / 0.525 GB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.398, allocations: 0 / 0.525 GB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.3981, allocations: 25.62 kB / 0.525 GB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3983, allocations: 25.2 kB / 0.525 GB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3988, allocations: 216.9 kB / 0.5252 GB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.3991, allocations: 0.7498 MB / 0.526 GB, free: 5.453 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3991, allocations: 0 / 0.526 GB, free: 5.453 MB / 346.7 MB Notification: Performance of Templates: time 0.004647/0.4037, allocations: 1.767 MB / 0.5277 GB, free: 4.578 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)