Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.083e-05, allocations: 4.812 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.289/0.289, allocations: 2.993 MB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.2917, allocations: 1.21 MB / 383.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2919, allocations: 9.469 kB / 383.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.2923, allocations: 100.9 kB / 383.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.2929, allocations: 225.3 kB / 383.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.2936, allocations: 279 kB / 383.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2948, allocations: 0.9456 MB / 384.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.295, allocations: 99.5 kB / 384.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.2958, allocations: 412.5 kB / 385.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.2963, allocations: 368.8 kB / 385.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.2965, allocations: 67.16 kB / 385.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.2968, allocations: 128.8 kB / 385.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001073/0.2979, allocations: 1.263 MB / 387.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004083/0.2983, allocations: 0.6928 MB / 387.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2984, allocations: 48.16 kB / 387.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.671e-05/0.2985, allocations: 26.95 kB / 387.9 MB, free: 10.65 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.002914/0.3014, allocations: 2.713 MB / 390.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007568/0.3022, allocations: 0.5171 MB / 391.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002663/0.3048, allocations: 2.058 MB / 393.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005352/0.3054, allocations: 302 kB / 393.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00355/0.3089, allocations: 2.214 MB / 395.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004252/0.3094, allocations: 260.8 kB / 395.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002218/0.3096, allocations: 181.5 kB / 396.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0008231/0.3104, allocations: 0.5504 MB / 396.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0007351/0.3111, allocations: 468.3 kB / 397.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001114/0.3123, allocations: 0.8251 MB / 397.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.007301/0.3196, allocations: 4.484 MB / 402.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001721/0.3213, allocations: 1.833 MB / 404.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003019/0.3243, allocations: 0.929 MB / 405.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002835/0.3271, allocations: 2.868 MB / 408 MB, free: 14.68 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001434/0.3273, allocations: 64.86 kB / 408.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0005056/0.3278, allocations: 420.6 kB / 408.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.00455/0.3323, allocations: 2.783 MB / 411.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0009502/0.3333, allocations: 0.6396 MB / 411.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.673e-06/0.3333, allocations: 0 / 411.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007612/0.334, allocations: 447.6 kB / 412.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.526e-06/0.334, allocations: 0.6562 kB / 412.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0009301/0.335, allocations: 0.6131 MB / 413 MB, free: 10.37 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.383e-05/0.335, allocations: 4 kB / 413 MB, free: 10.37 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.002728/0.3377, allocations: 1.961 MB / 415 MB, free: 8.406 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.004404/0.3421, allocations: 3.306 MB / 418.3 MB, free: 4.973 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.0001089/0.3422, allocations: 53.39 kB / 418.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of SimCode: time 0.006793/0.349, allocations: 3.305 MB / 421.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of Templates: time 0.01977/0.3688, allocations: 10.7 MB / 432.3 MB, free: 7.098 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.485186188016087] 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.37804082897491753 0.39615348300000003 0.09376746600000001 Calling exit ...