Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009066/0.009066, allocations: 174.1 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.675/1.675, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.001775/0.001775, 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.1903/0.1903, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 12.44 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.2468, allocations: 82.12 MB / 0.5304 GB, free: 1.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.2471, allocations: 75.91 kB / 0.5305 GB, free: 1 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.2792/0.5264, allocations: 4.478 MB / 0.5349 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.5264, allocations: 1.125 kB / 0.5349 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.5265, allocations: 3.094 kB / 0.5349 GB, free: 82.98 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.0007298/0.5272, allocations: 478 kB / 0.5353 GB, free: 82.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.5273, allocations: 10.03 kB / 0.5353 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.5273, allocations: 12.09 kB / 0.5353 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.5277, allocations: 206.8 kB / 0.5355 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.5277, allocations: 2.125 kB / 0.5355 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.5278, allocations: 8.938 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.528, allocations: 56.34 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.528, allocations: 0 / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.528, allocations: 5.453 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.528, allocations: 0.9688 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.5281, allocations: 26.64 kB / 0.5356 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.5286, allocations: 308.4 kB / 0.5359 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.5288, allocations: 57.97 kB / 0.536 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5288, allocations: 1.5 kB / 0.536 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.529, allocations: 73.94 kB / 0.5361 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.529, allocations: 4 kB / 0.5361 GB, free: 81.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006184/0.5296, allocations: 191.4 kB / 0.5362 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.5296, allocations: 53.27 kB / 0.5363 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5298, allocations: 166 kB / 0.5365 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5299, allocations: 33.2 kB / 0.5365 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.5299, allocations: 102 kB / 0.5366 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.53, allocations: 25.16 kB / 0.5366 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.53, allocations: 5.875 kB / 0.5366 GB, free: 81.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.5301, allocations: 325.1 kB / 0.5369 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5302, allocations: 38.72 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5304, allocations: 53.34 kB / 0.537 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.5305, allocations: 74.56 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5305, allocations: 0 / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003541/0.5309, allocations: 173.9 kB / 0.5373 GB, free: 81.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.531, allocations: 39.42 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.531, allocations: 5.125 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.531, allocations: 4.969 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5311, allocations: 18.55 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5311, allocations: 5.156 kB / 0.5373 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.5312, allocations: 5.656 kB / 0.5373 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.5312, allocations: 5.719 kB / 0.5373 GB, free: 81.08 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.0001106/0.5314, allocations: 124.5 kB / 0.5375 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.5314, allocations: 9.969 kB / 0.5375 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.5317, allocations: 137.5 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5317, allocations: 2.031 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5317, allocations: 0.75 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5317, allocations: 0 / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.5322, allocations: 410.3 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5322, allocations: 1.375 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.5323, allocations: 10.45 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5323, allocations: 4.594 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5323, allocations: 7.047 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5323, allocations: 0.5625 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5323, allocations: 1.375 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.5326, allocations: 220.7 kB / 0.5382 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.5326, allocations: 99.92 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.5327, allocations: 9.719 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.5327, allocations: 12 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5328, allocations: 6.078 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5328, allocations: 6.359 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.5329, allocations: 140.8 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5329, allocations: 1.438 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.5332, allocations: 43.41 kB / 0.5385 GB, free: 80.22 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.001173/0.5344, allocations: 432.1 kB / 0.5389 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.5348, allocations: 170.4 kB / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.5348, allocations: 0 / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.5349, allocations: 30.59 kB / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.5352, allocations: 25.27 kB / 0.5392 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.5358, allocations: 254.2 kB / 0.5394 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.5361, allocations: 0.7052 MB / 0.5401 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.942e-05/0.5362, allocations: 20.45 kB / 0.5401 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.5362, allocations: 19.41 kB / 0.5401 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5362, allocations: 0 / 0.5401 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.00618/0.5424, allocations: 1.735 MB / 0.5418 GB, free: 78.78 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)