Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 112.6 kB / 21.86 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 187.3 kB / 25.12 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 225.6 MB / 253.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1777/0.1777, allocations: 44.91 MB / 353.9 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.284e-05, allocations: 6.219 kB / 498 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.004327/0.004339, allocations: 3.931 MB / 0.4902 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.006118, allocations: 1.251 MB / 0.4914 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.006286, allocations: 15.88 kB / 0.4914 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.006542, allocations: 114.9 kB / 0.4915 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.006863, allocations: 206.2 kB / 0.4917 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.007429, allocations: 347.4 kB / 0.492 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.008391, allocations: 1.128 MB / 0.4931 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.008585, allocations: 119 kB / 0.4932 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.009044, allocations: 462.6 kB / 0.4937 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.009519, allocations: 486.2 kB / 0.4941 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.009624, allocations: 80 kB / 0.4942 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.009819, allocations: 139.9 kB / 0.4944 GB, free: 8.914 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001073/0.01089, allocations: 1.532 MB / 0.4959 GB, free: 7.367 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005066/0.0114, allocations: 0.8712 MB / 0.4967 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.01152, allocations: 127.6 kB / 0.4968 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.805e-05/0.01159, allocations: 39.84 kB / 0.4969 GB, free: 6.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 (151) * Number of variables: 151 (151) Notification: Performance of Bindings: time 0.002731/0.01432, allocations: 3.342 MB / 0.5001 GB, free: 2.809 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0006348/0.01496, allocations: 0.6013 MB / 0.5007 GB, free: 2.18 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001914/0.01687, allocations: 2.194 MB / 0.5029 GB, free: 15.94 MB / 382.1 MB Notification: Performance of Simplify 1: time 0.0004882/0.01736, allocations: 392.5 kB / 0.5032 GB, free: 15.49 MB / 382.1 MB Notification: Performance of Alias: time 0.003562/0.02092, allocations: 3.165 MB / 0.5063 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Simplify 2: time 0.0003465/0.02127, allocations: 288.2 kB / 0.5066 GB, free: 11.64 MB / 382.1 MB Notification: Performance of Remove Stream: time 0.0001957/0.02146, allocations: 208.1 kB / 0.5068 GB, free: 11.41 MB / 382.1 MB Notification: Performance of Detect States: time 0.0006859/0.02215, allocations: 0.6666 MB / 0.5074 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Events: time 0.0006279/0.02278, allocations: 478.9 kB / 0.5079 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0008085/0.02359, allocations: 0.7678 MB / 0.5087 GB, free: 9.445 MB / 382.1 MB Notification: Performance of Causalize: time 0.008245/0.03183, allocations: 7.198 MB / 0.5157 GB, free: 1.883 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.1494/0.1812, allocations: 2.049 MB / 0.5177 GB, free: 34.37 MB / 382.1 MB Notification: Performance of Simplify: time 0.001627/0.1828, allocations: 0.8502 MB / 0.5185 GB, free: 34.11 MB / 382.1 MB Notification: Performance of Inline: time 0.002787/0.1856, allocations: 2.757 MB / 0.5212 GB, free: 34.09 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001172/0.1857, allocations: 64.11 kB / 0.5213 GB, free: 34.05 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0006606/0.1864, allocations: 476.6 kB / 0.5217 GB, free: 34.05 MB / 382.1 MB Notification: Performance of Causalize: time 0.00481/0.1912, allocations: 3.528 MB / 0.5252 GB, free: 33.61 MB / 382.1 MB Notification: Performance of Tearing: time 0.001585/0.1928, allocations: 1.932 MB / 0.5271 GB, free: 32.39 MB / 382.1 MB Notification: Performance of Initialization: time 1.653e-06/0.1928, allocations: 0 / 0.5271 GB, free: 32.39 MB / 382.1 MB Notification: Performance of Remove Dummies: time 1.441e-05/0.1928, allocations: 4.875 kB / 0.5271 GB, free: 32.39 MB / 382.1 MB Notification: Performance of Tearing: time 0.001413/0.1942, allocations: 1.651 MB / 0.5287 GB, free: 31.21 MB / 382.1 MB Notification: Performance of Categorize: time 1.704e-05/0.1942, allocations: 7.25 kB / 0.5287 GB, free: 31.21 MB / 382.1 MB Notification: Performance of Solve: time 0.001231/0.1955, allocations: 0.9779 MB / 0.5296 GB, free: 30.8 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0009635/0.1964, allocations: 1.309 MB / 0.5309 GB, free: 29.77 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: ................. 60 (60) {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_2, $FUN_4, $FUN_6, $FUN_10, $FUN_12, $FUN_14, $FUN_17, $FUN_19, $FUN_21, $FUN_24, $FUN_26, $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: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:11) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 105 (scalar:105, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:11) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 7.989e-05/0.1965, allocations: 73.88 kB / 0.531 GB, free: 29.72 MB / 382.1 MB Notification: Performance of SimCode: time 0.003287/0.1998, allocations: 3.771 MB / 0.5347 GB, free: 27.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01548/0.2153, allocations: 11.87 MB / 0.5463 GB, free: 22.69 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.67710589338094]