Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.001722/0.001722, 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.002383/0.002383, allocations: 211 kB / 24.55 MB, free: 3.824 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.61/1.61, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.OneWayClutchDisengaged,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.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,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.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.416e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.005076/0.0051, allocations: 2.236 MB / 381.3 MB, free: 232 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2683/0.2734, allocations: 0.8044 MB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2736, allocations: 7.125 kB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.2739, allocations: 51.25 kB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.2742, allocations: 109.4 kB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2746, allocations: 85.48 kB / 382.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007447/0.2753, allocations: 315 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.2756, allocations: 52.95 kB / 382.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.2761, allocations: 135.3 kB / 382.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.2765, allocations: 114 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.2766, allocations: 20.44 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.277, allocations: 80.69 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007009/0.2777, allocations: 474.1 kB / 383.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002699/0.2779, allocations: 274.8 kB / 383.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.278, allocations: 20.34 kB / 383.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.119e-05/0.2781, allocations: 11.3 kB / 383.8 MB, free: 12.5 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: 46 (46) * Number of variables: 46 (46) Notification: Performance of [SIM] Bindings: time 0.001474/0.2796, allocations: 1.107 MB / 384.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002207/0.2798, allocations: 156 kB / 385 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007095/0.2805, allocations: 0.6177 MB / 385.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002187/0.2807, allocations: 136.1 kB / 385.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001554/0.2823, allocations: 0.8739 MB / 386.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001891/0.2825, allocations: 106.9 kB / 386.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001022/0.2826, allocations: 77.47 kB / 386.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004545/0.283, allocations: 210.7 kB / 387.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002347/0.2833, allocations: 91.14 kB / 387.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004552/0.2837, allocations: 224 kB / 387.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002239/0.286, allocations: 1.521 MB / 388.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003615/0.2863, allocations: 415.5 kB / 389.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001569/0.2879, allocations: 423.8 kB / 389.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007623/0.2887, allocations: 0.7454 MB / 390.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.58e-05/0.2887, allocations: 22.17 kB / 390.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001081/0.2888, allocations: 113.5 kB / 390.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001217/0.29, allocations: 0.8576 MB / 391.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002425/0.2903, allocations: 170.4 kB / 391.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.62e-07/0.2903, allocations: 4 kB / 391.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002088/0.2905, allocations: 156.5 kB / 391.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.19e-06/0.2905, allocations: 4.234 kB / 391.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001812/0.2907, allocations: 151.2 kB / 391.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.376e-06/0.2907, allocations: 5.312 kB / 391.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007924/0.2915, allocations: 0.5805 MB / 392.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009314/0.2924, allocations: 1.186 MB / 393.7 MB, free: 7.328 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.w, oneWayClutch.phi_rel, oneWayClutch.w_rel, torqueLoad.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {oneWayClutch.startForward, oneWayClutch.locked, oneWayClutch.stuck, oneWayClutch.free, $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: ........... 27 (scalar:27, 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: ........... 44 (scalar:44, 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 6.198e-05/0.2925, allocations: 46.61 kB / 393.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of SimCode: time 0.003591/0.2961, allocations: 1.516 MB / 395.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of Templates: time 0.008932/0.305, allocations: 3.498 MB / 398.8 MB, free: 5.629 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.070451534993481] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaIn.phi', 'inertiaIn.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel'] 0.3135409509995952 0.32691262000000004 0.045524359 Calling exit ...