Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001657/0.001657, allocations: 181.9 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.991/1.991, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001639/0.001639, allocations: 110.7 kB / 252.6 MB, free: 4.816 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.2159/0.2159, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.423e-05, allocations: 11.98 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5422, allocations: 82.17 MB / 0.5247 GB, free: 8.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.5424, allocations: 71.47 kB / 0.5248 GB, free: 8.855 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.5592, allocations: 7.076 MB / 0.5317 GB, free: 3.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5593, allocations: 0 / 0.5317 GB, free: 3.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.5593, allocations: 7.75 kB / 0.5317 GB, free: 3.211 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006104/0.5599, allocations: 0.6193 MB / 0.5323 GB, free: 2.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.89e-05/0.56, allocations: 12.03 kB / 0.5323 GB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.5601, allocations: 35.62 kB / 0.5324 GB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.5606, allocations: 292.7 kB / 0.5326 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5606, allocations: 7 kB / 0.5326 GB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.5606, allocations: 15.86 kB / 0.5327 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5608, allocations: 98.61 kB / 0.5328 GB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5609, allocations: 4 kB / 0.5328 GB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.5609, allocations: 7.938 kB / 0.5328 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5609, allocations: 0 / 0.5328 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.561, allocations: 43.36 kB / 0.5328 GB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.5616, allocations: 0.5068 MB / 0.5333 GB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.5618, allocations: 110.1 kB / 0.5334 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.5618, allocations: 45.77 kB / 0.5335 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.5619, allocations: 11.69 kB / 0.5335 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.562, allocations: 109 kB / 0.5336 GB, free: 1.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.562, allocations: 0 / 0.5336 GB, free: 1.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006882/0.5627, allocations: 356.8 kB / 0.5339 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5628, allocations: 80.48 kB / 0.534 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.5632, allocations: 424.5 kB / 0.5344 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5632, allocations: 33.27 kB / 0.5344 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.5633, allocations: 161 kB / 0.5346 GB, free: 392 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.5633, allocations: 50.84 kB / 0.5346 GB, free: 348 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.5633, allocations: 7.125 kB / 0.5346 GB, free: 344 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5635, allocations: 349.3 kB / 0.535 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5636, allocations: 69.12 kB / 0.535 GB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5638, allocations: 106.3 kB / 0.5351 GB, free: 15.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.564, allocations: 140.2 kB / 0.5353 GB, free: 15.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.564, allocations: 0 / 0.5353 GB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004586/0.5645, allocations: 333.5 kB / 0.5356 GB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.5645, allocations: 71.02 kB / 0.5357 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5646, allocations: 0 / 0.5357 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5646, allocations: 4 kB / 0.5357 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5647, allocations: 35.8 kB / 0.5357 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5648, allocations: 4 kB / 0.5357 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5649, allocations: 15.92 kB / 0.5357 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.5649, allocations: 15.38 kB / 0.5357 GB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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 9.839e-05/0.565, allocations: 128.6 kB / 0.5358 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.5651, allocations: 27.62 kB / 0.5359 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.5655, allocations: 222.1 kB / 0.5361 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5655, allocations: 4.312 kB / 0.5361 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5655, allocations: 0 / 0.5361 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5655, allocations: 4 kB / 0.5361 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.5663, allocations: 0.6893 MB / 0.5368 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5663, allocations: 384 / 0.5368 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.5664, allocations: 31.86 kB / 0.5368 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5664, allocations: 0 / 0.5368 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5665, allocations: 4 kB / 0.5368 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.5665, allocations: 7.938 kB / 0.5368 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5665, allocations: 0 / 0.5368 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.5669, allocations: 417.8 kB / 0.5372 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.5671, allocations: 139.7 kB / 0.5373 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.5671, allocations: 7.984 kB / 0.5373 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5673, allocations: 15.44 kB / 0.5374 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.5673, allocations: 11.98 kB / 0.5374 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5673, allocations: 11.36 kB / 0.5374 GB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003699/0.5677, allocations: 337.5 kB / 0.5377 GB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5677, allocations: 0 / 0.5377 GB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.5681, allocations: 94.36 kB / 0.5378 GB, free: 13.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001391/0.5695, allocations: 0.5954 MB / 0.5384 GB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.5699, allocations: 319 kB / 0.5387 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.57, allocations: 0 / 0.5387 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5701, allocations: 70.33 kB / 0.5387 GB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.5704, allocations: 43.59 kB / 0.5388 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.5712, allocations: 455.7 kB / 0.5392 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.5716, allocations: 0.7911 MB / 0.54 GB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.5717, allocations: 37.31 kB / 0.54 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.5718, allocations: 31.11 kB / 0.5401 GB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5718, allocations: 0 / 0.5401 GB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.00688/0.5787, allocations: 3.549 MB / 0.5435 GB, free: 7.688 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)