Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001472/0.001472, allocations: 182.5 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.675/1.675, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.00165/0.00165, allocations: 122.1 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.2206/0.2206, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.635e-05, allocations: 11.98 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5169, allocations: 82.28 MB / 0.5248 GB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5172, allocations: 74.02 kB / 0.5249 GB, free: 8.844 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. Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.53, allocations: 4.966 MB / 0.5297 GB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.53, allocations: 0 / 0.5297 GB, free: 5.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.53, allocations: 7.938 kB / 0.5298 GB, free: 5.164 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003739/0.5304, allocations: 443.5 kB / 0.5302 GB, free: 4.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5304, allocations: 12.03 kB / 0.5302 GB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.5305, allocations: 7.906 kB / 0.5302 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.5307, allocations: 209.3 kB / 0.5304 GB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5307, allocations: 4 kB / 0.5304 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5308, allocations: 4 kB / 0.5304 GB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.5309, allocations: 69.45 kB / 0.5305 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5309, allocations: 0 / 0.5305 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5309, allocations: 3.953 kB / 0.5305 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.531, allocations: 0 / 0.5305 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.531, allocations: 21.94 kB / 0.5305 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.5313, allocations: 300 kB / 0.5308 GB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5315, allocations: 52.97 kB / 0.5308 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.5315, allocations: 23.55 kB / 0.5309 GB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.5315, allocations: 0 / 0.5309 GB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.5316, allocations: 78.34 kB / 0.5309 GB, free: 3.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.5317, allocations: 0 / 0.5309 GB, free: 3.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004092/0.5321, allocations: 157.2 kB / 0.5311 GB, free: 3.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.5321, allocations: 81.11 kB / 0.5312 GB, free: 3.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.5322, allocations: 135.4 kB / 0.5313 GB, free: 3.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.5322, allocations: 29.7 kB / 0.5313 GB, free: 3.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.5323, allocations: 97.86 kB / 0.5314 GB, free: 3.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.5323, allocations: 26.11 kB / 0.5314 GB, free: 3.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5323, allocations: 0 / 0.5314 GB, free: 3.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.5324, allocations: 326 kB / 0.5317 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.5324, allocations: 26.12 kB / 0.5318 GB, free: 3.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.5325, allocations: 51.14 kB / 0.5318 GB, free: 2.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.5326, allocations: 63.23 kB / 0.5319 GB, free: 2.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5326, allocations: 4 kB / 0.5319 GB, free: 2.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001764/0.5327, allocations: 162.8 kB / 0.532 GB, free: 2.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.5328, allocations: 37.77 kB / 0.5321 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5328, allocations: 0 / 0.5321 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5328, allocations: 192 / 0.5321 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.5329, allocations: 19.98 kB / 0.5321 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5329, allocations: 7.938 kB / 0.5321 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.533, allocations: 7.188 kB / 0.5321 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.533, allocations: 4 kB / 0.5321 GB, free: 2.688 MB / 346.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 () * 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 4.822e-05/0.533, allocations: 113.9 kB / 0.5322 GB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.5331, allocations: 19.78 kB / 0.5322 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.5333, allocations: 114.8 kB / 0.5323 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5333, allocations: 0 / 0.5323 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5333, allocations: 0 / 0.5323 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5333, allocations: 0 / 0.5323 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.5336, allocations: 403.9 kB / 0.5327 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5336, allocations: 0 / 0.5327 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.5337, allocations: 12 kB / 0.5327 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5337, allocations: 0 / 0.5327 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5337, allocations: 4.031 kB / 0.5327 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5337, allocations: 4 kB / 0.5327 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5337, allocations: 0 / 0.5327 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.5339, allocations: 222.8 kB / 0.533 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.5339, allocations: 92.38 kB / 0.5331 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.534, allocations: 11.12 kB / 0.5331 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.534, allocations: 4 kB / 0.5331 GB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.5341, allocations: 7.984 kB / 0.5331 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.5341, allocations: 11.56 kB / 0.5331 GB, free: 1.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.5342, allocations: 117.3 kB / 0.5332 GB, free: 1.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5342, allocations: 0 / 0.5332 GB, free: 1.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000275/0.5344, allocations: 55.58 kB / 0.5332 GB, free: 1.523 MB / 346.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) * 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.001156/0.5356, allocations: 481 kB / 0.5337 GB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.5358, allocations: 152.3 kB / 0.5339 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5359, allocations: 4.25 kB / 0.5339 GB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.5359, allocations: 31.38 kB / 0.5339 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.5362, allocations: 19.48 kB / 0.5339 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.5365, allocations: 129 kB / 0.534 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.5367, allocations: 0.7043 MB / 0.5347 GB, free: 92 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.5368, allocations: 12.5 kB / 0.5347 GB, free: 76 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5368, allocations: 22.55 kB / 0.5347 GB, free: 60 kB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5368, allocations: 0 / 0.5347 GB, free: 60 kB / 346.7 MB Notification: Performance of Templates: time 0.005718/0.5425, allocations: 1.974 MB / 0.5367 GB, free: 14.11 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)