Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008894/0.008894, allocations: 178 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.736/1.736, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.001725/0.001725, allocations: 104.6 kB / 255.6 MB, free: 11.21 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.209/0.209, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 12.53 kB / 406.2 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 54.88 MB / 461 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.2826, allocations: 82.14 MB / 0.5304 GB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.2829, allocations: 79.89 kB / 0.5305 GB, free: 1.094 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.3002/0.5831, allocations: 4.704 MB / 0.5351 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5831, allocations: 0 / 0.5351 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5831, allocations: 10 kB / 0.5351 GB, free: 82.92 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.00062/0.5838, allocations: 486.9 kB / 0.5356 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5838, allocations: 8.938 kB / 0.5356 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.5839, allocations: 10.52 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.5842, allocations: 208.5 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5843, allocations: 2.578 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.5843, allocations: 13.06 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.5845, allocations: 57.5 kB / 0.5359 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5845, allocations: 3.938 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5845, allocations: 6.766 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5845, allocations: 1.156 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.5846, allocations: 21.95 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.5851, allocations: 311.9 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.5853, allocations: 65.97 kB / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5853, allocations: 1.156 kB / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.5855, allocations: 70.22 kB / 0.5363 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5855, allocations: 0 / 0.5363 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006497/0.5861, allocations: 192 kB / 0.5365 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5862, allocations: 58.27 kB / 0.5366 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.5864, allocations: 189.1 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5865, allocations: 35.55 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5865, allocations: 100.2 kB / 0.5369 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.5866, allocations: 25.52 kB / 0.5369 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.5866, allocations: 4.5 kB / 0.5369 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.5867, allocations: 322.3 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.5868, allocations: 39.16 kB / 0.5373 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.5869, allocations: 56.47 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.587, allocations: 73.14 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.587, allocations: 3.938 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000295/0.5874, allocations: 173.3 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.5874, allocations: 43.89 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5874, allocations: 0.6094 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5874, allocations: 1.719 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5875, allocations: 23.33 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5876, allocations: 1.062 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.5876, allocations: 5.625 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5877, allocations: 5.516 kB / 0.5376 GB, free: 81.01 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.0001032/0.5878, allocations: 130.8 kB / 0.5378 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.5878, allocations: 13.98 kB / 0.5378 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.5881, allocations: 131 kB / 0.5379 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5881, allocations: 1.375 kB / 0.5379 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5881, allocations: 4 kB / 0.5379 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.5881, allocations: 0.8438 kB / 0.5379 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.5886, allocations: 419.4 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5887, allocations: 0 / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.5887, allocations: 10.89 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5887, allocations: 1.219 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5887, allocations: 4.484 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5887, allocations: 5.031 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5888, allocations: 5.688 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.589, allocations: 226.6 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.5891, allocations: 97.64 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.5892, allocations: 6.344 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.5892, allocations: 6.547 kB / 0.5386 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.5893, allocations: 14.53 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5893, allocations: 7.266 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5895, allocations: 151.8 kB / 0.5388 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5895, allocations: 0 / 0.5388 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000295/0.5898, allocations: 50.14 kB / 0.5389 GB, free: 80.14 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.0009836/0.5908, allocations: 432.5 kB / 0.5393 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5911, allocations: 172.6 kB / 0.5394 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5911, allocations: 1.344 kB / 0.5394 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.5912, allocations: 34.5 kB / 0.5395 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.5914, allocations: 28.41 kB / 0.5395 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.592, allocations: 270.1 kB / 0.5398 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5922, allocations: 0.7162 MB / 0.5405 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.5922, allocations: 17.36 kB / 0.5405 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.5923, allocations: 23.38 kB / 0.5405 GB, free: 78.89 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5923, allocations: 0 / 0.5405 GB, free: 78.89 MB / 378.7 MB Notification: Performance of Templates: time 0.004906/0.5972, allocations: 1.771 MB / 0.5422 GB, free: 78.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)