Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005696/0.005696, allocations: 175.4 kB / 15.12 MB, free: 5.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.672/1.672, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002137/0.002138, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2089/0.2089, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 20.45 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 54.87 MB / 461 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.2528, allocations: 82.13 MB / 0.5304 GB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.2531, allocations: 79.94 kB / 0.5305 GB, free: 0.957 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.3662/0.6193, allocations: 4.746 MB / 0.5352 GB, free: 83.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6193, allocations: 1.5 kB / 0.5352 GB, free: 83.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.6194, allocations: 0.8438 kB / 0.5352 GB, free: 83.09 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.0007491/0.6201, allocations: 487.3 kB / 0.5356 GB, free: 82.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.6202, allocations: 8.781 kB / 0.5356 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6203, allocations: 18.08 kB / 0.5357 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.6208, allocations: 213.8 kB / 0.5359 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.6208, allocations: 2.719 kB / 0.5359 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.6209, allocations: 5.578 kB / 0.5359 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.6211, allocations: 60.41 kB / 0.5359 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6211, allocations: 3.938 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.6211, allocations: 4.234 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6212, allocations: 8.922 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.6213, allocations: 20 kB / 0.536 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.6219, allocations: 316.7 kB / 0.5363 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.6222, allocations: 59.5 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6222, allocations: 0.6094 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.6225, allocations: 83.61 kB / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.436e-06/0.6225, allocations: 0 / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000855/0.6233, allocations: 192 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.6234, allocations: 57.2 kB / 0.5366 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.6237, allocations: 198.2 kB / 0.5368 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.6238, allocations: 32.09 kB / 0.5369 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.6238, allocations: 107 kB / 0.537 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.6239, allocations: 27.98 kB / 0.537 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.6239, allocations: 1.125 kB / 0.537 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.624, allocations: 326.7 kB / 0.5373 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6242, allocations: 34.84 kB / 0.5373 GB, free: 81.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.6243, allocations: 55.67 kB / 0.5374 GB, free: 81.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.6245, allocations: 71.28 kB / 0.5374 GB, free: 81.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6245, allocations: 0.5625 kB / 0.5374 GB, free: 81.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004549/0.625, allocations: 187.7 kB / 0.5376 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.6251, allocations: 43.34 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6251, allocations: 0.9375 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6251, allocations: 1.031 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6253, allocations: 15.45 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6253, allocations: 1.094 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.6254, allocations: 6.453 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.6254, allocations: 6.906 kB / 0.5377 GB, free: 81.16 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.0001393/0.6256, allocations: 139.6 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.6256, allocations: 14.19 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.626, allocations: 129 kB / 0.538 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6261, allocations: 5.719 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6261, allocations: 0 / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6261, allocations: 1.766 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.6268, allocations: 422 kB / 0.5384 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6268, allocations: 5.297 kB / 0.5384 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.6269, allocations: 14.14 kB / 0.5384 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6269, allocations: 2.141 kB / 0.5384 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6269, allocations: 1.922 kB / 0.5384 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6269, allocations: 1.062 kB / 0.5384 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.627, allocations: 5.391 kB / 0.5384 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6273, allocations: 238.1 kB / 0.5386 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6274, allocations: 99.02 kB / 0.5387 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.6275, allocations: 2.281 kB / 0.5387 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6276, allocations: 7.234 kB / 0.5387 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.6277, allocations: 6.125 kB / 0.5387 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.6277, allocations: 3.766 kB / 0.5387 GB, free: 80.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.6279, allocations: 164.1 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6279, allocations: 0 / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004877/0.6284, allocations: 47.03 kB / 0.5389 GB, free: 80.3 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.001451/0.6299, allocations: 424.3 kB / 0.5394 GB, free: 80.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.6304, allocations: 172.1 kB / 0.5395 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6304, allocations: 1.469 kB / 0.5395 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.6305, allocations: 30.36 kB / 0.5395 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.6309, allocations: 34.44 kB / 0.5396 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.6316, allocations: 283.8 kB / 0.5399 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.6319, allocations: 0.718 MB / 0.5406 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.632, allocations: 21.69 kB / 0.5406 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.6321, allocations: 16.97 kB / 0.5406 GB, free: 79.05 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6321, allocations: 0 / 0.5406 GB, free: 79.05 MB / 378.7 MB Notification: Performance of Templates: time 0.007281/0.6394, allocations: 1.805 MB / 0.5424 GB, free: 78.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)