Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.001585/0.001585, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.001575/0.001575, allocations: 215.3 kB / 24.55 MB, free: 3.719 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.588/1.588, allocations: 230.5 MB / 258.2 MB, free: 7.719 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.OneWayClutchDisengaged,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.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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.815e-05/3.815e-05, allocations: 2.281 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.005377/0.005416, allocations: 2.223 MB / 381.3 MB, free: 204 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2693/0.2747, allocations: 0.8108 MB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2749, allocations: 5.938 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.2752, allocations: 53.59 kB / 382.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.2755, allocations: 112.8 kB / 382.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.2758, allocations: 80.64 kB / 382.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.2762, allocations: 321.6 kB / 382.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2764, allocations: 52.48 kB / 382.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.2767, allocations: 132.1 kB / 382.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2769, allocations: 111.6 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.277, allocations: 24.38 kB / 382.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.2772, allocations: 82.08 kB / 383 MB, free: 12.83 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004267/0.2776, allocations: 473.9 kB / 383.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001989/0.2778, allocations: 273.9 kB / 383.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.2778, allocations: 20.19 kB / 383.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.743e-05/0.2779, allocations: 14.03 kB / 383.8 MB, free: 12.45 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.00122/0.2791, allocations: 1.113 MB / 384.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002114/0.2793, allocations: 145.7 kB / 385 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007319/0.2801, allocations: 0.6202 MB / 385.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002421/0.2803, allocations: 134.7 kB / 385.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001629/0.2819, allocations: 0.8738 MB / 386.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001571/0.2821, allocations: 103 kB / 386.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.904e-05/0.2822, allocations: 76.83 kB / 386.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003138/0.2825, allocations: 225.9 kB / 387.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000162/0.2826, allocations: 83.78 kB / 387.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003176/0.2829, allocations: 218.6 kB / 387.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002194/0.2851, allocations: 1.518 MB / 388.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004525/0.2856, allocations: 424.6 kB / 389.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001797/0.2874, allocations: 427.1 kB / 389.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008565/0.2882, allocations: 0.7374 MB / 390.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.603e-05/0.2883, allocations: 24.33 kB / 390.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000114/0.2884, allocations: 111.4 kB / 390.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001384/0.2898, allocations: 0.8641 MB / 391.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002955/0.2901, allocations: 166.7 kB / 391.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.2901, allocations: 0 / 391.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002487/0.2903, allocations: 151.2 kB / 391.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.192e-06/0.2903, allocations: 240 / 391.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002117/0.2906, allocations: 154.1 kB / 391.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.329e-05/0.2906, allocations: 2.875 kB / 391.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008747/0.2914, allocations: 0.583 MB / 392.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001331/0.2928, allocations: 1.187 MB / 393.7 MB, free: 7.254 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 7.162e-05/0.2928, allocations: 35.47 kB / 393.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of SimCode: time 0.005087/0.2979, allocations: 1.506 MB / 395.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of Templates: time 0.0119/0.3098, allocations: 3.506 MB / 398.7 MB, free: 5.508 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.110128957021516] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaIn.phi', 'inertiaIn.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel'] 0.31913286697817966 0.332631644 0.051520133 Calling exit ...