Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 77.97 kB / 20.67 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 169 kB / 24.07 MB, free: 444 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 177.1 MB / 204.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.01421/0.01421, allocations: 1.198 MB / 262.2 MB, free: 11.7 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.106e-05, allocations: 2.312 kB / 332.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.003222/0.003243, allocations: 2.488 MB / 334.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004486, allocations: 0.9273 MB / 335.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004592, allocations: 11.88 kB / 335.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.004927, allocations: 87.34 kB / 335.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00514, allocations: 115.1 kB / 336 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.005302, allocations: 107.8 kB / 336.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.005613, allocations: 419.2 kB / 336.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005723, allocations: 37.23 kB / 336.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.005998, allocations: 223.5 kB / 336.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.006167, allocations: 139.6 kB / 336.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.006205, allocations: 24 kB / 336.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.006349, allocations: 107.8 kB / 337 MB, free: 13.3 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.0002669/0.006616, allocations: 481.2 kB / 337.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 8.524e-05/0.006701, allocations: 249.8 kB / 337.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.006732, allocations: 20 kB / 337.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.135e-05/0.006763, allocations: 15.92 kB / 337.8 MB, free: 12.54 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (49) * Number of variables: 50 (49) Notification: Performance of [SIM] Bindings: time 0.0008932/0.007656, allocations: 1.32 MB / 339.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002379/0.007894, allocations: 244.6 kB / 339.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of [SIM] Early Inline: time 0.0005384/0.008433, allocations: 0.8824 MB / 340.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001408/0.008573, allocations: 120.2 kB / 340.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of [SIM] Alias: time 0.001209/0.009782, allocations: 1.132 MB / 341.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of [SIM] Simplify 2: time 9.317e-05/0.009875, allocations: 94 kB / 341.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of [SIM] Remove Stream: time 6.215e-05/0.009937, allocations: 97.69 kB / 341.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of [SIM] Detect States: time 0.0003173/0.01025, allocations: 325.6 kB / 342 MB, free: 7.891 MB / 266.7 MB Notification: Performance of [SIM] Events: time 0.000207/0.01046, allocations: 183.5 kB / 342.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of [SIM] Partitioning: time 0.0003882/0.01085, allocations: 389.1 kB / 342.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of [SIM] Causalize: time 0.001465/0.01231, allocations: 1.383 MB / 343.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000495/0.01281, allocations: 0.7649 MB / 344.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of [INI] Simplify: time 0.002891/0.0157, allocations: 0.6233 MB / 345.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of [INI] Inline: time 0.0007106/0.01641, allocations: 1.008 MB / 346.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of [INI] Partitioning: time 4.166e-05/0.01645, allocations: 22.75 kB / 346.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of [INI] Cleanup: time 0.0001146/0.01657, allocations: 175.8 kB / 346.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of [INI] Causalize: time 0.0008333/0.0174, allocations: 0.6459 MB / 347.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of [INI] Tearing: time 0.0006165/0.01802, allocations: 439.3 kB / 347.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of [SIM] Initialization: time 1.273e-06/0.01802, allocations: 0 / 347.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of [SIM] Remove Dummies: time 6.813e-06/0.01803, allocations: 4 kB / 347.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of [SIM] Tearing: time 0.0005492/0.01858, allocations: 406.3 kB / 348 MB, free: 1.715 MB / 266.7 MB Notification: Performance of [SIM] Categorize: time 7.454e-06/0.01858, allocations: 4 kB / 348 MB, free: 1.711 MB / 266.7 MB Notification: Performance of [SIM] Solve: time 0.0005683/0.01915, allocations: 0.5367 MB / 348.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of [SIM] Jacobian: time 0.001019/0.02017, allocations: 0.8955 MB / 349.4 MB, free: 140 kB / 266.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 8.01e-07/0.02017, allocations: 0 / 349.4 MB, free: 140 kB / 266.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {integrator.y, heatCapacitor.T, brake.s_b, brake.v_relfric} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 14 (14) {brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, $FUN_4, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:24, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.072e-05/0.02022, allocations: 43.23 kB / 349.5 MB, free: 100 kB / 266.7 MB Notification: Performance of SimCode: time 0.006242/0.02646, allocations: 1.697 MB / 351.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Templates: time 0.01402/0.04048, allocations: 6.257 MB / 357.4 MB, free: 8.324 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.839764700271189]