Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006484/0.006484, allocations: 175.8 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.666/1.666, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001832/0.001832, allocations: 104.7 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.2055/0.2055, allocations: 40 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 12.97 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 54.87 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.2608, allocations: 82.02 MB / 0.5303 GB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.2611, allocations: 71.97 kB / 0.5304 GB, free: 1.238 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2773/0.5385, allocations: 6.012 MB / 0.5363 GB, free: 82.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5385, allocations: 0 / 0.5363 GB, free: 82.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.5385, allocations: 6.781 kB / 0.5363 GB, free: 82.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001208/0.5397, allocations: 0.8316 MB / 0.5371 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.5398, allocations: 9.125 kB / 0.5371 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.54, allocations: 48.5 kB / 0.5371 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.5412, allocations: 473 kB / 0.5376 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.5412, allocations: 10.52 kB / 0.5376 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.5413, allocations: 15.2 kB / 0.5376 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.5416, allocations: 84.89 kB / 0.5377 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.5416, allocations: 3.953 kB / 0.5377 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.5417, allocations: 2.109 kB / 0.5377 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5417, allocations: 2.156 kB / 0.5377 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5418, allocations: 35.91 kB / 0.5377 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.5426, allocations: 418.6 kB / 0.5381 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.543, allocations: 112.5 kB / 0.5382 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.5431, allocations: 1.938 kB / 0.5382 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.5435, allocations: 116.3 kB / 0.5384 GB, free: 81.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/0.5436, allocations: 0 / 0.5384 GB, free: 81.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.00096/0.5445, allocations: 216.9 kB / 0.5386 GB, free: 81.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.5446, allocations: 82.97 kB / 0.5386 GB, free: 81.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.5471, allocations: 0.9259 MB / 0.5395 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.5472, allocations: 35.42 kB / 0.5396 GB, free: 81.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.5476, allocations: 239.4 kB / 0.5398 GB, free: 81.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.5477, allocations: 29.88 kB / 0.5398 GB, free: 81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.5477, allocations: 5.438 kB / 0.5398 GB, free: 81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.548, allocations: 370.1 kB / 0.5402 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.5482, allocations: 61.77 kB / 0.5403 GB, free: 80.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5485, allocations: 91.48 kB / 0.5403 GB, free: 80.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.5488, allocations: 139.5 kB / 0.5405 GB, free: 80.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5488, allocations: 0 / 0.5405 GB, free: 80.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008833/0.5497, allocations: 320.6 kB / 0.5408 GB, free: 80.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.5498, allocations: 68.73 kB / 0.5408 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5499, allocations: 3.938 kB / 0.5408 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.5499, allocations: 1.625 kB / 0.5408 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5501, allocations: 26.16 kB / 0.5409 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.5501, allocations: 9.312 kB / 0.5409 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5504, allocations: 26.62 kB / 0.5409 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.5504, allocations: 9.938 kB / 0.5409 GB, free: 80.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0003831/0.5508, allocations: 224.5 kB / 0.5411 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.551, allocations: 53.12 kB / 0.5412 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.5515, allocations: 207.4 kB / 0.5414 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5516, allocations: 1.5 kB / 0.5414 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.5516, allocations: 1.406 kB / 0.5414 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5516, allocations: 3.953 kB / 0.5414 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.5521, allocations: 386.9 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5522, allocations: 0 / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.5522, allocations: 9.188 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5522, allocations: 1.75 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5523, allocations: 5.281 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5523, allocations: 1.812 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5523, allocations: 3.938 kB / 0.5418 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.5528, allocations: 240.2 kB / 0.542 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.5532, allocations: 199.4 kB / 0.5422 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.5533, allocations: 7.75 kB / 0.5422 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.5535, allocations: 5.5 kB / 0.5422 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.5535, allocations: 20.77 kB / 0.5422 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5536, allocations: 14.41 kB / 0.5422 GB, free: 79.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001445/0.555, allocations: 0.7327 MB / 0.543 GB, free: 79.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5551, allocations: 0 / 0.543 GB, free: 79.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006885/0.5558, allocations: 111.3 kB / 0.5431 GB, free: 79.45 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00198/0.5577, allocations: 0.5544 MB / 0.5436 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.5584, allocations: 301.1 kB / 0.5439 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5584, allocations: 3.938 kB / 0.5439 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.5586, allocations: 48.33 kB / 0.5439 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.5591, allocations: 49.81 kB / 0.544 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5614, allocations: 0.9986 MB / 0.545 GB, free: 78.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.5619, allocations: 0.8609 MB / 0.5458 GB, free: 77.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.5622, allocations: 90.72 kB / 0.5459 GB, free: 77.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.5624, allocations: 36.94 kB / 0.5459 GB, free: 77.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5624, allocations: 0 / 0.5459 GB, free: 77.56 MB / 378.7 MB Notification: Performance of Templates: time 0.01912/0.5816, allocations: 4.972 MB / 0.5508 GB, free: 75.12 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)