Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008454/0.008454, allocations: 174.1 kB / 15.12 MB, free: 5.973 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.555/1.555, allocations: 194.5 MB / 210.3 MB, free: 7.527 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.001715/0.001715, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.222/0.222, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005257, allocations: 17.34 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4763, allocations: 83.48 MB / 0.5318 GB, free: 25.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4766, allocations: 79.28 kB / 0.5318 GB, free: 25.97 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01268/0.4893, allocations: 4.188 MB / 0.5359 GB, free: 25.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4893, allocations: 0 / 0.5359 GB, free: 25.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4893, allocations: 3.188 kB / 0.5359 GB, free: 25.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008886/0.4902, allocations: 0.6133 MB / 0.5365 GB, free: 24.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4903, allocations: 9.781 kB / 0.5365 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.4904, allocations: 28.11 kB / 0.5366 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.4907, allocations: 224.1 kB / 0.5368 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.4908, allocations: 11.41 kB / 0.5368 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.4908, allocations: 8.5 kB / 0.5368 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.4913, allocations: 136.2 kB / 0.5369 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4913, allocations: 5.531 kB / 0.5369 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4913, allocations: 4.125 kB / 0.5369 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4913, allocations: 5.609 kB / 0.5369 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.4918, allocations: 133 kB / 0.5371 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.4925, allocations: 445.2 kB / 0.5375 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.4932, allocations: 197.4 kB / 0.5377 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4932, allocations: 0 / 0.5377 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.4936, allocations: 158.4 kB / 0.5378 GB, free: 24.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.694e-06/0.4936, allocations: 0 / 0.5378 GB, free: 24.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009096/0.4946, allocations: 302.8 kB / 0.5381 GB, free: 24.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4946, allocations: 54.38 kB / 0.5382 GB, free: 24.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4948, allocations: 192 kB / 0.5383 GB, free: 24.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4948, allocations: 32.92 kB / 0.5384 GB, free: 24.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.4949, allocations: 114.7 kB / 0.5385 GB, free: 23.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.495, allocations: 35.64 kB / 0.5385 GB, free: 23.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.495, allocations: 4.938 kB / 0.5385 GB, free: 23.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.4951, allocations: 331.6 kB / 0.5388 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.4954, allocations: 88.94 kB / 0.5389 GB, free: 23.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.4957, allocations: 124.5 kB / 0.539 GB, free: 23.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.4961, allocations: 161.6 kB / 0.5392 GB, free: 23.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4961, allocations: 3.953 kB / 0.5392 GB, free: 23.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007714/0.4969, allocations: 335.1 kB / 0.5395 GB, free: 23.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.4969, allocations: 67 kB / 0.5396 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4969, allocations: 1.031 kB / 0.5396 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.497, allocations: 1.062 kB / 0.5396 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.4972, allocations: 50.08 kB / 0.5396 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4972, allocations: 1.438 kB / 0.5396 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.4974, allocations: 43.81 kB / 0.5397 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4974, allocations: 7.125 kB / 0.5397 GB, free: 23.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000142/0.4976, allocations: 137.3 kB / 0.5398 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4976, allocations: 15.53 kB / 0.5398 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.4983, allocations: 245.8 kB / 0.5401 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4983, allocations: 1.547 kB / 0.5401 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4983, allocations: 5.703 kB / 0.5401 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4983, allocations: 0.8438 kB / 0.5401 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4986, allocations: 238.2 kB / 0.5403 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4986, allocations: 3.938 kB / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4988, allocations: 34.81 kB / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4988, allocations: 1.094 kB / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4988, allocations: 7.453 kB / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.4988, allocations: 0 / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4988, allocations: 0 / 0.5403 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.4998, allocations: 351.9 kB / 0.5407 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.4999, allocations: 111 kB / 0.5408 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.4999, allocations: 3.219 kB / 0.5408 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.5001, allocations: 34.94 kB / 0.5408 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.5002, allocations: 17.33 kB / 0.5408 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.5002, allocations: 5.406 kB / 0.5408 GB, free: 22.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.5003, allocations: 154.8 kB / 0.541 GB, free: 22.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5003, allocations: 0 / 0.541 GB, free: 22.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.5006, allocations: 54.7 kB / 0.541 GB, free: 22.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008675/0.5015, allocations: 402.2 kB / 0.5414 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006999/0.5022, allocations: 345.4 kB / 0.5418 GB, free: 22.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5022, allocations: 0 / 0.5418 GB, free: 22.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.5025, allocations: 98.58 kB / 0.5419 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5028, allocations: 41.86 kB / 0.5419 GB, free: 22.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.5036, allocations: 340.2 kB / 0.5422 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.5038, allocations: 0.727 MB / 0.5429 GB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.5039, allocations: 19.7 kB / 0.5429 GB, free: 21.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.504, allocations: 20.42 kB / 0.543 GB, free: 21.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.504, allocations: 5.25 kB / 0.543 GB, free: 21.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005899/0.5099, allocations: 2.578 MB / 0.5455 GB, free: 21.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)