Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001723/0.001724, allocations: 181.8 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.678/1.678, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001742/0.001742, allocations: 109.7 kB / 252.6 MB, free: 4.828 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.2231/0.2231, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.396e-05, allocations: 8 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 54.87 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6228, allocations: 82.06 MB / 0.5246 GB, free: 9.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6231, allocations: 72.28 kB / 0.5247 GB, free: 8.988 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.01254/0.6357, allocations: 4.873 MB / 0.5295 GB, free: 5.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6357, allocations: 0 / 0.5295 GB, free: 5.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.6357, allocations: 4 kB / 0.5295 GB, free: 5.102 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.000444/0.6362, allocations: 478.3 kB / 0.5299 GB, free: 4.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6362, allocations: 12.03 kB / 0.5299 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.6363, allocations: 15.81 kB / 0.5299 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.6366, allocations: 216.5 kB / 0.5301 GB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6366, allocations: 4 kB / 0.5302 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.6367, allocations: 7.188 kB / 0.5302 GB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6368, allocations: 52.05 kB / 0.5302 GB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6368, allocations: 4 kB / 0.5302 GB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6369, allocations: 3.953 kB / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6369, allocations: 0 / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.6369, allocations: 30.23 kB / 0.5302 GB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.6373, allocations: 324.4 kB / 0.5306 GB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6375, allocations: 52.19 kB / 0.5306 GB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.6375, allocations: 26.59 kB / 0.5306 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.6375, allocations: 4 kB / 0.5306 GB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.6377, allocations: 76.84 kB / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.6377, allocations: 0 / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005039/0.6382, allocations: 170.4 kB / 0.5309 GB, free: 3.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6383, allocations: 51.41 kB / 0.5309 GB, free: 3.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.6385, allocations: 234 kB / 0.5311 GB, free: 3.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6385, allocations: 32.89 kB / 0.5312 GB, free: 3.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.6386, allocations: 116.7 kB / 0.5313 GB, free: 3.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.6386, allocations: 26.97 kB / 0.5313 GB, free: 3.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.6386, allocations: 7 kB / 0.5313 GB, free: 3.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.6387, allocations: 326.6 kB / 0.5316 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.6388, allocations: 34.36 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.6389, allocations: 52.08 kB / 0.5317 GB, free: 2.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.639, allocations: 74.67 kB / 0.5318 GB, free: 2.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.639, allocations: 0 / 0.5318 GB, free: 2.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002334/0.6392, allocations: 184.4 kB / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.6393, allocations: 33.7 kB / 0.532 GB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6393, allocations: 0 / 0.532 GB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6393, allocations: 7.984 kB / 0.532 GB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.6394, allocations: 14.44 kB / 0.532 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6394, allocations: 0 / 0.532 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.6395, allocations: 11.84 kB / 0.532 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.6395, allocations: 14.98 kB / 0.532 GB, free: 2.473 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 7.058e-05/0.6396, allocations: 108.4 kB / 0.5321 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.6396, allocations: 15.89 kB / 0.5322 GB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.6398, allocations: 125.6 kB / 0.5323 GB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6399, allocations: 4 kB / 0.5323 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6399, allocations: 0 / 0.5323 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6399, allocations: 0 / 0.5323 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.6403, allocations: 428 kB / 0.5327 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6403, allocations: 4 kB / 0.5327 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.6403, allocations: 8 kB / 0.5327 GB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6403, allocations: 4.031 kB / 0.5327 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6403, allocations: 7.984 kB / 0.5327 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6403, allocations: 0 / 0.5327 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6403, allocations: 0 / 0.5327 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.6405, allocations: 228.7 kB / 0.5329 GB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.6406, allocations: 104.8 kB / 0.533 GB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.6406, allocations: 4 kB / 0.533 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.6407, allocations: 8.172 kB / 0.533 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.6408, allocations: 11.75 kB / 0.533 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6408, allocations: 8 kB / 0.5331 GB, free: 1.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.6409, allocations: 190.3 kB / 0.5332 GB, free: 1.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6409, allocations: 3.938 kB / 0.5332 GB, free: 1.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.6412, allocations: 43.86 kB / 0.5333 GB, free: 1.207 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.0008904/0.6421, allocations: 395.3 kB / 0.5337 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6423, allocations: 161.6 kB / 0.5338 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6423, allocations: 0 / 0.5338 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/0.6424, allocations: 39.67 kB / 0.5339 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6426, allocations: 27.22 kB / 0.5339 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.643, allocations: 225.4 kB / 0.5341 GB, free: 496 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.6433, allocations: 0.7238 MB / 0.5348 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.6434, allocations: 12.44 kB / 0.5348 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.6434, allocations: 15.44 kB / 0.5348 GB, free: 15.71 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6434, allocations: 0 / 0.5348 GB, free: 15.71 MB / 362.7 MB Notification: Performance of Templates: time 0.004921/0.6483, allocations: 1.882 MB / 0.5367 GB, free: 13.85 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)