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.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.001403/0.001403, allocations: 108.2 kB / 21.24 MB, free: 0.5664 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.001556/0.001556, allocations: 213 kB / 24.54 MB, free: 3.848 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.2144/0.2144, allocations: 44.94 MB / 359.7 MB, free: 6.027 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.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.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 2.147e-05/2.147e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005857/0.005878, allocations: 3.759 MB / 0.4979 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.009033, allocations: 1.434 MB / 0.4993 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.009569, allocations: 15.88 kB / 0.4993 GB, free: 4.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.01009, allocations: 130.8 kB / 0.4995 GB, free: 4.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008897/0.01098, allocations: 293.9 kB / 0.4998 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.0119, allocations: 355.4 kB / 0.5001 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.01351, allocations: 1.241 MB / 0.5013 GB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.01386, allocations: 115.2 kB / 0.5014 GB, free: 2.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.01478, allocations: 0.5102 MB / 0.5019 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.01549, allocations: 478.1 kB / 0.5024 GB, free: 1.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.01562, allocations: 80 kB / 0.5024 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.01589, allocations: 144 kB / 0.5026 GB, free: 1.5 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001467/0.01736, allocations: 1.688 MB / 0.5042 GB, free: 15.8 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000653/0.01801, allocations: 0.9483 MB / 0.5052 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.01814, allocations: 64 kB / 0.5052 GB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001159/0.01825, allocations: 35.91 kB / 0.5052 GB, free: 14.74 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.003478/0.02173, allocations: 3.622 MB / 0.5088 GB, free: 10.93 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007766/0.02251, allocations: 0.6587 MB / 0.5094 GB, free: 10.27 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002686/0.02519, allocations: 2.67 MB / 0.512 GB, free: 7.555 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006207/0.02581, allocations: 392.9 kB / 0.5124 GB, free: 7.098 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004019/0.02983, allocations: 2.899 MB / 0.5152 GB, free: 3.883 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004537/0.03029, allocations: 308.6 kB / 0.5155 GB, free: 3.531 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002516/0.03054, allocations: 224 kB / 0.5157 GB, free: 3.285 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0009114/0.03145, allocations: 0.6985 MB / 0.5164 GB, free: 2.512 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0009397/0.03239, allocations: 0.5734 MB / 0.517 GB, free: 1.965 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001277/0.03367, allocations: 1.078 MB / 0.518 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.2156/0.2492, allocations: 7.199 MB / 0.5251 GB, free: 26.1 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002051/0.2513, allocations: 2.245 MB / 0.5273 GB, free: 26.1 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.003811/0.2551, allocations: 1.129 MB / 0.5284 GB, free: 25.76 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003796/0.2589, allocations: 3.545 MB / 0.5318 GB, free: 23.99 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0002342/0.2591, allocations: 64.73 kB / 0.5319 GB, free: 23.95 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0006879/0.2598, allocations: 0.5076 MB / 0.5324 GB, free: 23.64 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.005447/0.2653, allocations: 3.472 MB / 0.5358 GB, free: 22.87 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.001827/0.2671, allocations: 1.508 MB / 0.5373 GB, free: 22.49 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.683e-06/0.2671, allocations: 3.969 kB / 0.5373 GB, free: 22.49 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.132e-05/0.2671, allocations: 1.844 kB / 0.5373 GB, free: 22.49 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001117/0.2682, allocations: 0.7311 MB / 0.538 GB, free: 22.31 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.205e-05/0.2683, allocations: 8.844 kB / 0.538 GB, free: 22.31 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001722/0.27, allocations: 1.342 MB / 0.5393 GB, free: 21.88 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.003552/0.2735, allocations: 4.321 MB / 0.5435 GB, free: 18.66 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:130, 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: Performance of backend: time 8.753e-05/0.2736, allocations: 81.95 kB / 0.5436 GB, free: 18.61 MB / 382.1 MB Notification: Performance of SimCode: time 0.005935/0.2796, allocations: 4.459 MB / 0.5479 GB, free: 15.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01922/0.2988, allocations: 13.89 MB / 0.5615 GB, free: 2.875 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: 5.814122817944735]