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.01315/0.01315, allocations: 176 kB / 15.12 MB, free: 5.969 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.86/1.86, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001719/0.001719, allocations: 120.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.2082/0.2082, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004305, allocations: 18.61 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.2656, allocations: 82.11 MB / 0.5304 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.2659, allocations: 75.95 kB / 0.5305 GB, free: 1.004 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.2733/0.5392, allocations: 4.596 MB / 0.535 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5392, allocations: 0 / 0.535 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5392, allocations: 6.531 kB / 0.535 GB, free: 83.01 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.0005132/0.5397, allocations: 483.3 kB / 0.5354 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5398, allocations: 9.281 kB / 0.5355 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.5398, allocations: 11.53 kB / 0.5355 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.5401, allocations: 206.8 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5401, allocations: 3.25 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.5402, allocations: 13.27 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5403, allocations: 57.3 kB / 0.5357 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5403, allocations: 5.781 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.5404, allocations: 3.953 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5404, allocations: 5.203 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.5405, allocations: 22.44 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.5409, allocations: 311.3 kB / 0.5361 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5411, allocations: 66.17 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.5411, allocations: 5.188 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.5413, allocations: 71.36 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.5413, allocations: 0 / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006817/0.542, allocations: 191.7 kB / 0.5364 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.542, allocations: 56.56 kB / 0.5364 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.5423, allocations: 190.3 kB / 0.5366 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5423, allocations: 31.48 kB / 0.5366 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.5424, allocations: 101.5 kB / 0.5367 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.5424, allocations: 25.83 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.5425, allocations: 6 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5426, allocations: 324.8 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.5427, allocations: 35.97 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.5428, allocations: 56.73 kB / 0.5372 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.543, allocations: 72.75 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.543, allocations: 4.938 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003105/0.5433, allocations: 174.1 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.5433, allocations: 38.83 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5433, allocations: 1.172 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5434, allocations: 1 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5435, allocations: 23.67 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5435, allocations: 9.953 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.5436, allocations: 8.281 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.5436, allocations: 6.281 kB / 0.5375 GB, free: 81.09 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.0001053/0.5437, allocations: 128.7 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.5437, allocations: 13.75 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.544, allocations: 129.4 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.544, allocations: 1.531 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5441, allocations: 4 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.5441, allocations: 0.7031 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.5446, allocations: 416.5 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5446, allocations: 1.891 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.5447, allocations: 10.47 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5447, allocations: 1.469 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5447, allocations: 5.781 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5447, allocations: 5.5 kB / 0.5382 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5447, allocations: 5.188 kB / 0.5382 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.545, allocations: 229.7 kB / 0.5384 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5451, allocations: 97.33 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.5452, allocations: 3.047 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.5452, allocations: 7.125 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.5453, allocations: 9.672 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5453, allocations: 4.062 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.5454, allocations: 151.8 kB / 0.5387 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5454, allocations: 0 / 0.5387 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000297/0.5457, allocations: 50.17 kB / 0.5387 GB, free: 80.23 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.0009517/0.5467, allocations: 442.5 kB / 0.5391 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.547, allocations: 176.5 kB / 0.5393 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.547, allocations: 0 / 0.5393 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.5471, allocations: 35.77 kB / 0.5393 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5474, allocations: 25.34 kB / 0.5394 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.5479, allocations: 268.9 kB / 0.5396 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.5482, allocations: 0.7114 MB / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.5482, allocations: 18.39 kB / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.5483, allocations: 18.94 kB / 0.5404 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5483, allocations: 0 / 0.5404 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004656/0.5529, allocations: 1.777 MB / 0.5421 GB, free: 78.78 MB / 378.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)