Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008487/0.008487, allocations: 173.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.565/1.565, allocations: 194.5 MB / 210.3 MB, free: 8.516 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.001838/0.001838, allocations: 116.6 kB / 255.6 MB, free: 11.13 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.2035/0.2035, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004741, allocations: 13.47 kB / 406.2 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 54.88 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.2598, allocations: 81.94 MB / 0.5302 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.2601, allocations: 75.91 kB / 0.5303 GB, free: 1.293 MB / 378.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.316/0.5761, allocations: 4.459 MB / 0.5347 GB, free: 82.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5762, allocations: 0 / 0.5347 GB, free: 82.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.5762, allocations: 6.125 kB / 0.5347 GB, free: 82.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006919/0.5769, allocations: 471.8 kB / 0.5351 GB, free: 82.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.577, allocations: 9.422 kB / 0.5351 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.5771, allocations: 9.875 kB / 0.5351 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.5774, allocations: 213.8 kB / 0.5354 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.5775, allocations: 2.562 kB / 0.5354 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5775, allocations: 4.812 kB / 0.5354 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.5777, allocations: 53.19 kB / 0.5354 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5777, allocations: 4 kB / 0.5354 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5777, allocations: 5.641 kB / 0.5354 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5777, allocations: 0 / 0.5354 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.5778, allocations: 22.36 kB / 0.5354 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.5781, allocations: 201.5 kB / 0.5356 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.5783, allocations: 59.16 kB / 0.5357 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.5783, allocations: 4.609 kB / 0.5357 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.5785, allocations: 65.44 kB / 0.5358 GB, free: 81.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.5785, allocations: 0 / 0.5358 GB, free: 81.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003813/0.5789, allocations: 105.4 kB / 0.5359 GB, free: 81.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.5789, allocations: 56.3 kB / 0.5359 GB, free: 81.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.5792, allocations: 189.9 kB / 0.5361 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.5792, allocations: 27.47 kB / 0.5361 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.5793, allocations: 109.2 kB / 0.5362 GB, free: 81.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.5793, allocations: 14.5 kB / 0.5362 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.5793, allocations: 1.375 kB / 0.5362 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.5794, allocations: 324.7 kB / 0.5365 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.5795, allocations: 30.86 kB / 0.5366 GB, free: 81.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.5796, allocations: 47.31 kB / 0.5366 GB, free: 81.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.5797, allocations: 64.64 kB / 0.5367 GB, free: 81.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5798, allocations: 7.938 kB / 0.5367 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002695/0.58, allocations: 157.5 kB / 0.5368 GB, free: 81.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.5801, allocations: 39.14 kB / 0.5369 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5801, allocations: 3.938 kB / 0.5369 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5801, allocations: 1.312 kB / 0.5369 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.5802, allocations: 15.58 kB / 0.5369 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5802, allocations: 1.062 kB / 0.5369 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.5803, allocations: 9.719 kB / 0.5369 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5803, allocations: 5.203 kB / 0.5369 GB, free: 80.98 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 (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 9.894e-05/0.5804, allocations: 132.8 kB / 0.537 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.5804, allocations: 12.22 kB / 0.5371 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.5807, allocations: 96.8 kB / 0.5371 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5807, allocations: 0.75 kB / 0.5371 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5807, allocations: 5.031 kB / 0.5371 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5807, allocations: 0.7031 kB / 0.5372 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.5809, allocations: 201.3 kB / 0.5373 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5809, allocations: 1.281 kB / 0.5373 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.5809, allocations: 9.547 kB / 0.5374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5809, allocations: 0 / 0.5374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.581, allocations: 1.734 kB / 0.5374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.581, allocations: 1.156 kB / 0.5374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.581, allocations: 0.5625 kB / 0.5374 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.5812, allocations: 115.8 kB / 0.5375 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.5812, allocations: 100.8 kB / 0.5376 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5813, allocations: 0.5156 kB / 0.5376 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.5813, allocations: 8.75 kB / 0.5376 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.5814, allocations: 4.938 kB / 0.5376 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.5814, allocations: 3.031 kB / 0.5376 GB, free: 80.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.5815, allocations: 156.5 kB / 0.5377 GB, free: 80.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5815, allocations: 0 / 0.5377 GB, free: 80.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.5818, allocations: 34.94 kB / 0.5378 GB, free: 80.35 MB / 378.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) * Number of clocked states: 0 () * 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.000918/0.5827, allocations: 391.1 kB / 0.5381 GB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.583, allocations: 146 kB / 0.5383 GB, free: 80.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.583, allocations: 0 / 0.5383 GB, free: 80.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.5831, allocations: 28.27 kB / 0.5383 GB, free: 80.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5833, allocations: 28.16 kB / 0.5383 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.5838, allocations: 237.2 kB / 0.5386 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.584, allocations: 0.7129 MB / 0.5392 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.584, allocations: 14.97 kB / 0.5393 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.5841, allocations: 14.27 kB / 0.5393 GB, free: 79.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5841, allocations: 0 / 0.5393 GB, free: 79.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004831/0.5889, allocations: 1.555 MB / 0.5408 GB, free: 78.96 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)