Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006667/0.006667, allocations: 174.5 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.647/1.647, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001776/0.001776, allocations: 120.6 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.216/0.216, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 12.91 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 54.87 MB / 461 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.2611, allocations: 82.01 MB / 0.5303 GB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.2615, allocations: 83.91 kB / 0.5304 GB, free: 1.078 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.5388, allocations: 5.953 MB / 0.5362 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5388, allocations: 0 / 0.5362 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-05/0.5389, allocations: 5.719 kB / 0.5362 GB, free: 82.94 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.001425/0.5403, allocations: 0.8217 MB / 0.537 GB, free: 82.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5404, allocations: 11.09 kB / 0.537 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.5406, allocations: 50.66 kB / 0.5371 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5416, allocations: 468.4 kB / 0.5375 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.5417, allocations: 5.172 kB / 0.5375 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.5417, allocations: 11.41 kB / 0.5375 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.5419, allocations: 81.98 kB / 0.5376 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.542, allocations: 4.609 kB / 0.5376 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.542, allocations: 8.781 kB / 0.5376 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.542, allocations: 4.922 kB / 0.5376 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.5421, allocations: 37.36 kB / 0.5377 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.5426, allocations: 402.8 kB / 0.5381 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.5429, allocations: 115.5 kB / 0.5382 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.543, allocations: 2.75 kB / 0.5382 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.5432, allocations: 119.2 kB / 0.5383 GB, free: 81.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.5432, allocations: 0 / 0.5383 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000543/0.5437, allocations: 212 kB / 0.5385 GB, free: 81.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5438, allocations: 82.81 kB / 0.5386 GB, free: 81.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.5454, allocations: 0.9081 MB / 0.5394 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5455, allocations: 32.17 kB / 0.5395 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.5457, allocations: 237.2 kB / 0.5397 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.5457, allocations: 24.23 kB / 0.5397 GB, free: 81.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.5458, allocations: 4.219 kB / 0.5397 GB, free: 81.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5459, allocations: 367.2 kB / 0.5401 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.5461, allocations: 63.14 kB / 0.5401 GB, free: 80.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5463, allocations: 93.53 kB / 0.5402 GB, free: 80.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5465, allocations: 131.3 kB / 0.5404 GB, free: 80.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5465, allocations: 1.219 kB / 0.5404 GB, free: 80.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005588/0.5471, allocations: 325.4 kB / 0.5407 GB, free: 80.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.5471, allocations: 71.59 kB / 0.5407 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5472, allocations: 0 / 0.5407 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5472, allocations: 5.469 kB / 0.5407 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5473, allocations: 24.59 kB / 0.5408 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5473, allocations: 5.359 kB / 0.5408 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.5475, allocations: 26.22 kB / 0.5408 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.5475, allocations: 8.656 kB / 0.5408 GB, free: 80.54 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.0002379/0.5478, allocations: 227.5 kB / 0.541 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.5478, allocations: 48.19 kB / 0.5411 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.5483, allocations: 206.2 kB / 0.5413 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5483, allocations: 2.062 kB / 0.5413 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5483, allocations: 0 / 0.5413 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5483, allocations: 8.609 kB / 0.5413 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.5488, allocations: 376 kB / 0.5416 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.5488, allocations: 0 / 0.5416 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.5488, allocations: 13.66 kB / 0.5416 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5488, allocations: 4.812 kB / 0.5417 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.5489, allocations: 2.812 kB / 0.5417 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5489, allocations: 3.938 kB / 0.5417 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5489, allocations: 1.406 kB / 0.5417 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.5493, allocations: 240 kB / 0.5419 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.5496, allocations: 201.2 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.5497, allocations: 4.125 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5498, allocations: 9.891 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.5499, allocations: 14.62 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.5499, allocations: 8.047 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009362/0.5508, allocations: 0.7127 MB / 0.5428 GB, free: 79.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5508, allocations: 0 / 0.5428 GB, free: 79.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.5513, allocations: 108.6 kB / 0.5429 GB, free: 79.55 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.001373/0.5527, allocations: 0.5593 MB / 0.5435 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.5531, allocations: 297.5 kB / 0.5437 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5532, allocations: 128 / 0.5437 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5533, allocations: 54.92 kB / 0.5438 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.5537, allocations: 58.42 kB / 0.5439 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.5555, allocations: 0.9722 MB / 0.5448 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.5559, allocations: 0.8496 MB / 0.5456 GB, free: 77.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.5562, allocations: 76.55 kB / 0.5457 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5563, allocations: 40.52 kB / 0.5457 GB, free: 77.65 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5563, allocations: 1.219 kB / 0.5457 GB, free: 77.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01101/0.5673, allocations: 4.884 MB / 0.5505 GB, free: 75.26 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)