Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53") [: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.003332/0.003332, allocations: 183.9 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.242/1.242, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001774/0.001774, allocations: 114.6 kB / 247.1 MB, free: 6.344 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.1955/0.1955, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.094e-05, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4384, allocations: 81.32 MB / 0.5166 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4387, allocations: 69.08 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.01334/0.4521, allocations: 4.348 MB / 0.5209 GB, free: 9.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.4521, allocations: 6.094 kB / 0.5209 GB, free: 9.52 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.000473/0.4526, allocations: 467.7 kB / 0.5213 GB, free: 9.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4526, allocations: 8.906 kB / 0.5214 GB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.4527, allocations: 14.22 kB / 0.5214 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.453, allocations: 216.3 kB / 0.5216 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.453, allocations: 2 kB / 0.5216 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4531, allocations: 3.5 kB / 0.5216 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.641e-05/0.4532, allocations: 26.33 kB / 0.5216 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.4533, allocations: 48.62 kB / 0.5216 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4533, allocations: 3.906 kB / 0.5217 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4533, allocations: 1.5 kB / 0.5217 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4533, allocations: 4 kB / 0.5217 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.4537, allocations: 298 kB / 0.5219 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4538, allocations: 57.69 kB / 0.522 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.4539, allocations: 17.89 kB / 0.522 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4539, allocations: 4 kB / 0.522 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.968e-05/0.454, allocations: 62.67 kB / 0.5221 GB, free: 8.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.454, allocations: 0 / 0.5221 GB, free: 8.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004872/0.4545, allocations: 149.4 kB / 0.5222 GB, free: 8.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.4545, allocations: 52.72 kB / 0.5223 GB, free: 8.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4548, allocations: 193.9 kB / 0.5225 GB, free: 8.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4549, allocations: 28.36 kB / 0.5225 GB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.4549, allocations: 92.72 kB / 0.5226 GB, free: 8.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.455, allocations: 27.25 kB / 0.5226 GB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.455, allocations: 1.312 kB / 0.5226 GB, free: 8.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4551, allocations: 330.4 kB / 0.5229 GB, free: 7.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.4552, allocations: 31.09 kB / 0.5229 GB, free: 7.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.4553, allocations: 48.31 kB / 0.523 GB, free: 7.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.4554, allocations: 40.48 kB / 0.523 GB, free: 7.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4554, allocations: 1.312 kB / 0.523 GB, free: 7.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000276/0.4557, allocations: 142.2 kB / 0.5232 GB, free: 7.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4557, allocations: 5.312 kB / 0.5232 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4557, allocations: 0 / 0.5232 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4557, allocations: 1.375 kB / 0.5232 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4558, allocations: 17.09 kB / 0.5232 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4559, allocations: 1.344 kB / 0.5232 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.4559, allocations: 6.797 kB / 0.5232 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.456, allocations: 5.25 kB / 0.5232 GB, free: 7.613 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 8.719e-05/0.4561, allocations: 111.6 kB / 0.5233 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4561, allocations: 17.09 kB / 0.5233 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.4564, allocations: 104.7 kB / 0.5234 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4564, allocations: 1.25 kB / 0.5234 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4564, allocations: 3.938 kB / 0.5234 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4564, allocations: 1.219 kB / 0.5234 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4569, allocations: 382.9 kB / 0.5238 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4569, allocations: 0 / 0.5238 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.457, allocations: 17.69 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.457, allocations: 0 / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.457, allocations: 1.844 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.457, allocations: 1.375 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.457, allocations: 9.406 kB / 0.5238 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002174/0.4572, allocations: 208.8 kB / 0.524 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.4573, allocations: 101.8 kB / 0.5241 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4574, allocations: 3.906 kB / 0.5241 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.4574, allocations: 10 kB / 0.5241 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.4575, allocations: 3.875 kB / 0.5241 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4575, allocations: 11.17 kB / 0.5241 GB, free: 6.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001605/0.4577, allocations: 156.2 kB / 0.5243 GB, free: 6.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00036/0.4581, allocations: 37.53 kB / 0.5243 GB, free: 6.719 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.0009258/0.459, allocations: 322.8 kB / 0.5246 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.4592, allocations: 112.5 kB / 0.5247 GB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4592, allocations: 0.8125 kB / 0.5247 GB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.4593, allocations: 33.86 kB / 0.5248 GB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4596, allocations: 16.3 kB / 0.5248 GB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.46, allocations: 197.3 kB / 0.525 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.4603, allocations: 0.7314 MB / 0.5257 GB, free: 5.625 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4603, allocations: 0 / 0.5257 GB, free: 5.625 MB / 346.7 MB Notification: Performance of Templates: time 0.004631/0.4649, allocations: 1.727 MB / 0.5274 GB, free: 4.762 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)