Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.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.001367/0.001367, 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.001616/0.001616, allocations: 205.2 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.587/1.587, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2647/0.2647, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.141e-05/4.141e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.008131/0.008173, allocations: 3.74 MB / 0.5009 GB, free: 3.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.01253, allocations: 1.446 MB / 0.5023 GB, free: 2.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.01313, allocations: 15.88 kB / 0.5023 GB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.01373, allocations: 130.8 kB / 0.5025 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01475, allocations: 289.9 kB / 0.5027 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.01602, allocations: 363.4 kB / 0.5031 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.01826, allocations: 1.237 MB / 0.5043 GB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.01876, allocations: 123.2 kB / 0.5044 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.02022, allocations: 0.5219 MB / 0.5049 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.02145, allocations: 0.5099 MB / 0.5054 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.02188, allocations: 80 kB / 0.5055 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006936/0.02257, allocations: 140 kB / 0.5056 GB, free: 14.67 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002434/0.025, allocations: 1.688 MB / 0.5073 GB, free: 12.96 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00116/0.02616, allocations: 0.9444 MB / 0.5082 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.02643, allocations: 68 kB / 0.5083 GB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000208/0.02664, allocations: 39.84 kB / 0.5083 GB, free: 11.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 (153) * Number of variables: 156 (153) Notification: Performance of [SIM] Bindings: time 0.005373/0.03201, allocations: 3.62 MB / 0.5118 GB, free: 8.094 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001206/0.03322, allocations: 0.6519 MB / 0.5125 GB, free: 7.438 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.00473/0.03795, allocations: 2.677 MB / 0.5151 GB, free: 4.719 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001069/0.03902, allocations: 432.8 kB / 0.5155 GB, free: 4.223 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.006548/0.04557, allocations: 2.945 MB / 0.5184 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008389/0.0464, allocations: 332.1 kB / 0.5187 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004213/0.04683, allocations: 228 kB / 0.5189 GB, free: 344 kB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.3071/0.354, allocations: 0.6971 MB / 0.5196 GB, free: 26.52 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.001068/0.355, allocations: 0.5802 MB / 0.5202 GB, free: 26.41 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001557/0.3566, allocations: 1.069 MB / 0.5212 GB, free: 26.32 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01089/0.3675, allocations: 7.184 MB / 0.5282 GB, free: 23.97 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00291/0.3704, allocations: 2.245 MB / 0.5304 GB, free: 23.45 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004267/0.3747, allocations: 1.178 MB / 0.5316 GB, free: 22.83 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.00397/0.3786, allocations: 3.543 MB / 0.535 GB, free: 20.96 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0001846/0.3788, allocations: 64.3 kB / 0.5351 GB, free: 20.92 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.000611/0.3794, allocations: 0.5178 MB / 0.5356 GB, free: 20.61 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.00533/0.3848, allocations: 3.517 MB / 0.539 GB, free: 19.79 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.002032/0.3868, allocations: 1.505 MB / 0.5405 GB, free: 19.36 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.044e-06/0.3868, allocations: 1.344 kB / 0.5405 GB, free: 19.36 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.387e-05/0.3868, allocations: 480 / 0.5405 GB, free: 19.36 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001222/0.388, allocations: 0.7376 MB / 0.5412 GB, free: 19.16 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.515e-05/0.3881, allocations: 6.922 kB / 0.5412 GB, free: 19.16 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001742/0.3898, allocations: 1.404 MB / 0.5426 GB, free: 18.64 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.00249/0.3923, allocations: 2.922 MB / 0.5455 GB, free: 16.44 MB / 382.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: ............... 4 * 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: ............................. 12 (12) {bearingFriction.phi, bearingFriction.w_relfric, brake.phi, brake.w_relfric, inertia2.phi, inertia2.w, clutch.phi_rel, clutch.w_relfric, inertia4.phi, inertia4.w, oneWayClutch.phi_rel, oneWayClutch.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 63 (63) {bearingFriction.startForward, bearingFriction.startBackward, bearingFriction.locked, bearingFriction.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, clutch.free, clutch.startForward, clutch.startBackward, clutch.locked, clutch.mode, oneWayClutch.startForward, oneWayClutch.locked, oneWayClutch.stuck, oneWayClutch.free, $FUN_7, $FUN_11, $FUN_15, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $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_6, $TEV_5, $TEV_4, $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: ........... 98 (scalar:98, 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: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 130 (scalar:126, array:0, record:4) * 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: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 9.724e-05/0.3924, allocations: 70.59 kB / 0.5455 GB, free: 16.39 MB / 382.1 MB Notification: Performance of SimCode: time 0.006367/0.3988, allocations: 4.461 MB / 0.5499 GB, free: 13.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01946/0.4182, allocations: 14.11 MB / 0.5637 GB, free: 15.41 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.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: 6.599420292768627]