Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00864/0.00864, allocations: 175.2 kB / 15.12 MB, free: 6.039 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.768/1.768, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.001664/0.001664, allocations: 128.5 kB / 255.6 MB, free: 10.15 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.2248/0.2248, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004612, allocations: 22 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.2501, allocations: 82.14 MB / 0.5304 GB, free: 1.059 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.2505, allocations: 75.95 kB / 0.5305 GB, free: 0.9844 MB / 378.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.2563/0.5069, allocations: 4.702 MB / 0.5351 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5069, allocations: 0 / 0.5351 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5069, allocations: 2.281 kB / 0.5351 GB, free: 82.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005947/0.5075, allocations: 487.7 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5076, allocations: 13.97 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.5076, allocations: 9.406 kB / 0.5356 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.508, allocations: 206.4 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.508, allocations: 2.719 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.5081, allocations: 17.56 kB / 0.5358 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5082, allocations: 57.14 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5083, allocations: 1.25 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5083, allocations: 4.516 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5083, allocations: 1.312 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.5084, allocations: 21.61 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.5088, allocations: 316.6 kB / 0.5362 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.509, allocations: 68.02 kB / 0.5363 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.5091, allocations: 0.9375 kB / 0.5363 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.5092, allocations: 72.06 kB / 0.5363 GB, free: 81.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.5092, allocations: 0 / 0.5363 GB, free: 81.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006441/0.5099, allocations: 184.9 kB / 0.5365 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.5099, allocations: 56.81 kB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5102, allocations: 191.1 kB / 0.5367 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.5102, allocations: 28.2 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.5102, allocations: 103.5 kB / 0.5369 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.5103, allocations: 28.25 kB / 0.5369 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5103, allocations: 2.062 kB / 0.5369 GB, free: 81.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.5104, allocations: 323.4 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.5105, allocations: 36.81 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.5106, allocations: 62.78 kB / 0.5373 GB, free: 81.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.5107, allocations: 74.55 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5107, allocations: 1.641 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002926/0.511, allocations: 173.1 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.5111, allocations: 43.59 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.5111, allocations: 0 / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5111, allocations: 1.406 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5112, allocations: 19.72 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5112, allocations: 1.922 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.5113, allocations: 8.484 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5113, allocations: 5.781 kB / 0.5376 GB, free: 81.05 MB / 378.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 () * Number of clocked 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 0.0001037/0.5114, allocations: 130.6 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.5114, allocations: 13.91 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.5117, allocations: 128.9 kB / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5117, allocations: 2.109 kB / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5118, allocations: 9.062 kB / 0.5379 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5118, allocations: 0 / 0.5379 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.5123, allocations: 418.8 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5123, allocations: 1.5 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.5123, allocations: 14.67 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5123, allocations: 5.562 kB / 0.5383 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5124, allocations: 5.625 kB / 0.5383 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5124, allocations: 0.9688 kB / 0.5383 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5124, allocations: 4.688 kB / 0.5383 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5126, allocations: 227.4 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.5127, allocations: 98.61 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.5128, allocations: 5.797 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.5128, allocations: 7.359 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.5129, allocations: 10.84 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5129, allocations: 3.188 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.513, allocations: 152.8 kB / 0.5388 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.513, allocations: 0 / 0.5388 GB, free: 80.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000306/0.5134, allocations: 49.77 kB / 0.5389 GB, free: 80.18 MB / 378.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) * Number of clocked states: 0 () * 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.0009864/0.5144, allocations: 445.7 kB / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.5147, allocations: 170.2 kB / 0.5394 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5147, allocations: 0 / 0.5394 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.5148, allocations: 38.55 kB / 0.5395 GB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.515, allocations: 23.88 kB / 0.5395 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.5156, allocations: 267.2 kB / 0.5398 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.5158, allocations: 0.7082 MB / 0.5404 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.5158, allocations: 16.3 kB / 0.5405 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.5159, allocations: 23.75 kB / 0.5405 GB, free: 78.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5159, allocations: 0 / 0.5405 GB, free: 78.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004846/0.5207, allocations: 1.781 MB / 0.5422 GB, free: 78.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)