Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007389/0.007389, allocations: 176 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.531/1.531, 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.001832/0.001832, allocations: 124.5 kB / 255.6 MB, free: 10.16 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.2241/0.2241, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005073, allocations: 19.44 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.2803, allocations: 82.16 MB / 0.5305 GB, free: 1.012 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.2807, allocations: 71.95 kB / 0.5305 GB, free: 0.9414 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.2901/0.5708, allocations: 4.536 MB / 0.535 GB, free: 83.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5708, allocations: 5 kB / 0.535 GB, free: 83.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5709, allocations: 1.188 kB / 0.535 GB, free: 83.05 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.0005927/0.5715, allocations: 470.1 kB / 0.5354 GB, free: 82.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5715, allocations: 11.62 kB / 0.5354 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.5716, allocations: 7 kB / 0.5354 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.5719, allocations: 199.3 kB / 0.5356 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.5719, allocations: 6.25 kB / 0.5356 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.5719, allocations: 7.719 kB / 0.5356 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5721, allocations: 62.19 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5721, allocations: 1.031 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5722, allocations: 4.609 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5722, allocations: 1.031 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.5723, allocations: 21.77 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.5728, allocations: 312 kB / 0.536 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.573, allocations: 65.52 kB / 0.5361 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.573, allocations: 8.156 kB / 0.5361 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.5732, allocations: 67.83 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.5732, allocations: 0 / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006483/0.5738, allocations: 178.5 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.5739, allocations: 56.38 kB / 0.5364 GB, free: 81.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.574, allocations: 163.3 kB / 0.5365 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5741, allocations: 28.75 kB / 0.5366 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.5741, allocations: 94.69 kB / 0.5367 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.5742, allocations: 26.69 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5742, allocations: 1.562 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.5743, allocations: 320 kB / 0.537 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.5744, allocations: 36.62 kB / 0.537 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5745, allocations: 62.86 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.5746, allocations: 80.41 kB / 0.5372 GB, free: 81.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5746, allocations: 0 / 0.5372 GB, free: 81.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003122/0.5749, allocations: 175.4 kB / 0.5373 GB, free: 81.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.575, allocations: 39.48 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.575, allocations: 1.391 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.575, allocations: 1.062 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.5751, allocations: 24.72 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5752, allocations: 3.984 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.5752, allocations: 9.188 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.5752, allocations: 10.34 kB / 0.5374 GB, free: 81.14 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 9.708e-05/0.5753, allocations: 128.8 kB / 0.5375 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.5754, allocations: 15.42 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.5757, allocations: 122.6 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.5757, allocations: 5.156 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5757, allocations: 0 / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5757, allocations: 0.5156 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.5762, allocations: 407.1 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5763, allocations: 0.5156 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.5763, allocations: 14.55 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5763, allocations: 0 / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5763, allocations: 6.391 kB / 0.5381 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5763, allocations: 6.078 kB / 0.5381 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5763, allocations: 5.5 kB / 0.5381 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5766, allocations: 222 kB / 0.5383 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5767, allocations: 98.95 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.5767, allocations: 2.641 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.5768, allocations: 8.281 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.5769, allocations: 10.14 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5769, allocations: 3.422 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.577, allocations: 125.5 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.577, allocations: 0 / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.5773, allocations: 41.95 kB / 0.5386 GB, free: 80.29 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.00108/0.5784, allocations: 437.2 kB / 0.539 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.5787, allocations: 169.2 kB / 0.5392 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5787, allocations: 0 / 0.5392 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.5788, allocations: 35.86 kB / 0.5392 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.5791, allocations: 21.38 kB / 0.5392 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.5797, allocations: 237.2 kB / 0.5394 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.58, allocations: 0.7038 MB / 0.5401 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.5801, allocations: 16 kB / 0.5401 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.5801, allocations: 14.5 kB / 0.5402 GB, free: 79.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5801, allocations: 4 kB / 0.5402 GB, free: 79.05 MB / 378.7 MB Notification: Performance of Templates: time 0.005354/0.5855, allocations: 1.704 MB / 0.5418 GB, free: 78.86 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)