Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.002361/0.002361, allocations: 73.88 kB / 20.67 MB, free: 3.828 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.00279/0.00279, allocations: 173 kB / 24.07 MB, free: 436 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.611/1.611, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03508/0.03508, allocations: 1.197 MB / 262.2 MB, free: 11.73 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.Rotational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking") translateModel(ElectricBraking.Examples.Rotational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.292e-05, allocations: 4.703 kB / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.MechanicalBraking): time 0.003653/0.003676, allocations: 2.447 MB / 334.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.005148, allocations: 0.9196 MB / 335.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.005343, allocations: 7.938 kB / 335.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.005696, allocations: 87.33 kB / 335.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.006005, allocations: 111.1 kB / 335.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.006208, allocations: 111.8 kB / 336.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.006582, allocations: 407.2 kB / 336.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006695, allocations: 36.89 kB / 336.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.007081, allocations: 219.5 kB / 336.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.007277, allocations: 127.7 kB / 336.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.007319, allocations: 24 kB / 336.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.007505, allocations: 103.8 kB / 336.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.0002576/0.007763, allocations: 461.2 kB / 337.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001098/0.007873, allocations: 241.9 kB / 337.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.007938, allocations: 20 kB / 337.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.879e-05/0.007987, allocations: 23.91 kB / 337.7 MB, free: 12.67 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: 48 (47) * Number of variables: 48 (47) Notification: Performance of [SIM] Bindings: time 0.0008717/0.008859, allocations: 1.248 MB / 338.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003027/0.009161, allocations: 257.5 kB / 339.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of [SIM] Early Inline: time 0.000555/0.009716, allocations: 0.8512 MB / 340 MB, free: 10.16 MB / 266.7 MB Notification: Performance of [SIM] Simplify 1: time 0.000125/0.009841, allocations: 112.2 kB / 340.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of [SIM] Alias: time 0.001114/0.01096, allocations: 1.025 MB / 341.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of [SIM] Simplify 2: time 8.94e-05/0.01105, allocations: 100.2 kB / 341.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of [SIM] Remove Stream: time 5.681e-05/0.0111, allocations: 84.38 kB / 341.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of [SIM] Detect States: time 0.0002888/0.01139, allocations: 324.4 kB / 341.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of [SIM] Events: time 0.0002002/0.01159, allocations: 175.1 kB / 341.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of [SIM] Partitioning: time 0.0003476/0.01194, allocations: 377.2 kB / 342.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of [SIM] Causalize: time 0.001452/0.01339, allocations: 1.384 MB / 343.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004479/0.01384, allocations: 0.7298 MB / 344.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of [INI] Simplify: time 0.002624/0.01646, allocations: 0.5953 MB / 344.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of [INI] Inline: time 0.0006282/0.01709, allocations: 0.9693 MB / 345.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of [INI] Partitioning: time 3.148e-05/0.01712, allocations: 26.69 kB / 345.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of [INI] Cleanup: time 0.0001076/0.01723, allocations: 175.8 kB / 346.1 MB, free: 3.68 MB / 266.7 MB Notification: Performance of [INI] Causalize: time 0.0007996/0.01803, allocations: 0.6317 MB / 346.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of [INI] Tearing: time 0.0005427/0.01857, allocations: 430.3 kB / 347.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of [SIM] Initialization: time 1.393e-06/0.01857, allocations: 4 kB / 347.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of [SIM] Remove Dummies: time 5.701e-06/0.01858, allocations: 0 / 347.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of [SIM] Tearing: time 0.0004998/0.01908, allocations: 398.9 kB / 347.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of [SIM] Categorize: time 7.524e-06/0.01909, allocations: 4 kB / 347.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of [SIM] Solve: time 0.0005311/0.01962, allocations: 0.5119 MB / 348 MB, free: 1.684 MB / 266.7 MB Notification: Performance of [SIM] Jacobian: time 0.0009607/0.02058, allocations: 0.888 MB / 348.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 9.21e-07/0.02058, allocations: 0 / 348.9 MB, free: 0.6562 MB / 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) {inertiaLoad.phi, inertiaLoad.w, integrator.y, heatCapacitor.T} * 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: ........... 23 (scalar:23, 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: ........... 30 (scalar:30, 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 4.806e-05/0.02063, allocations: 40.77 kB / 349 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of SimCode: time 0.005404/0.02603, allocations: 1.663 MB / 350.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Templates: time 0.01345/0.03948, allocations: 6.062 MB / 356.7 MB, free: 9.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.902378688100725]