Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001804/0.001805, allocations: 181.4 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.742/1.742, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001658/0.001658, allocations: 116.5 kB / 252.6 MB, free: 4.828 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.194/0.194, allocations: 39.95 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.812e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 54.87 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.4933, allocations: 82.02 MB / 0.5246 GB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.4938, allocations: 65.09 kB / 0.5246 GB, free: 9.055 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.01179/0.5056, allocations: 4.581 MB / 0.5291 GB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.5056, allocations: 0 / 0.5291 GB, free: 5.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5056, allocations: 7.938 kB / 0.5291 GB, free: 5.426 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.0005201/0.5062, allocations: 460 kB / 0.5296 GB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.5062, allocations: 12.03 kB / 0.5296 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.5063, allocations: 7.906 kB / 0.5296 GB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.5066, allocations: 211.2 kB / 0.5298 GB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5067, allocations: 4 kB / 0.5298 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.5067, allocations: 8 kB / 0.5298 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.5069, allocations: 58.28 kB / 0.5299 GB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5069, allocations: 0 / 0.5299 GB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5069, allocations: 3.953 kB / 0.5299 GB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5069, allocations: 4 kB / 0.5299 GB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.507, allocations: 26.42 kB / 0.5299 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.5074, allocations: 311.1 kB / 0.5302 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.5076, allocations: 59.38 kB / 0.5302 GB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.5076, allocations: 20.23 kB / 0.5303 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5076, allocations: 3.984 kB / 0.5303 GB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.5078, allocations: 68.86 kB / 0.5303 GB, free: 4.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5078, allocations: 4 kB / 0.5303 GB, free: 4.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004539/0.5082, allocations: 162.9 kB / 0.5305 GB, free: 3.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.5083, allocations: 63.34 kB / 0.5305 GB, free: 3.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.5084, allocations: 195.3 kB / 0.5307 GB, free: 3.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5085, allocations: 29.7 kB / 0.5308 GB, free: 3.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.5085, allocations: 102.9 kB / 0.5309 GB, free: 3.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.5086, allocations: 23.22 kB / 0.5309 GB, free: 3.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.5086, allocations: 7.625 kB / 0.5309 GB, free: 3.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.5086, allocations: 322.5 kB / 0.5312 GB, free: 3.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.5087, allocations: 38.61 kB / 0.5312 GB, free: 3.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.5088, allocations: 52.34 kB / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.5089, allocations: 68.42 kB / 0.5313 GB, free: 3.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5089, allocations: 4 kB / 0.5314 GB, free: 3.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002004/0.5091, allocations: 176 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.5091, allocations: 33.7 kB / 0.5316 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5091, allocations: 0 / 0.5316 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5092, allocations: 7.984 kB / 0.5316 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.5093, allocations: 12 kB / 0.5316 GB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.5093, allocations: 7.969 kB / 0.5316 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.5093, allocations: 11.75 kB / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5094, allocations: 8.078 kB / 0.5316 GB, free: 2.879 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 7.648e-05/0.5094, allocations: 116.4 kB / 0.5317 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.5095, allocations: 15.77 kB / 0.5317 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.5097, allocations: 120.8 kB / 0.5318 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5097, allocations: 0 / 0.5318 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5097, allocations: 0 / 0.5318 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5097, allocations: 4 kB / 0.5318 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.5102, allocations: 418.3 kB / 0.5322 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5102, allocations: 0 / 0.5322 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.5102, allocations: 8 kB / 0.5322 GB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5102, allocations: 0 / 0.5322 GB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5103, allocations: 7.984 kB / 0.5323 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5103, allocations: 0 / 0.5323 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5103, allocations: 0 / 0.5323 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.5105, allocations: 227.2 kB / 0.5325 GB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.5106, allocations: 104.4 kB / 0.5326 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.5106, allocations: 0 / 0.5326 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.5107, allocations: 7.375 kB / 0.5326 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.5108, allocations: 7.984 kB / 0.5326 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5108, allocations: 4 kB / 0.5326 GB, free: 1.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.5109, allocations: 158.2 kB / 0.5327 GB, free: 1.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5109, allocations: 0 / 0.5327 GB, free: 1.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000272/0.5112, allocations: 43.61 kB / 0.5328 GB, free: 1.668 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.000988/0.5122, allocations: 388.6 kB / 0.5332 GB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.5124, allocations: 165 kB / 0.5333 GB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5124, allocations: 0 / 0.5333 GB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.5125, allocations: 38.92 kB / 0.5333 GB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.5127, allocations: 31.12 kB / 0.5334 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.5131, allocations: 185.2 kB / 0.5336 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.5132, allocations: 0.7115 MB / 0.5343 GB, free: 248 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.5133, allocations: 20.48 kB / 0.5343 GB, free: 228 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.5133, allocations: 15.44 kB / 0.5343 GB, free: 212 kB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5134, allocations: 0 / 0.5343 GB, free: 212 kB / 346.7 MB Notification: Performance of Templates: time 0.004561/0.5179, allocations: 1.786 MB / 0.536 GB, free: 14.45 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)