Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008395/0.008395, allocations: 174.8 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.609/1.609, 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.001465/0.001465, allocations: 132.5 kB / 255.6 MB, free: 10.15 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.1771/0.1771, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 12.41 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.3084, allocations: 82.1 MB / 0.5304 GB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.3087, allocations: 91.83 kB / 0.5305 GB, free: 1.02 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.3181/0.6268, allocations: 4.439 MB / 0.5348 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.6269, allocations: 0 / 0.5348 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.6269, allocations: 0 / 0.5348 GB, free: 83 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.000757/0.6277, allocations: 463.9 kB / 0.5353 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.6277, allocations: 8.844 kB / 0.5353 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.6278, allocations: 13.27 kB / 0.5353 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.6282, allocations: 212.5 kB / 0.5355 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.6282, allocations: 3.797 kB / 0.5355 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.6283, allocations: 8.031 kB / 0.5355 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.6284, allocations: 56.39 kB / 0.5356 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6285, allocations: 1.281 kB / 0.5356 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.6285, allocations: 0.75 kB / 0.5356 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6285, allocations: 5.234 kB / 0.5356 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.6286, allocations: 19.23 kB / 0.5356 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.6291, allocations: 319.2 kB / 0.5359 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.6294, allocations: 59.98 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6294, allocations: 1.094 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.6296, allocations: 74.25 kB / 0.536 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.6296, allocations: 0 / 0.536 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007534/0.6304, allocations: 182.4 kB / 0.5362 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.6304, allocations: 57.3 kB / 0.5363 GB, free: 81.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.6306, allocations: 157.2 kB / 0.5364 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6307, allocations: 35.73 kB / 0.5364 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.6307, allocations: 94.09 kB / 0.5365 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.6308, allocations: 25.94 kB / 0.5365 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.6308, allocations: 3 kB / 0.5366 GB, free: 81.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.631, allocations: 320.7 kB / 0.5369 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.6312, allocations: 41.98 kB / 0.5369 GB, free: 81.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.6313, allocations: 56.34 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.6315, allocations: 72.05 kB / 0.537 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6315, allocations: 0 / 0.537 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003636/0.6319, allocations: 179.9 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.6319, allocations: 41.05 kB / 0.5372 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6319, allocations: 1.562 kB / 0.5372 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.632, allocations: 5.031 kB / 0.5372 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.6321, allocations: 15.12 kB / 0.5373 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.6321, allocations: 1.641 kB / 0.5373 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.6322, allocations: 9.641 kB / 0.5373 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.6322, allocations: 5.203 kB / 0.5373 GB, free: 81.11 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.0001308/0.6324, allocations: 130.9 kB / 0.5374 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.6324, allocations: 21.09 kB / 0.5374 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.6328, allocations: 126 kB / 0.5375 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6328, allocations: 1.781 kB / 0.5375 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.6328, allocations: 5.062 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6328, allocations: 0.75 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.6334, allocations: 402.5 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6334, allocations: 5.844 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.6335, allocations: 10.09 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6335, allocations: 1.5 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.6335, allocations: 6.047 kB / 0.5379 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6335, allocations: 1.312 kB / 0.5379 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6335, allocations: 1.406 kB / 0.5379 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.6338, allocations: 224.7 kB / 0.5382 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.6339, allocations: 101.2 kB / 0.5383 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.6339, allocations: 6.531 kB / 0.5383 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.634, allocations: 11.75 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.6341, allocations: 6.031 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.6341, allocations: 3.75 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.6342, allocations: 125.9 kB / 0.5384 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6343, allocations: 0.9062 kB / 0.5384 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000313/0.6346, allocations: 34.77 kB / 0.5384 GB, free: 80.25 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.001182/0.6358, allocations: 447.3 kB / 0.5389 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.6362, allocations: 165.4 kB / 0.539 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.6362, allocations: 1.312 kB / 0.539 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.6363, allocations: 32.19 kB / 0.5391 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.6367, allocations: 29.12 kB / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.6374, allocations: 234.2 kB / 0.5393 GB, free: 79.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.6377, allocations: 0.7028 MB / 0.54 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.535e-05/0.6378, allocations: 19.8 kB / 0.54 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.6378, allocations: 16.06 kB / 0.54 GB, free: 79.01 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6378, allocations: 0 / 0.54 GB, free: 79.01 MB / 378.7 MB Notification: Performance of Templates: time 0.006227/0.6441, allocations: 1.709 MB / 0.5417 GB, free: 78.81 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)