Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009737/0.0009739, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.466/1.466, allocations: 194.3 MB / 202.4 MB, free: 8.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.001816/0.001816, allocations: 111.2 kB / 247.4 MB, free: 6.238 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.198/0.198, allocations: 39.95 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09491, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4456, allocations: 81.22 MB / 0.517 GB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4459, allocations: 69.02 kB / 0.5171 GB, free: 10.45 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01068/0.4566, allocations: 4.367 MB / 0.5213 GB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4566, allocations: 0 / 0.5213 GB, free: 9.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4566, allocations: 3.875 kB / 0.5214 GB, free: 9.387 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003205/0.457, allocations: 450.4 kB / 0.5218 GB, free: 8.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.457, allocations: 8.469 kB / 0.5218 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.457, allocations: 7.75 kB / 0.5218 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.4573, allocations: 201.8 kB / 0.522 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4573, allocations: 0 / 0.522 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.4573, allocations: 3.812 kB / 0.522 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.792e-05/0.4574, allocations: 18.92 kB / 0.522 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.4575, allocations: 51.92 kB / 0.5221 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4575, allocations: 11.88 kB / 0.5221 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4575, allocations: 3.938 kB / 0.5221 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.4575, allocations: 0 / 0.5221 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.4576, allocations: 179 kB / 0.5222 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.4577, allocations: 51.91 kB / 0.5223 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.4578, allocations: 16.05 kB / 0.5223 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4578, allocations: 4.078 kB / 0.5223 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.4579, allocations: 58.12 kB / 0.5224 GB, free: 8.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4579, allocations: 0 / 0.5224 GB, free: 8.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001674/0.4581, allocations: 82.77 kB / 0.5224 GB, free: 8.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.4581, allocations: 55.41 kB / 0.5225 GB, free: 8.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4582, allocations: 167 kB / 0.5227 GB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4583, allocations: 29.55 kB / 0.5227 GB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.4583, allocations: 97.41 kB / 0.5228 GB, free: 8.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.4583, allocations: 15.25 kB / 0.5228 GB, free: 8.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4583, allocations: 0 / 0.5228 GB, free: 8.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.4584, allocations: 322 kB / 0.5231 GB, free: 7.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.4584, allocations: 21.97 kB / 0.5231 GB, free: 7.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.4585, allocations: 50.52 kB / 0.5232 GB, free: 7.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.4585, allocations: 25.77 kB / 0.5232 GB, free: 7.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4586, allocations: 3.875 kB / 0.5232 GB, free: 7.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001611/0.4587, allocations: 108 kB / 0.5233 GB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4588, allocations: 36.92 kB / 0.5233 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4588, allocations: 128 / 0.5233 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4588, allocations: 7.844 kB / 0.5233 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.4589, allocations: 15.55 kB / 0.5234 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.4589, allocations: 4.031 kB / 0.5234 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.4589, allocations: 15.28 kB / 0.5234 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.459, allocations: 7.797 kB / 0.5234 GB, free: 7.582 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 (8): * Single equations (assignments): 7 * 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.897e-05/0.459, allocations: 104.7 kB / 0.5235 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.459, allocations: 7.656 kB / 0.5235 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.4592, allocations: 98.03 kB / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4592, allocations: 0 / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4592, allocations: 0 / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4592, allocations: 4 kB / 0.5236 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.4593, allocations: 167 kB / 0.5238 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4593, allocations: 0 / 0.5238 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.4593, allocations: 7.625 kB / 0.5238 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4593, allocations: 3.984 kB / 0.5238 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4594, allocations: 3.875 kB / 0.5238 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4594, allocations: 0 / 0.5238 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4594, allocations: 0 / 0.5238 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4595, allocations: 106 kB / 0.5239 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.4595, allocations: 100.6 kB / 0.524 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.4596, allocations: 7.828 kB / 0.524 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.4596, allocations: 0 / 0.524 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.4597, allocations: 3.844 kB / 0.524 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4597, allocations: 3.844 kB / 0.524 GB, free: 7.043 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.4597, allocations: 135.7 kB / 0.5241 GB, free: 6.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4597, allocations: 3.875 kB / 0.5241 GB, free: 6.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.46, allocations: 27.31 kB / 0.5241 GB, free: 6.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006459/0.4606, allocations: 337.4 kB / 0.5245 GB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.4608, allocations: 141 kB / 0.5246 GB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4608, allocations: 0 / 0.5246 GB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.4608, allocations: 21.69 kB / 0.5246 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.461, allocations: 18.75 kB / 0.5246 GB, free: 6.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.4613, allocations: 140 kB / 0.5248 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.4615, allocations: 0.703 MB / 0.5255 GB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.4615, allocations: 27.42 kB / 0.5255 GB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.4615, allocations: 18.31 kB / 0.5255 GB, free: 5.801 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4616, allocations: 0 / 0.5255 GB, free: 5.801 MB / 346.7 MB Notification: Performance of Templates: time 0.003243/0.4648, allocations: 1.414 MB / 0.5269 GB, free: 5.094 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)