Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.001983/0.001983, allocations: 95.66 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.002347/0.002347, 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.639/1.639, allocations: 230.7 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.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.667e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.005542/0.005569, allocations: 2.186 MB / 381.2 MB, free: 284 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2505/0.256, allocations: 0.8171 MB / 382 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.2562, allocations: 6.094 kB / 382.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.2566, allocations: 54.16 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.257, allocations: 110 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.2573, allocations: 92.52 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.2578, allocations: 334.6 kB / 382.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.258, allocations: 43.44 kB / 382.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.2583, allocations: 134.9 kB / 382.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2586, allocations: 127.5 kB / 382.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.2587, allocations: 21 kB / 382.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.2589, allocations: 87.48 kB / 383 MB, free: 12.34 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004314/0.2593, allocations: 482.3 kB / 383.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002222/0.2595, allocations: 274.1 kB / 383.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.2596, allocations: 22.59 kB / 383.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.197e-05/0.2597, allocations: 17.7 kB / 383.8 MB, free: 11.96 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: 43 (43) * Number of variables: 43 (43) Notification: Performance of [SIM] Bindings: time 0.00152/0.2612, allocations: 1.14 MB / 385 MB, free: 11.35 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002711/0.2614, allocations: 155.3 kB / 385.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001077/0.2625, allocations: 0.7006 MB / 385.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002867/0.2628, allocations: 156.8 kB / 386 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001622/0.2644, allocations: 0.8416 MB / 386.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001856/0.2646, allocations: 139.6 kB / 386.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001058/0.2647, allocations: 98.62 kB / 387 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003985/0.2651, allocations: 254.1 kB / 387.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002484/0.2654, allocations: 111.8 kB / 387.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004555/0.2658, allocations: 271.4 kB / 387.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002391/0.2682, allocations: 1.613 MB / 389.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006534/0.2689, allocations: 0.5291 MB / 389.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001944/0.2708, allocations: 426 kB / 390.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001182/0.272, allocations: 0.8567 MB / 391.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.255e-05/0.2721, allocations: 21.39 kB / 391.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000176/0.2722, allocations: 133.5 kB / 391.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001917/0.2741, allocations: 0.8931 MB / 392.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003848/0.2745, allocations: 155.8 kB / 392.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.164e-06/0.2745, allocations: 1.375 kB / 392.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003498/0.2749, allocations: 143.9 kB / 392.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.913e-06/0.2749, allocations: 1.375 kB / 392.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002516/0.2751, allocations: 149.5 kB / 392.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.024e-05/0.2751, allocations: 1.906 kB / 392.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009377/0.2761, allocations: 0.5897 MB / 393.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001102/0.2772, allocations: 1.184 MB / 394.3 MB, free: 6.887 MB / 302.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: ............................. 4 (4) {inertiaOut.phi, inertiaOut.w, oneWayClutch.phi_rel, oneWayClutch.w_rel} * Number of discrete states: .................... 2 (2) {signalEngagement.T_start, signalEngagement.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 14 (14) {oneWayClutch.startForward, oneWayClutch.locked, oneWayClutch.stuck, oneWayClutch.free, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 41 (scalar:41, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 7.095e-05/0.2773, allocations: 56.72 kB / 394.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of SimCode: time 0.004015/0.2813, allocations: 1.507 MB / 395.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of Templates: time 0.009702/0.291, allocations: 3.83 MB / 399.7 MB, free: 4.883 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.128908435988706] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaIn.phi', 'inertiaIn.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel'] 0.299482136964798 0.31383833199999994 0.050549453 Calling exit ...