Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.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.001517/0.001517, 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.001667/0.001667, allocations: 218.7 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.136e-05, allocations: 2.281 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.1835/0.1835, allocations: 2.963 MB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1854, allocations: 1.082 MB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1856, allocations: 9.438 kB / 383 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1859, allocations: 89.11 kB / 383.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1863, allocations: 188.4 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.1868, allocations: 205 kB / 383.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.1875, allocations: 0.7475 MB / 384.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1877, allocations: 93.16 kB / 384.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.1881, allocations: 319.9 kB / 384.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.1885, allocations: 322.1 kB / 384.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1886, allocations: 50.78 kB / 385 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1888, allocations: 112.3 kB / 385.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007162/0.1895, allocations: 1.033 MB / 386.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002236/0.1898, allocations: 0.5773 MB / 386.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.1898, allocations: 40.03 kB / 386.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.805e-05/0.1899, allocations: 25.17 kB / 386.8 MB, free: 11.38 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: 102 (100) * Number of variables: 102 (100) Notification: Performance of [SIM] Bindings: time 0.002379/0.1923, allocations: 2.299 MB / 389.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005899/0.1929, allocations: 396.8 kB / 389.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002021/0.1949, allocations: 1.647 MB / 391.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005322/0.1954, allocations: 295.1 kB / 391.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003345/0.1988, allocations: 1.869 MB / 393.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003734/0.1991, allocations: 233 kB / 393.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001767/0.1993, allocations: 141.3 kB / 393.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006362/0.2, allocations: 447.8 kB / 394 MB, free: 6.738 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000529/0.2005, allocations: 299.3 kB / 394.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008945/0.2014, allocations: 0.6217 MB / 395 MB, free: 6.312 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005118/0.2065, allocations: 3.555 MB / 398.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001334/0.2078, allocations: 1.335 MB / 399.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002622/0.2105, allocations: 0.8116 MB / 400.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002151/0.2126, allocations: 2.145 MB / 402.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.000112/0.2127, allocations: 43.61 kB / 402.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000253/0.213, allocations: 320.8 kB / 403.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004119/0.2171, allocations: 2.131 MB / 405.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0009979/0.2181, allocations: 0.6112 MB / 405.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.152e-06/0.2181, allocations: 0 / 405.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.742e-05/0.2181, allocations: 1.531 kB / 405.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0009827/0.2191, allocations: 0.5483 MB / 406.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.619e-05/0.2191, allocations: 4.125 kB / 406.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001416/0.2205, allocations: 0.855 MB / 407.3 MB, free: 228 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.002335/0.2229, allocations: 1.466 MB / 408.8 MB, free: 14.76 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: ............................. 6 (6) {clutch.phi_rel, clutch.w_relfric, inertia2.phi, inertia2.w, spring.phi_rel, spring.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (35) {clutch.free, clutch.startForward, clutch.startBackward, clutch.locked, clutch.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, $FUN_4, $FUN_8, $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_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: ........... 60 (scalar:60, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:83, array:0, record:2) * 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001055/0.223, allocations: 65.34 kB / 408.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of SimCode: time 0.007368/0.2303, allocations: 2.892 MB / 411.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of Templates: time 0.01825/0.2486, allocations: 8.863 MB / 420.6 MB, free: 3.203 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,inertia3.phi,inertia3.w,spring.phi_rel,spring.w_rel,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.cgeo,brake.fn_max,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi_support,brake.smoothness,brake.startBackward,brake.startForward,brake.support.phi,brake.w_small,clutch.cgeo,clutch.f_normalized,clutch.fn_max,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.smoothness,clutch.startBackward,clutch.startForward,clutch.w_rel,clutch.w_relfric,clutch.w_small,const.k,const.y,fixed.flange.phi,fixed.phi0,inertia1.J,inertia1.flange_b.tau,inertia2.J,inertia3.J,inertia3.phi,inertia3.w,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,spring.c,spring.d,spring.phi_nominal,spring.phi_rel,spring.phi_rel0,spring.w_rel,startTime,step.height,step.offset,step.startTime,step2.height,step2.offset,step2.startTime,time,torque.phi_support,torque.support.phi [Calling sys.exit(0), Time elapsed: 5.006151407957077]