Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") [: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.002828/0.002828, allocations: 181.5 kB / 7.455 MB, free: 2.508 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.376/1.376, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001844/0.001844, allocations: 120.4 kB / 247.1 MB, free: 6.332 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.2282/0.2282, allocations: 39.93 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.923e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09357, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3799, allocations: 81.31 MB / 0.5166 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.3801, allocations: 74.23 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.01274/0.3929, allocations: 4.425 MB / 0.521 GB, free: 9.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3929, allocations: 2.312 kB / 0.521 GB, free: 9.477 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.0004284/0.3933, allocations: 474.5 kB / 0.5214 GB, free: 9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3934, allocations: 8.281 kB / 0.5214 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.3935, allocations: 18.36 kB / 0.5214 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3938, allocations: 214.3 kB / 0.5217 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3938, allocations: 0.9688 kB / 0.5217 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3938, allocations: 15.66 kB / 0.5217 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.394, allocations: 19.06 kB / 0.5217 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.3941, allocations: 52.17 kB / 0.5217 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3941, allocations: 1.156 kB / 0.5217 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3941, allocations: 0 / 0.5217 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3941, allocations: 0.9375 kB / 0.5217 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.3946, allocations: 298.2 kB / 0.522 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3947, allocations: 54.59 kB / 0.5221 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3948, allocations: 24.55 kB / 0.5221 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3948, allocations: 4.812 kB / 0.5221 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.3949, allocations: 62.45 kB / 0.5222 GB, free: 8.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3949, allocations: 0 / 0.5222 GB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004956/0.3954, allocations: 146.4 kB / 0.5223 GB, free: 8.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3955, allocations: 56.69 kB / 0.5224 GB, free: 8.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3957, allocations: 215.6 kB / 0.5226 GB, free: 8.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3957, allocations: 26.3 kB / 0.5226 GB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.3957, allocations: 93.16 kB / 0.5227 GB, free: 7.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3958, allocations: 28.48 kB / 0.5227 GB, free: 7.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.3958, allocations: 1.062 kB / 0.5227 GB, free: 7.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.3959, allocations: 329.9 kB / 0.523 GB, free: 7.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.396, allocations: 29.81 kB / 0.523 GB, free: 7.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.396, allocations: 54.42 kB / 0.5231 GB, free: 7.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.3961, allocations: 39.48 kB / 0.5231 GB, free: 7.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3961, allocations: 0 / 0.5231 GB, free: 7.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002257/0.3964, allocations: 135.5 kB / 0.5233 GB, free: 7.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3964, allocations: 5.531 kB / 0.5233 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3964, allocations: 1.031 kB / 0.5233 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3964, allocations: 1.094 kB / 0.5233 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3965, allocations: 19.86 kB / 0.5233 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3965, allocations: 5.156 kB / 0.5233 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.3966, allocations: 7.5 kB / 0.5233 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3966, allocations: 4.438 kB / 0.5233 GB, free: 7.551 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.791e-05/0.3967, allocations: 104.3 kB / 0.5234 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3967, allocations: 26.45 kB / 0.5234 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.397, allocations: 99.92 kB / 0.5235 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.397, allocations: 1.281 kB / 0.5235 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.397, allocations: 0 / 0.5235 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.397, allocations: 4 kB / 0.5235 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.3974, allocations: 393.5 kB / 0.5239 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3974, allocations: 0 / 0.5239 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.3975, allocations: 10.38 kB / 0.5239 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3975, allocations: 0 / 0.5239 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3975, allocations: 4.969 kB / 0.5239 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3975, allocations: 1.906 kB / 0.5239 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3975, allocations: 192 / 0.5239 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001969/0.3977, allocations: 215.4 kB / 0.5241 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3978, allocations: 103.6 kB / 0.5242 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.3979, allocations: 5.125 kB / 0.5242 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.398, allocations: 6.359 kB / 0.5242 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.398, allocations: 6.5 kB / 0.5242 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.398, allocations: 11.8 kB / 0.5243 GB, free: 6.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001375/0.3982, allocations: 164.8 kB / 0.5244 GB, free: 6.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.3985, allocations: 46.95 kB / 0.5245 GB, free: 6.66 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.0007941/0.3993, allocations: 323.8 kB / 0.5248 GB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3995, allocations: 121.4 kB / 0.5249 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3995, allocations: 0 / 0.5249 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.3996, allocations: 34.84 kB / 0.5249 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3999, allocations: 20.48 kB / 0.5249 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.4004, allocations: 192.1 kB / 0.5251 GB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4007, allocations: 0.7373 MB / 0.5258 GB, free: 5.562 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.4007, allocations: 0 / 0.5258 GB, free: 5.562 MB / 346.7 MB Notification: Performance of Templates: time 0.004491/0.4052, allocations: 1.745 MB / 0.5275 GB, free: 4.691 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)