Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.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.00167/0.00167, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 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.002381/0.002381, allocations: 212 kB / 24.55 MB, free: 3.828 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.594/1.594, allocations: 230.7 MB / 258.3 MB, free: 7.781 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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.782e-05, allocations: 2.281 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.2835/0.2835, allocations: 2.962 MB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2859, allocations: 1.085 MB / 383.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2861, allocations: 10.12 kB / 383.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2864, allocations: 84.58 kB / 383.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.2869, allocations: 193.7 kB / 383.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.2873, allocations: 206 kB / 383.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.2882, allocations: 0.7455 MB / 384.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.2885, allocations: 90 kB / 384.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.289, allocations: 314.9 kB / 384.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.2895, allocations: 290.1 kB / 385 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.2896, allocations: 52.16 kB / 385.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2898, allocations: 106.1 kB / 385.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009657/0.2908, allocations: 1.036 MB / 386.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003663/0.2912, allocations: 0.5846 MB / 386.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.2913, allocations: 39.22 kB / 386.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.633e-05/0.2914, allocations: 21.38 kB / 386.8 MB, free: 11.37 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: 102 (100) * Number of variables: 102 (100) Notification: Performance of [SIM] Bindings: time 0.002559/0.2939, allocations: 2.304 MB / 389.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005802/0.2945, allocations: 398.8 kB / 389.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001938/0.2964, allocations: 1.653 MB / 391.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005317/0.297, allocations: 251.5 kB / 391.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003355/0.3003, allocations: 1.955 MB / 393.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003153/0.3006, allocations: 216.4 kB / 393.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001626/0.3008, allocations: 145 kB / 393.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005829/0.3014, allocations: 426.8 kB / 394.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004704/0.3018, allocations: 317.5 kB / 394.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008356/0.3027, allocations: 0.6127 MB / 395.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005446/0.3081, allocations: 3.569 MB / 398.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001416/0.3095, allocations: 1.339 MB / 400 MB, free: 4.438 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002595/0.3121, allocations: 0.7713 MB / 400.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001798/0.3139, allocations: 2.144 MB / 402.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.268e-05/0.314, allocations: 42.73 kB / 402.9 MB, free: 2.215 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002267/0.3143, allocations: 317.5 kB / 403.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003113/0.3174, allocations: 2.115 MB / 405.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000796/0.3182, allocations: 0.6006 MB / 406 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.91e-07/0.3182, allocations: 4 kB / 406 MB, free: 0.957 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005314/0.3187, allocations: 362.6 kB / 406.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.392e-06/0.3187, allocations: 0.5 kB / 406.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0008133/0.3195, allocations: 0.5725 MB / 406.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.45e-05/0.3195, allocations: 8.125 kB / 406.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001975/0.3215, allocations: 1.525 MB / 408.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.003869/0.3254, allocations: 2.928 MB / 411.4 MB, free: 12.11 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: ............................. 6 (6) {clutch.phi_rel, clutch.w_relfric, inertia2.phi, inertia2.w, spring.phi_rel, spring.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (35) {clutch.free, clutch.startForward, clutch.startBackward, clutch.locked, clutch.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, $FUN_4, $FUN_8, $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_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: ........... 60 (scalar:60, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:85, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001291/0.3255, allocations: 55.12 kB / 411.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of SimCode: time 0.006612/0.3321, allocations: 2.781 MB / 414.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of Templates: time 0.01731/0.3494, allocations: 8.295 MB / 422.5 MB, free: 1.219 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.360256974003278] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'inertia3.phi', 'inertia3.w', 'spring.phi_rel', 'spring.w_rel', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward'] 0.3592486229608767 0.373302492 0.07879610100000001 Calling exit ...