Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007464/0.007464, allocations: 173.4 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.503/1.503, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001808/0.001808, allocations: 120.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.196/0.196, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 17.62 kB / 406.2 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.2962, allocations: 82.15 MB / 0.5305 GB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.2966, allocations: 71.97 kB / 0.5305 GB, free: 0.9727 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.2933/0.5899, allocations: 4.535 MB / 0.535 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.59, allocations: 0 / 0.535 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.59, allocations: 0 / 0.535 GB, free: 83.02 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.0005408/0.5905, allocations: 477.2 kB / 0.5354 GB, free: 82.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5906, allocations: 8.875 kB / 0.5354 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.5906, allocations: 9.094 kB / 0.5354 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5909, allocations: 198.7 kB / 0.5356 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.591, allocations: 7.672 kB / 0.5356 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.591, allocations: 7.75 kB / 0.5356 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.5912, allocations: 60.61 kB / 0.5357 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5912, allocations: 1.031 kB / 0.5357 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5912, allocations: 3.953 kB / 0.5357 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5912, allocations: 0.8438 kB / 0.5357 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.5913, allocations: 25.09 kB / 0.5357 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.5918, allocations: 315 kB / 0.536 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.592, allocations: 63.97 kB / 0.5361 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.592, allocations: 1 kB / 0.5361 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.5922, allocations: 76.5 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.5922, allocations: 0 / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006396/0.5928, allocations: 179.3 kB / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.5929, allocations: 56.31 kB / 0.5364 GB, free: 81.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5931, allocations: 160.5 kB / 0.5365 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.5931, allocations: 28.41 kB / 0.5366 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.5931, allocations: 97.92 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.5932, allocations: 22.91 kB / 0.5367 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.5932, allocations: 1.969 kB / 0.5367 GB, free: 81.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.5933, allocations: 319.6 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.5934, allocations: 43.11 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5935, allocations: 52.39 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.5936, allocations: 71.97 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5936, allocations: 0.5156 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002902/0.5939, allocations: 181.3 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.5939, allocations: 39.62 kB / 0.5374 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5939, allocations: 1.531 kB / 0.5374 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.594, allocations: 5 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.5941, allocations: 16.23 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5941, allocations: 1.062 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.5942, allocations: 12.08 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.5942, allocations: 6.172 kB / 0.5374 GB, free: 81.12 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 8.937e-05/0.5943, allocations: 124.3 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.5943, allocations: 12.19 kB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.5946, allocations: 140.8 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5946, allocations: 1 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5946, allocations: 0 / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5946, allocations: 1.812 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.5951, allocations: 405.7 kB / 0.538 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5951, allocations: 0 / 0.538 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.5952, allocations: 10.23 kB / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5952, allocations: 5.812 kB / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5952, allocations: 11.8 kB / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5952, allocations: 0 / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5952, allocations: 5.156 kB / 0.5381 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.5955, allocations: 222.2 kB / 0.5383 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.5956, allocations: 99.59 kB / 0.5384 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.5956, allocations: 1.5 kB / 0.5384 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.5957, allocations: 8.469 kB / 0.5384 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.5957, allocations: 9.25 kB / 0.5384 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5957, allocations: 4.047 kB / 0.5384 GB, free: 80.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5958, allocations: 125.1 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5959, allocations: 3.938 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.5961, allocations: 38.58 kB / 0.5386 GB, free: 80.26 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.001114/0.5973, allocations: 442.4 kB / 0.539 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.5976, allocations: 168.1 kB / 0.5391 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5976, allocations: 0 / 0.5391 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.5977, allocations: 34.55 kB / 0.5392 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.598, allocations: 24.28 kB / 0.5392 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.5985, allocations: 243.1 kB / 0.5394 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.5987, allocations: 0.7039 MB / 0.5401 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.5987, allocations: 10.12 kB / 0.5401 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.5988, allocations: 24.31 kB / 0.5402 GB, free: 79.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5988, allocations: 0 / 0.5402 GB, free: 79.02 MB / 378.7 MB Notification: Performance of Templates: time 0.00488/0.6037, allocations: 1.698 MB / 0.5418 GB, free: 78.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)