Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.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.001727/0.001727, 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.001916/0.001916, allocations: 223 kB / 24.56 MB, free: 3.816 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.666/1.666, allocations: 230.5 MB / 258.2 MB, free: 7.715 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.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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.257e-05/4.257e-05, allocations: 4.812 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.278/0.278, allocations: 2.959 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.2819, allocations: 1.084 MB / 383.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.2821, allocations: 10.06 kB / 383.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.2826, allocations: 83.52 kB / 383.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.2832, allocations: 190.7 kB / 383.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.2838, allocations: 212.6 kB / 383.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2848, allocations: 0.7429 MB / 384.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.2851, allocations: 86.58 kB / 384.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.2857, allocations: 322 kB / 384.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.2862, allocations: 289.7 kB / 385 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.2863, allocations: 52.84 kB / 385 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.2867, allocations: 104.2 kB / 385.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001177/0.2879, allocations: 1.036 MB / 386.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004048/0.2883, allocations: 0.5807 MB / 386.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2884, allocations: 40.62 kB / 386.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.78e-05/0.2885, allocations: 23.83 kB / 386.8 MB, free: 11.21 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.002785/0.2912, allocations: 2.303 MB / 389.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006691/0.2919, allocations: 399.1 kB / 389.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002207/0.2941, allocations: 1.656 MB / 391.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004815/0.2946, allocations: 256.3 kB / 391.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003108/0.2977, allocations: 1.944 MB / 393.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00033/0.298, allocations: 211.4 kB / 393.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001694/0.2982, allocations: 140.9 kB / 393.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005934/0.2988, allocations: 440.2 kB / 394.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004883/0.2993, allocations: 313.6 kB / 394.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008547/0.3002, allocations: 0.6204 MB / 395.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.006242/0.3064, allocations: 3.575 MB / 398.6 MB, free: 4.941 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001645/0.308, allocations: 1.34 MB / 400 MB, free: 4.258 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002758/0.3108, allocations: 0.7435 MB / 400.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001926/0.3127, allocations: 2.148 MB / 402.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.833e-05/0.3128, allocations: 47.19 kB / 402.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002306/0.313, allocations: 316.9 kB / 403.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003165/0.3162, allocations: 2.112 MB / 405.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0008387/0.317, allocations: 0.5962 MB / 405.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.583e-06/0.317, allocations: 0 / 405.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005371/0.3176, allocations: 365 kB / 406.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.055e-06/0.3176, allocations: 4.5 kB / 406.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0008245/0.3184, allocations: 0.5679 MB / 406.9 MB, free: 384 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.329e-05/0.3184, allocations: 8.125 kB / 406.9 MB, free: 380 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002084/0.3205, allocations: 1.531 MB / 408.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.004234/0.3247, allocations: 2.948 MB / 411.4 MB, free: 11.89 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.0001147/0.3249, allocations: 43.48 kB / 411.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of SimCode: time 0.007203/0.3321, allocations: 2.742 MB / 414.1 MB, free: 9.258 MB / 318.1 MB Notification: Performance of Templates: time 0.01682/0.3489, allocations: 8.31 MB / 422.5 MB, free: 0.9805 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.330055695027113] 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.3582013390259817 0.37398871899999997 0.08209545900000001 Calling exit ...