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.001489/0.001489, 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.001455/0.001455, allocations: 204.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.789 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.433e-05/2.433e-05, allocations: 6.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003744/0.003768, allocations: 2.23 MB / 381.1 MB, free: 296 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1906/0.1943, allocations: 0.8104 MB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1945, allocations: 6.25 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.1948, allocations: 53.67 kB / 382 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1951, allocations: 106 kB / 382.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1953, allocations: 84.78 kB / 382.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.1957, allocations: 317.9 kB / 382.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1959, allocations: 59.55 kB / 382.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1961, allocations: 133.4 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1963, allocations: 123.6 kB / 382.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.1964, allocations: 20.81 kB / 382.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1966, allocations: 82.05 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003536/0.1969, allocations: 471.7 kB / 383.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001553/0.1971, allocations: 276.1 kB / 383.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.1971, allocations: 22.84 kB / 383.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.476e-05/0.1972, allocations: 15.19 kB / 383.7 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.001109/0.1983, allocations: 1.091 MB / 384.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000196/0.1985, allocations: 153 kB / 384.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006619/0.1991, allocations: 0.6177 MB / 385.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001981/0.1993, allocations: 156.3 kB / 385.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001837/0.2012, allocations: 0.8363 MB / 386.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001262/0.2013, allocations: 115.9 kB / 386.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.795e-05/0.2014, allocations: 80.11 kB / 386.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002925/0.2016, allocations: 205.1 kB / 386.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001662/0.2018, allocations: 97.95 kB / 387 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002954/0.2021, allocations: 216.8 kB / 387.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001903/0.204, allocations: 1.508 MB / 388.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003968/0.2044, allocations: 417.9 kB / 389.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001603/0.206, allocations: 438.9 kB / 389.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007246/0.2067, allocations: 0.753 MB / 390.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.936e-05/0.2068, allocations: 30.12 kB / 390.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.931e-05/0.2069, allocations: 110 kB / 390.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001225/0.2081, allocations: 0.8672 MB / 391.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002449/0.2083, allocations: 167.3 kB / 391.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.503e-06/0.2083, allocations: 1.375 kB / 391.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.881e-06/0.2084, allocations: 240 / 391.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001891/0.2085, allocations: 138.2 kB / 391.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.738e-06/0.2085, allocations: 2.031 kB / 391.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004968/0.209, allocations: 328 kB / 392 MB, free: 8.453 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007369/0.2098, allocations: 0.619 MB / 392.6 MB, free: 7.93 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:43, array:0, record:1) * 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 5.99e-05/0.2098, allocations: 43.16 kB / 392.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of SimCode: time 0.003887/0.2137, allocations: 1.474 MB / 394.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of Templates: time 0.04678/0.2605, allocations: 3.466 MB / 397.6 MB, free: 6.406 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] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.622190251946449]