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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001218/0.001218, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.792/1.792, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001914/0.001914, allocations: 113.2 kB / 252.6 MB, free: 4.793 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.2355/0.2355, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-05/4.02e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5889, allocations: 82.06 MB / 0.5246 GB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5892, allocations: 67.34 kB / 0.5247 GB, free: 8.984 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.01264/0.6019, allocations: 4.725 MB / 0.5293 GB, free: 5.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6019, allocations: 0 / 0.5293 GB, free: 5.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.602, allocations: 0 / 0.5293 GB, free: 5.234 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.000524/0.6025, allocations: 467.3 kB / 0.5297 GB, free: 4.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6025, allocations: 8.031 kB / 0.5298 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.6026, allocations: 15.91 kB / 0.5298 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.603, allocations: 214.5 kB / 0.53 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.603, allocations: 4 kB / 0.53 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.6031, allocations: 7.688 kB / 0.53 GB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.6032, allocations: 56.23 kB / 0.53 GB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6032, allocations: 4 kB / 0.53 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6033, allocations: 3.953 kB / 0.53 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.6033, allocations: 0 / 0.53 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.6034, allocations: 22.42 kB / 0.5301 GB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.6038, allocations: 316.3 kB / 0.5304 GB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.604, allocations: 56.62 kB / 0.5304 GB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.604, allocations: 18.98 kB / 0.5304 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6041, allocations: 0 / 0.5304 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.6042, allocations: 76.53 kB / 0.5305 GB, free: 3.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.6042, allocations: 0 / 0.5305 GB, free: 3.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005341/0.6048, allocations: 175.8 kB / 0.5307 GB, free: 3.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.6048, allocations: 51.41 kB / 0.5307 GB, free: 3.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.605, allocations: 198.4 kB / 0.5309 GB, free: 3.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6051, allocations: 29.69 kB / 0.5309 GB, free: 3.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.6051, allocations: 107.4 kB / 0.5311 GB, free: 3.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.6052, allocations: 27.58 kB / 0.5311 GB, free: 3.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.6052, allocations: 7.938 kB / 0.5311 GB, free: 3.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6053, allocations: 326 kB / 0.5314 GB, free: 3.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.6054, allocations: 31.31 kB / 0.5314 GB, free: 3.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.6054, allocations: 57.02 kB / 0.5315 GB, free: 2.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.6055, allocations: 68.88 kB / 0.5315 GB, free: 2.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6055, allocations: 0 / 0.5315 GB, free: 2.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002006/0.6057, allocations: 186.1 kB / 0.5317 GB, free: 2.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.6058, allocations: 37.73 kB / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6058, allocations: 0 / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6058, allocations: 0 / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.6059, allocations: 19.98 kB / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.6059, allocations: 4.062 kB / 0.5318 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.606, allocations: 7.688 kB / 0.5318 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.606, allocations: 11.98 kB / 0.5318 GB, free: 2.668 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.302e-05/0.6061, allocations: 112.9 kB / 0.5319 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.6061, allocations: 11.86 kB / 0.5319 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.6063, allocations: 129.8 kB / 0.532 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6063, allocations: 0 / 0.532 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6063, allocations: 0 / 0.532 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6064, allocations: 3.984 kB / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.6067, allocations: 417.6 kB / 0.5324 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6067, allocations: 0 / 0.5324 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.6068, allocations: 11.94 kB / 0.5325 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6068, allocations: 4.031 kB / 0.5325 GB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.6068, allocations: 4 kB / 0.5325 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6068, allocations: 3.984 kB / 0.5325 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6068, allocations: 4 kB / 0.5325 GB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.607, allocations: 221.1 kB / 0.5327 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.6071, allocations: 96.88 kB / 0.5328 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6071, allocations: 8.219 kB / 0.5328 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.6072, allocations: 8 kB / 0.5328 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.6072, allocations: 7.922 kB / 0.5328 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6072, allocations: 7.938 kB / 0.5328 GB, free: 1.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.6073, allocations: 166.5 kB / 0.533 GB, free: 1.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6074, allocations: 0 / 0.533 GB, free: 1.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.6076, allocations: 47.73 kB / 0.533 GB, free: 1.441 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.0009975/0.6086, allocations: 388.3 kB / 0.5334 GB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.6089, allocations: 160.8 kB / 0.5335 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6089, allocations: 0 / 0.5335 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.609, allocations: 31.06 kB / 0.5336 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.6093, allocations: 23.44 kB / 0.5336 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.6096, allocations: 197.3 kB / 0.5338 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.6098, allocations: 0.7195 MB / 0.5345 GB, free: 20 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.6099, allocations: 20.62 kB / 0.5345 GB, free: 16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.6099, allocations: 15.44 kB / 0.5345 GB, free: 15.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.294e-06/0.61, allocations: 0 / 0.5345 GB, free: 15.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004728/0.6147, allocations: 1.827 MB / 0.5363 GB, free: 14.18 MB / 362.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)