Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.001695/0.001695, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 14.72 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.002132/0.002132, allocations: 207.2 kB / 24.55 MB, free: 3.727 MB / 14.72 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.676/1.676, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/2.862e-05, allocations: 6.219 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.2957/0.2957, allocations: 2.998 MB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.2986, allocations: 1.208 MB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.2988, allocations: 10.69 kB / 383.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.2993, allocations: 96.28 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.2998, allocations: 226.5 kB / 383.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.3006, allocations: 284.8 kB / 383.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3018, allocations: 0.9451 MB / 384.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.3021, allocations: 102.2 kB / 384.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.3027, allocations: 408 kB / 385.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.3033, allocations: 372.3 kB / 385.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.3035, allocations: 64.47 kB / 385.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.3038, allocations: 120 kB / 385.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001106/0.3049, allocations: 1.269 MB / 387.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004135/0.3053, allocations: 0.6928 MB / 387.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.3054, allocations: 51.47 kB / 387.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.435e-05/0.3055, allocations: 27.27 kB / 387.9 MB, free: 10.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 (109) * Number of variables: 112 (109) Notification: Performance of [SIM] Bindings: time 0.002706/0.3082, allocations: 2.71 MB / 390.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006769/0.3089, allocations: 0.5114 MB / 391.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002215/0.3111, allocations: 2.067 MB / 393.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005151/0.3116, allocations: 294.2 kB / 393.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003447/0.3151, allocations: 2.21 MB / 395.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004472/0.3155, allocations: 267.2 kB / 395.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002341/0.3158, allocations: 177.8 kB / 396.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0009525/0.3167, allocations: 0.5583 MB / 396.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0007886/0.3175, allocations: 477 kB / 397.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001269/0.3188, allocations: 0.8217 MB / 397.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.007752/0.3265, allocations: 4.468 MB / 402.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002014/0.3285, allocations: 1.833 MB / 404.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003737/0.3323, allocations: 0.9499 MB / 405.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00308/0.3354, allocations: 2.866 MB / 408.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001323/0.3355, allocations: 56.34 kB / 408.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004843/0.336, allocations: 420.1 kB / 408.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0045/0.3405, allocations: 2.791 MB / 411.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001041/0.3415, allocations: 0.6429 MB / 412 MB, free: 11.67 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 4.709e-06/0.3415, allocations: 4 kB / 412 MB, free: 11.66 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008044/0.3423, allocations: 444.2 kB / 412.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.237e-06/0.3423, allocations: 0.6562 kB / 412.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0009598/0.3433, allocations: 0.6115 MB / 413 MB, free: 10.62 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.581e-05/0.3433, allocations: 4 kB / 413 MB, free: 10.62 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.002719/0.346, allocations: 1.96 MB / 415 MB, free: 8.66 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00448/0.3505, allocations: 3.293 MB / 418.3 MB, free: 5.258 MB / 318.1 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: ............................. 8 (8) {clutch1.phi_rel, clutch1.w_relfric, J2.w, clutch2.phi_rel, clutch3.phi_rel, clutch3.w_relfric, J4.phi, J4.w} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 52 (52) {clutch1.free, clutch1.startForward, clutch1.startBackward, clutch1.locked, clutch1.mode, clutch2.free, clutch2.startForward, clutch2.startBackward, clutch2.locked, clutch2.mode, clutch3.free, clutch3.startForward, clutch3.startBackward, clutch3.locked, clutch3.mode, $FUN_4, $FUN_8, $FUN_12, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 70 (scalar:70, 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: ........... 99 (scalar:99, 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 0.0001304/0.3506, allocations: 72.38 kB / 418.3 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 0.007796/0.3584, allocations: 3.305 MB / 421.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02104/0.3795, allocations: 10.7 MB / 432.3 MB, free: 7.414 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.692003452044446] Failed to read output from testmodel.py, exit status != 0: ['time', 'J1.phi', 'J1.w', 'clutch1.phi_rel', 'clutch1.w_rel', 'clutch2.phi_rel', 'clutch2.w_rel', 'clutch3.phi_rel', 'clutch3.w_rel', 'clutch1.mode', 'clutch1.startBackward', 'clutch1.startForward', 'clutch2.mode', 'clutch2.startBackward', 'clutch2.startForward', 'clutch3.mode', 'clutch3.startBackward', 'clutch3.startForward'] 0.38839951500995085 0.40398745300000005 0.095181608 Calling exit ...