Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") [: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.004474/0.004474, allocations: 181.9 kB / 7.457 MB, free: 2.504 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.128/1.128, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001815/0.001815, allocations: 126.8 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.1628/0.1628, allocations: 39.95 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.093e-05, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 54.86 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4712, allocations: 81.31 MB / 0.5166 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4716, allocations: 73.17 kB / 0.5166 GB, free: 10.27 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.01268/0.4842, allocations: 4.333 MB / 0.5209 GB, free: 9.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4843, allocations: 5.938 kB / 0.5209 GB, free: 9.461 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.000443/0.4847, allocations: 474.4 kB / 0.5213 GB, free: 8.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4848, allocations: 8.531 kB / 0.5213 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.4848, allocations: 13.09 kB / 0.5213 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.4851, allocations: 212.9 kB / 0.5216 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4852, allocations: 1.281 kB / 0.5216 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.4852, allocations: 7.812 kB / 0.5216 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.473e-05/0.4853, allocations: 23.55 kB / 0.5216 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.4854, allocations: 47.56 kB / 0.5216 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4854, allocations: 12.86 kB / 0.5216 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4854, allocations: 0 / 0.5216 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4855, allocations: 1.062 kB / 0.5216 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.4858, allocations: 297.7 kB / 0.5219 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.486, allocations: 53.12 kB / 0.522 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.486, allocations: 20.33 kB / 0.522 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.486, allocations: 8.875 kB / 0.522 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.643e-05/0.4861, allocations: 60.98 kB / 0.5221 GB, free: 8.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.4861, allocations: 0 / 0.5221 GB, free: 8.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004632/0.4866, allocations: 150.3 kB / 0.5222 GB, free: 8.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.4866, allocations: 53.41 kB / 0.5223 GB, free: 8.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4868, allocations: 191.5 kB / 0.5224 GB, free: 8.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4869, allocations: 28.67 kB / 0.5225 GB, free: 8.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.4869, allocations: 98.94 kB / 0.5226 GB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4869, allocations: 22.72 kB / 0.5226 GB, free: 7.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.487, allocations: 1.219 kB / 0.5226 GB, free: 7.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.487, allocations: 326.7 kB / 0.5229 GB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.4871, allocations: 31.8 kB / 0.5229 GB, free: 7.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.4872, allocations: 52.44 kB / 0.523 GB, free: 7.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.4872, allocations: 39.42 kB / 0.523 GB, free: 7.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4873, allocations: 4 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002177/0.4875, allocations: 131.7 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4875, allocations: 5 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4875, allocations: 5.422 kB / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4875, allocations: 1.438 kB / 0.5232 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4876, allocations: 17.12 kB / 0.5232 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4877, allocations: 1.125 kB / 0.5232 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.4877, allocations: 3.344 kB / 0.5232 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4877, allocations: 7.516 kB / 0.5232 GB, free: 7.547 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.289e-05/0.4878, allocations: 116.5 kB / 0.5233 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4878, allocations: 12.97 kB / 0.5233 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.4881, allocations: 101.1 kB / 0.5234 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4881, allocations: 5 kB / 0.5234 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4881, allocations: 1.219 kB / 0.5234 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4881, allocations: 0 / 0.5234 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.4885, allocations: 379.9 kB / 0.5238 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4885, allocations: 4 kB / 0.5238 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.4885, allocations: 17.3 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4885, allocations: 1.219 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4885, allocations: 1.062 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4886, allocations: 1.031 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4886, allocations: 5.656 kB / 0.5238 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000176/0.4887, allocations: 214.2 kB / 0.524 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.4888, allocations: 97.22 kB / 0.5241 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.4889, allocations: 9.188 kB / 0.5241 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.489, allocations: 6.109 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.489, allocations: 3.062 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.489, allocations: 3.031 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001365/0.4892, allocations: 163.6 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.4895, allocations: 37.19 kB / 0.5243 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.0006713/0.4901, allocations: 331.5 kB / 0.5246 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.4903, allocations: 119 kB / 0.5247 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4904, allocations: 0 / 0.5247 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.4904, allocations: 30.84 kB / 0.5248 GB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4907, allocations: 17.08 kB / 0.5248 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.4911, allocations: 195.3 kB / 0.525 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.4914, allocations: 0.7283 MB / 0.5257 GB, free: 5.559 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4914, allocations: 0 / 0.5257 GB, free: 5.559 MB / 346.7 MB Notification: Performance of Templates: time 0.004221/0.4956, allocations: 1.725 MB / 0.5274 GB, free: 4.699 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)