Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.001575/0.001575, 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.002092/0.002092, 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.642/1.642, allocations: 230.5 MB / 258.2 MB, free: 7.723 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.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/3.795e-05, allocations: 4.109 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.005943/0.005981, allocations: 2.191 MB / 381.2 MB, free: 92 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2685/0.2745, allocations: 0.8191 MB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2747, allocations: 9.672 kB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.275, allocations: 51.11 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.2753, allocations: 110.5 kB / 382.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2756, allocations: 88.94 kB / 382.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.2761, allocations: 332.7 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2762, allocations: 41.28 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.2765, allocations: 143.5 kB / 382.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2767, allocations: 122.1 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.2768, allocations: 24.67 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.277, allocations: 89 kB / 383 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004355/0.2774, allocations: 483.5 kB / 383.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001668/0.2776, allocations: 277.1 kB / 383.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.2776, allocations: 20.47 kB / 383.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.332e-05/0.2777, allocations: 9.844 kB / 383.8 MB, free: 12.46 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.001324/0.279, allocations: 1.143 MB / 384.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002145/0.2792, allocations: 159.4 kB / 385.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008022/0.28, allocations: 0.693 MB / 385.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002281/0.2803, allocations: 155.5 kB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001387/0.2816, allocations: 0.854 MB / 386.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001809/0.2818, allocations: 134.8 kB / 386.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.702e-05/0.2819, allocations: 102.3 kB / 387 MB, free: 10.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003314/0.2823, allocations: 256 kB / 387.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001963/0.2825, allocations: 101.4 kB / 387.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003526/0.2828, allocations: 265 kB / 387.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002289/0.2851, allocations: 1.621 MB / 389.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005941/0.2857, allocations: 0.5303 MB / 389.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001706/0.2874, allocations: 410 kB / 390.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000941/0.2883, allocations: 0.862 MB / 391 MB, free: 8.652 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.487e-05/0.2884, allocations: 21.31 kB / 391.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001432/0.2885, allocations: 133.5 kB / 391.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001436/0.29, allocations: 0.891 MB / 392.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002657/0.2902, allocations: 166.7 kB / 392.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.2902, allocations: 1.375 kB / 392.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002265/0.2905, allocations: 143.7 kB / 392.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.692e-06/0.2905, allocations: 1.375 kB / 392.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002168/0.2907, allocations: 166 kB / 392.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.083e-05/0.2907, allocations: 1.375 kB / 392.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009331/0.2916, allocations: 0.5808 MB / 393.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001048/0.2927, allocations: 1.171 MB / 394.3 MB, free: 7.008 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 6.792e-05/0.2927, allocations: 45 kB / 394.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of SimCode: time 0.004168/0.2969, allocations: 1.501 MB / 395.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of Templates: time 0.009436/0.3063, allocations: 3.84 MB / 399.7 MB, free: 4.867 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.200945892021991] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaIn.phi', 'inertiaIn.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel'] 0.31590999400941655 0.32851421299999994 0.047693908 Calling exit ...