Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.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.002701/0.002701, allocations: 77.95 kB / 20.67 MB, free: 3.824 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.003278/0.003278, allocations: 169 kB / 24.07 MB, free: 440 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.69/1.69, allocations: 177.1 MB / 204.5 MB, free: 5.105 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.009807/0.009807, allocations: 1.197 MB / 262.2 MB, free: 11.6 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.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") translateModel(ElectricBraking.Examples.Translational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.007e-05, allocations: 2.312 kB / 332.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.00691/0.00693, allocations: 4.4 MB / 336.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.009681, allocations: 1.409 MB / 338.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.009947, allocations: 15.94 kB / 338.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.01059, allocations: 214.4 kB / 338.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.01103, allocations: 218.2 kB / 338.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.01129, allocations: 127.8 kB / 338.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009499/0.01224, allocations: 0.8167 MB / 339.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.01256, allocations: 157.6 kB / 339.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.01317, allocations: 411 kB / 340.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.01352, allocations: 219.3 kB / 340.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.01361, allocations: 56 kB / 340.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.0139, allocations: 135.8 kB / 340.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0009821/0.01488, allocations: 0.9432 MB / 341.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0005236/0.0154, allocations: 0.5656 MB / 342 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.01549, allocations: 56 kB / 342.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001177/0.01561, allocations: 23.92 kB / 342.1 MB, free: 9.301 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 (129) * Number of variables: 129 (129) Notification: Performance of [SIM] Bindings: time 0.00334/0.01895, allocations: 2.672 MB / 344.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004097/0.01936, allocations: 315.6 kB / 345.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of [SIM] Early Inline: time 0.002605/0.02196, allocations: 2.073 MB / 347.2 MB, free: 4.059 MB / 314.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0003681/0.02233, allocations: 200.2 kB / 347.3 MB, free: 3.828 MB / 314.7 MB Notification: Performance of [SIM] Alias: time 0.004663/0.027, allocations: 2.632 MB / 350 MB, free: 0.957 MB / 314.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0002129/0.02721, allocations: 120.6 kB / 350.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of [SIM] Remove Stream: time 0.000146/0.02735, allocations: 104.2 kB / 350.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of [SIM] Detect States: time 0.0004928/0.02785, allocations: 342.8 kB / 350.5 MB, free: 296 kB / 314.7 MB Notification: Performance of [SIM] Events: time 0.0001601/0.02801, allocations: 91.8 kB / 350.6 MB, free: 204 kB / 314.7 MB Notification: Performance of [SIM] Partitioning: time 0.0006048/0.02861, allocations: 357.4 kB / 351 MB, free: 15.8 MB / 330.7 MB Notification: Performance of [SIM] Causalize: time 0.002557/0.03117, allocations: 1.602 MB / 352.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007872/0.03196, allocations: 0.6557 MB / 353.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of [INI] Simplify: time 0.001522/0.03348, allocations: 0.753 MB / 354 MB, free: 12.68 MB / 330.7 MB Notification: Performance of [INI] Inline: time 0.001457/0.03494, allocations: 1.266 MB / 355.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of [INI] Partitioning: time 5.1e-05/0.03499, allocations: 22.75 kB / 355.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of [INI] Cleanup: time 0.000201/0.03519, allocations: 191.8 kB / 355.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of [INI] Causalize: time 0.001124/0.03631, allocations: 0.6447 MB / 356.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of [INI] Tearing: time 0.0003679/0.03668, allocations: 211.5 kB / 356.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of [SIM] Initialization: time 7.42e-07/0.03668, allocations: 0 / 356.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of [SIM] Remove Dummies: time 7.845e-06/0.03669, allocations: 0 / 356.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of [SIM] Tearing: time 0.0003181/0.03701, allocations: 207.5 kB / 356.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of [SIM] Categorize: time 6.643e-06/0.03701, allocations: 0 / 356.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of [SIM] Solve: time 0.000641/0.03765, allocations: 370 kB / 356.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.001023/0.03868, allocations: 0.597 MB / 357.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 8.91e-07/0.03868, allocations: 0 / 357.5 MB, free: 9.066 MB / 330.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ............................. 5 (5) {massLoad.s, integrator.y, brakingResistor.T_heatPort, dcpm.inertiaRotor.w, dcpm.ia} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {switch.off, $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: ........... 42 (scalar:42, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, 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: 1, nonlinear:0) Notification: Performance of backend: time 5.153e-05/0.03873, allocations: 26.75 kB / 357.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of SimCode: time 0.002693/0.04142, allocations: 1.282 MB / 358.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of Templates: time 0.01026/0.05169, allocations: 3.885 MB / 362.7 MB, free: 3.859 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.828277844004333]