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.001321/0.001321, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001364/0.001364, allocations: 210.8 kB / 24.49 MB, free: 3.961 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.33e-05/2.33e-05, allocations: 6.219 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003792/0.003815, allocations: 2.186 MB / 381.1 MB, free: 336 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1913/0.1951, allocations: 0.8266 MB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1952, allocations: 5.719 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1955, allocations: 48.5 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1958, allocations: 112.2 kB / 382.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1962, allocations: 91.98 kB / 382.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1966, allocations: 332.8 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.1968, allocations: 43.73 kB / 382.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.1971, allocations: 144.2 kB / 382.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1973, allocations: 132.3 kB / 382.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.1974, allocations: 24.22 kB / 382.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1976, allocations: 83.72 kB / 382.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004218/0.198, allocations: 482.6 kB / 383.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001653/0.1981, allocations: 276.2 kB / 383.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.1982, allocations: 19.22 kB / 383.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.702e-05/0.1982, allocations: 7.906 kB / 383.7 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: 43 (43) * Number of variables: 43 (43) Notification: Performance of [SIM] Bindings: time 0.001464/0.1997, allocations: 1.154 MB / 384.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002576/0.2, allocations: 144.9 kB / 385 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009029/0.2009, allocations: 0.6952 MB / 385.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000283/0.2012, allocations: 173.2 kB / 385.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001406/0.2026, allocations: 0.8188 MB / 386.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002232/0.2028, allocations: 139 kB / 386.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001205/0.2029, allocations: 94.73 kB / 386.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004347/0.2033, allocations: 266 kB / 387.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002528/0.2036, allocations: 118.7 kB / 387.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003763/0.204, allocations: 257.6 kB / 387.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002284/0.2063, allocations: 1.606 MB / 389.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005408/0.2068, allocations: 0.5284 MB / 389.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001657/0.2084, allocations: 448.5 kB / 390.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008951/0.2093, allocations: 0.854 MB / 390.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.496e-05/0.2094, allocations: 22.75 kB / 391 MB, free: 8.695 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001285/0.2095, allocations: 140.4 kB / 391.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001383/0.2109, allocations: 0.8831 MB / 392 MB, free: 8.422 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002438/0.2111, allocations: 159.9 kB / 392.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.312e-06/0.2111, allocations: 1.375 kB / 392.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.642e-06/0.2111, allocations: 0 / 392.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001968/0.2113, allocations: 145.1 kB / 392.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.225e-06/0.2113, allocations: 1.75 kB / 392.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004846/0.2118, allocations: 343.8 kB / 392.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005279/0.2124, allocations: 0.6288 MB / 393.3 MB, free: 7.695 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:40, array:0, record:1) * 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 5.171e-05/0.2124, allocations: 44.33 kB / 393.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of SimCode: time 0.003521/0.2159, allocations: 1.49 MB / 394.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of Templates: time 0.00856/0.2245, allocations: 3.81 MB / 398.6 MB, free: 5.793 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] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6093085701577365]