Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001559/0.00156, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.598/1.598, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.00171/0.00171, allocations: 103.3 kB / 252.6 MB, free: 4.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2433/0.2433, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.754e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.6323, allocations: 82.18 MB / 0.5247 GB, free: 8.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6326, allocations: 72.34 kB / 0.5248 GB, free: 8.949 MB / 346.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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.6502, allocations: 6.75 MB / 0.5314 GB, free: 3.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6502, allocations: 0 / 0.5314 GB, free: 3.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.6502, allocations: 4 kB / 0.5314 GB, free: 3.598 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006629/0.6509, allocations: 0.5934 MB / 0.532 GB, free: 2.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.651, allocations: 12.03 kB / 0.532 GB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.6511, allocations: 19.81 kB / 0.532 GB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.6515, allocations: 265.6 kB / 0.5323 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.6515, allocations: 11.75 kB / 0.5323 GB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.6516, allocations: 15.98 kB / 0.5323 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.6518, allocations: 97.8 kB / 0.5324 GB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6518, allocations: 3.953 kB / 0.5324 GB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6518, allocations: 3.938 kB / 0.5324 GB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6518, allocations: 4 kB / 0.5324 GB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.6519, allocations: 43.23 kB / 0.5324 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.6525, allocations: 497.3 kB / 0.5329 GB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6526, allocations: 120.4 kB / 0.533 GB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.6527, allocations: 37.28 kB / 0.5331 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.6527, allocations: 0 / 0.5331 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6529, allocations: 120.3 kB / 0.5332 GB, free: 1.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.6529, allocations: 0 / 0.5332 GB, free: 1.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006886/0.6536, allocations: 329.3 kB / 0.5335 GB, free: 1.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.6537, allocations: 77.11 kB / 0.5336 GB, free: 1.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.654, allocations: 312.9 kB / 0.5339 GB, free: 1.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.654, allocations: 33.52 kB / 0.5339 GB, free: 1.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.6541, allocations: 139.1 kB / 0.534 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.6541, allocations: 46.86 kB / 0.5341 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6541, allocations: 7.75 kB / 0.5341 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.6542, allocations: 342.6 kB / 0.5344 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6543, allocations: 70.86 kB / 0.5345 GB, free: 0.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.6544, allocations: 103.7 kB / 0.5346 GB, free: 472 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.6546, allocations: 150.4 kB / 0.5347 GB, free: 340 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6546, allocations: 0 / 0.5347 GB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003541/0.655, allocations: 327 kB / 0.535 GB, free: 56 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.6551, allocations: 71.27 kB / 0.5351 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6551, allocations: 0 / 0.5351 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6551, allocations: 4 kB / 0.5351 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.6553, allocations: 31.92 kB / 0.5351 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.6553, allocations: 4.188 kB / 0.5351 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6554, allocations: 19.86 kB / 0.5351 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.6554, allocations: 12.09 kB / 0.5352 GB, free: 15.91 MB / 362.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.000127/0.6556, allocations: 128.6 kB / 0.5353 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.6556, allocations: 23.72 kB / 0.5353 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.656, allocations: 209.8 kB / 0.5355 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6561, allocations: 4 kB / 0.5355 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6561, allocations: 384 / 0.5355 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6561, allocations: 0 / 0.5355 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.6569, allocations: 0.6589 MB / 0.5361 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6569, allocations: 8 kB / 0.5362 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.657, allocations: 23.92 kB / 0.5362 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.657, allocations: 4 kB / 0.5362 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.657, allocations: 3.938 kB / 0.5362 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.657, allocations: 7.984 kB / 0.5362 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.657, allocations: 0 / 0.5362 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.6575, allocations: 398.5 kB / 0.5366 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.6576, allocations: 134.5 kB / 0.5367 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6577, allocations: 15.33 kB / 0.5367 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6578, allocations: 8 kB / 0.5367 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.6579, allocations: 19.53 kB / 0.5367 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.6579, allocations: 8 kB / 0.5368 GB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002712/0.6582, allocations: 249.3 kB / 0.537 GB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6582, allocations: 0 / 0.537 GB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.6586, allocations: 82.88 kB / 0.5371 GB, free: 14.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001458/0.66, allocations: 0.5866 MB / 0.5376 GB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.6604, allocations: 324.4 kB / 0.5379 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6605, allocations: 4 kB / 0.538 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.6606, allocations: 70.14 kB / 0.538 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.6609, allocations: 42.73 kB / 0.5381 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.6616, allocations: 347.5 kB / 0.5384 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.662, allocations: 0.7594 MB / 0.5391 GB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.6621, allocations: 33.31 kB / 0.5392 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.6622, allocations: 27.42 kB / 0.5392 GB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6622, allocations: 0 / 0.5392 GB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.00708/0.6693, allocations: 3.308 MB / 0.5424 GB, free: 8.773 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)