Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.00163/0.00163, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001821/0.001821, allocations: 221.1 kB / 24.5 MB, free: 3.926 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.299e-05, allocations: 3.828 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.1725/0.1725, allocations: 2.992 MB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1749, allocations: 1.208 MB / 383.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1751, allocations: 9.188 kB / 383.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1754, allocations: 97.14 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.1759, allocations: 228.2 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1764, allocations: 279.2 kB / 383.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.1772, allocations: 0.9487 MB / 384.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1775, allocations: 108.8 kB / 384.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.178, allocations: 414.1 kB / 385.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.1785, allocations: 404.5 kB / 385.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.1787, allocations: 62.97 kB / 385.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.179, allocations: 126.1 kB / 385.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008637/0.1798, allocations: 1.264 MB / 387 MB, free: 11.3 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000311/0.1801, allocations: 0.6935 MB / 387.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.1802, allocations: 46.75 kB / 387.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.917e-05/0.1803, allocations: 27.08 kB / 387.8 MB, free: 10.81 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: 112 (109) * Number of variables: 112 (109) Notification: Performance of [SIM] Bindings: time 0.002121/0.1824, allocations: 2.712 MB / 390.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005294/0.1829, allocations: 0.5162 MB / 391 MB, free: 8.719 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.00186/0.1848, allocations: 2.057 MB / 393.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004185/0.1852, allocations: 333.2 kB / 393.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002499/0.1877, allocations: 2.127 MB / 395.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003249/0.188, allocations: 285.6 kB / 395.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001612/0.1882, allocations: 187.6 kB / 396 MB, free: 5.75 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006089/0.1888, allocations: 0.5552 MB / 396.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0006065/0.1894, allocations: 478.1 kB / 397 MB, free: 5.078 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008681/0.1903, allocations: 0.8241 MB / 397.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005456/0.1957, allocations: 4.469 MB / 402.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001282/0.197, allocations: 1.825 MB / 404.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002676/0.1997, allocations: 0.9819 MB / 405.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002259/0.202, allocations: 2.881 MB / 408 MB, free: 14.79 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001043/0.2021, allocations: 52.59 kB / 408 MB, free: 14.75 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0003653/0.2024, allocations: 420.4 kB / 408.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.003783/0.2062, allocations: 2.815 MB / 411.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0008807/0.2071, allocations: 0.6468 MB / 411.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.223e-06/0.2071, allocations: 0 / 411.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.018e-05/0.2071, allocations: 0.6562 kB / 411.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0008614/0.208, allocations: 0.5869 MB / 412.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.35e-05/0.208, allocations: 7.938 kB / 412.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001419/0.2094, allocations: 1.097 MB / 413.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002115/0.2115, allocations: 1.64 MB / 415.3 MB, free: 8.238 MB / 318.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: ............................. 8 (8) {clutch1.phi_rel, clutch1.w_relfric, J2.w, clutch2.phi_rel, clutch3.phi_rel, clutch3.w_relfric, J4.phi, J4.w} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 52 (52) {clutch1.free, clutch1.startForward, clutch1.startBackward, clutch1.locked, clutch1.mode, clutch2.free, clutch2.startForward, clutch2.startBackward, clutch2.locked, clutch2.mode, clutch3.free, clutch3.startForward, clutch3.startBackward, clutch3.locked, clutch3.mode, $FUN_4, $FUN_8, $FUN_12, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $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: ........... 70 (scalar:70, 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: ........... 99 (scalar:96, array:0, record:3) * 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.729e-05/0.2116, allocations: 55.05 kB / 415.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of SimCode: time 0.006154/0.2177, allocations: 3.614 MB / 418.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01873/0.2365, allocations: 11.68 MB / 430.6 MB, free: 9.156 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel,clutch1.mode,clutch1.startBackward,clutch1.startForward,clutch2.mode,clutch2.startBackward,clutch2.startForward,clutch3.mode,clutch3.startBackward,clutch3.startForward Variables in the result:J1.J,J1.phi,J1.w,J2.J,J3.J,J4.J,J4.flange_b.tau,T2,T3,clutch1.cgeo,clutch1.fn_max,clutch1.mode,clutch1.mu0,clutch1.mu_pos[1,1],clutch1.mu_pos[1,2],clutch1.peak,clutch1.phi_nominal,clutch1.phi_rel,clutch1.smoothness,clutch1.startBackward,clutch1.startForward,clutch1.w_rel,clutch1.w_relfric,clutch1.w_small,clutch2.cgeo,clutch2.fn_max,clutch2.mode,clutch2.mu0,clutch2.mu_pos[1,1],clutch2.mu_pos[1,2],clutch2.peak,clutch2.phi_nominal,clutch2.phi_rel,clutch2.smoothness,clutch2.startBackward,clutch2.startForward,clutch2.w_rel,clutch2.w_relfric,clutch2.w_small,clutch3.cgeo,clutch3.fn_max,clutch3.mode,clutch3.mu0,clutch3.mu_pos[1,1],clutch3.mu_pos[1,2],clutch3.peak,clutch3.phi_nominal,clutch3.phi_rel,clutch3.smoothness,clutch3.startBackward,clutch3.startForward,clutch3.w_rel,clutch3.w_relfric,clutch3.w_small,f,fixed.flange.phi,fixed.phi0,sin1.amplitude,sin1.continuous,sin1.f,sin1.offset,sin1.phase,sin1.startTime,sin2.amplitude,sin2.continuous,sin2.f,sin2.offset,sin2.phase,sin2.startTime,step1.height,step1.offset,step1.startTime,step2.height,step2.offset,step2.startTime,time,torque.phi_support,torque.support.phi [Calling sys.exit(0), Time elapsed: 5.429658945184201]