Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") [: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.002451/0.002451, 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.155/1.155, 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.001705/0.001705, allocations: 118 kB / 247.1 MB, free: 6.375 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.166/0.166, allocations: 39.95 MB / 331.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.836e-06/8.866e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.454, allocations: 81.31 MB / 0.5166 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.4542, allocations: 71.22 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.01203/0.4662, allocations: 4.287 MB / 0.5208 GB, free: 9.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4662, allocations: 1.125 kB / 0.5208 GB, free: 9.473 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.0003989/0.4666, allocations: 465.6 kB / 0.5213 GB, free: 9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4667, allocations: 8.625 kB / 0.5213 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.4667, allocations: 10.41 kB / 0.5213 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.467, allocations: 218.7 kB / 0.5215 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.467, allocations: 1.125 kB / 0.5215 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4671, allocations: 4.188 kB / 0.5215 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.669e-05/0.4672, allocations: 22.31 kB / 0.5215 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.4672, allocations: 49.14 kB / 0.5216 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4673, allocations: 1.094 kB / 0.5216 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4673, allocations: 0 / 0.5216 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4673, allocations: 1.375 kB / 0.5216 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.4676, allocations: 303 kB / 0.5219 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.4677, allocations: 57.33 kB / 0.5219 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.4678, allocations: 24.52 kB / 0.5219 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.4678, allocations: 2.219 kB / 0.5219 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/0.4679, allocations: 58.19 kB / 0.522 GB, free: 8.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.4679, allocations: 4 kB / 0.522 GB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003814/0.4682, allocations: 136.9 kB / 0.5221 GB, free: 8.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4683, allocations: 52.5 kB / 0.5222 GB, free: 8.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.4684, allocations: 193 kB / 0.5224 GB, free: 8.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4685, allocations: 27.05 kB / 0.5224 GB, free: 8.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.4685, allocations: 99.66 kB / 0.5225 GB, free: 7.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.4685, allocations: 22.11 kB / 0.5225 GB, free: 7.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.4685, allocations: 1.125 kB / 0.5225 GB, free: 7.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.4686, allocations: 330 kB / 0.5228 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.4687, allocations: 35.28 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.4687, allocations: 48.86 kB / 0.5229 GB, free: 7.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.4688, allocations: 35.89 kB / 0.5229 GB, free: 7.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4688, allocations: 1.062 kB / 0.5229 GB, free: 7.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002042/0.469, allocations: 139.2 kB / 0.5231 GB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.4691, allocations: 5.938 kB / 0.5231 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4691, allocations: 0 / 0.5231 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4691, allocations: 5.344 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.4692, allocations: 17.14 kB / 0.5231 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4692, allocations: 1.75 kB / 0.5231 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.4693, allocations: 3.094 kB / 0.5231 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4693, allocations: 4.406 kB / 0.5231 GB, free: 7.566 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.36e-05/0.4693, allocations: 110.2 kB / 0.5232 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.4694, allocations: 22.66 kB / 0.5232 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.4695, allocations: 109 kB / 0.5233 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4696, allocations: 1.344 kB / 0.5233 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4696, allocations: 5.188 kB / 0.5233 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4696, allocations: 0 / 0.5233 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4699, allocations: 374.6 kB / 0.5237 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4699, allocations: 3.906 kB / 0.5237 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.47, allocations: 9.031 kB / 0.5237 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.47, allocations: 1.312 kB / 0.5237 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.47, allocations: 10.28 kB / 0.5237 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.47, allocations: 4.031 kB / 0.5237 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.47, allocations: 1.375 kB / 0.5237 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001527/0.4702, allocations: 199.4 kB / 0.5239 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.4702, allocations: 101.7 kB / 0.524 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4703, allocations: 5.312 kB / 0.524 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.4703, allocations: 18.2 kB / 0.524 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.4704, allocations: 3.688 kB / 0.524 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4704, allocations: 6.578 kB / 0.524 GB, free: 6.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.582e-05/0.4705, allocations: 146.9 kB / 0.5242 GB, free: 6.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.4708, allocations: 32.62 kB / 0.5242 GB, free: 6.68 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.0008575/0.4716, allocations: 325.1 kB / 0.5245 GB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.4719, allocations: 124.5 kB / 0.5246 GB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4719, allocations: 0 / 0.5246 GB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.472, allocations: 34.33 kB / 0.5247 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4723, allocations: 24.17 kB / 0.5247 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.4727, allocations: 176 kB / 0.5249 GB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.4729, allocations: 0.7384 MB / 0.5256 GB, free: 5.57 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4729, allocations: 0 / 0.5256 GB, free: 5.57 MB / 346.7 MB Notification: Performance of Templates: time 0.004184/0.4771, allocations: 1.696 MB / 0.5273 GB, free: 4.727 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)