Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.3 kB / 7.651 MB, free: 1.402 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.483/1.483, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001759/0.001759, allocations: 113.8 kB / 247.4 MB, free: 6.242 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.2048/0.2048, allocations: 39.93 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.0809, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4412, allocations: 81.4 MB / 0.5172 GB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4415, allocations: 68.55 kB / 0.5173 GB, free: 10.26 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 - DAE generated: time 0.01151/0.453, allocations: 4.839 MB / 0.522 GB, free: 9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.453, allocations: 0 / 0.522 GB, free: 9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.453, allocations: 3.812 kB / 0.522 GB, free: 9 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.0004328/0.4535, allocations: 474.6 kB / 0.5224 GB, free: 8.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4535, allocations: 11.56 kB / 0.5224 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.4536, allocations: 15.5 kB / 0.5225 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4538, allocations: 224.7 kB / 0.5227 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4539, allocations: 0 / 0.5227 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.4539, allocations: 3.688 kB / 0.5227 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.928e-05/0.454, allocations: 15.5 kB / 0.5227 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.4541, allocations: 51.98 kB / 0.5227 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4541, allocations: 7.891 kB / 0.5228 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4541, allocations: 3.875 kB / 0.5228 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4541, allocations: 4 kB / 0.5228 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.4545, allocations: 304.1 kB / 0.523 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.4546, allocations: 48.47 kB / 0.5231 GB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.4546, allocations: 21.33 kB / 0.5231 GB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4546, allocations: 0 / 0.5231 GB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.4547, allocations: 76.34 kB / 0.5232 GB, free: 7.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4547, allocations: 0 / 0.5232 GB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003908/0.4551, allocations: 161.1 kB / 0.5233 GB, free: 7.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.4552, allocations: 51.41 kB / 0.5234 GB, free: 7.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4553, allocations: 223 kB / 0.5236 GB, free: 7.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4554, allocations: 29.02 kB / 0.5236 GB, free: 7.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.4554, allocations: 113.4 kB / 0.5237 GB, free: 7.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4555, allocations: 31.38 kB / 0.5238 GB, free: 7.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.4555, allocations: 3.844 kB / 0.5238 GB, free: 7.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.4555, allocations: 326 kB / 0.5241 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.4556, allocations: 37.14 kB / 0.5241 GB, free: 7.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.4556, allocations: 43.59 kB / 0.5242 GB, free: 7.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.4557, allocations: 34.23 kB / 0.5242 GB, free: 7.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4557, allocations: 0 / 0.5242 GB, free: 7.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001782/0.4559, allocations: 134.3 kB / 0.5243 GB, free: 7.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4559, allocations: 41.25 kB / 0.5244 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.456, allocations: 7.797 kB / 0.5244 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.456, allocations: 192 / 0.5244 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.4561, allocations: 22.73 kB / 0.5244 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4561, allocations: 3.844 kB / 0.5244 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.4561, allocations: 7.656 kB / 0.5244 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4562, allocations: 7.719 kB / 0.5244 GB, free: 7.031 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.733e-05/0.4562, allocations: 104.7 kB / 0.5245 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.4563, allocations: 15.38 kB / 0.5245 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.4564, allocations: 123.7 kB / 0.5246 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4565, allocations: 7.938 kB / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4565, allocations: 0 / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4565, allocations: 0 / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.4568, allocations: 401.9 kB / 0.525 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4568, allocations: 0 / 0.525 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.4569, allocations: 11.53 kB / 0.525 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4569, allocations: 12.16 kB / 0.5251 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.4569, allocations: 7.781 kB / 0.5251 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4569, allocations: 3.938 kB / 0.5251 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4569, allocations: 0 / 0.5251 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.4571, allocations: 213 kB / 0.5253 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.4571, allocations: 111.6 kB / 0.5254 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.4572, allocations: 7.844 kB / 0.5254 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.4573, allocations: 7.672 kB / 0.5254 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.4573, allocations: 3.844 kB / 0.5254 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.4573, allocations: 0 / 0.5254 GB, free: 6.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.4574, allocations: 187.3 kB / 0.5256 GB, free: 6.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4574, allocations: 0 / 0.5256 GB, free: 6.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.4577, allocations: 46.05 kB / 0.5256 GB, free: 6.125 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.0007011/0.4584, allocations: 357.2 kB / 0.526 GB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.4586, allocations: 156.5 kB / 0.5261 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4586, allocations: 0 / 0.5261 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.4586, allocations: 28.84 kB / 0.5261 GB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.4589, allocations: 22.52 kB / 0.5262 GB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.4592, allocations: 215.1 kB / 0.5264 GB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4594, allocations: 0.7298 MB / 0.5271 GB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.4594, allocations: 11.84 kB / 0.5271 GB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.4594, allocations: 18.41 kB / 0.5271 GB, free: 4.949 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4595, allocations: 0 / 0.5271 GB, free: 4.949 MB / 346.7 MB Notification: Performance of Templates: time 0.003727/0.4632, allocations: 1.779 MB / 0.5288 GB, free: 4.055 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)