Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.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.001668/0.001668, 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.002047/0.002047, allocations: 206.8 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.418/1.418, 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.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.664e-05, allocations: 2.281 kB / 378.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.2231/0.2231, allocations: 2.881 MB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.2257, allocations: 1.307 MB / 383.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2258, allocations: 8.938 kB / 383.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.2263, allocations: 99.44 kB / 383.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.2265, allocations: 127.1 kB / 383.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.2274, allocations: 441.5 kB / 383.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.2282, allocations: 0.8823 MB / 384.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2284, allocations: 78.19 kB / 384.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.229, allocations: 387.2 kB / 385.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.2309, allocations: 1.468 MB / 386.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2311, allocations: 69.66 kB / 386.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.2314, allocations: 139.5 kB / 386.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008771/0.2322, allocations: 1.09 MB / 387.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003234/0.2326, allocations: 0.5287 MB / 388.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2327, allocations: 38.22 kB / 388.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.135e-05/0.2327, allocations: 18.53 kB / 388.5 MB, free: 11.08 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: 90 (89) * Number of variables: 90 (89) Notification: Performance of [SIM] Bindings: time 0.002319/0.235, allocations: 2.371 MB / 390.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005572/0.2356, allocations: 0.4948 MB / 391.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002155/0.2378, allocations: 2.159 MB / 393.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005334/0.2383, allocations: 391.1 kB / 393.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003027/0.2413, allocations: 2.336 MB / 396.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004095/0.2417, allocations: 348.4 kB / 396.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001885/0.2419, allocations: 196.9 kB / 396.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004727/0.2424, allocations: 0.534 MB / 397.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0006826/0.2431, allocations: 0.5636 MB / 397.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008738/0.2439, allocations: 0.8626 MB / 398.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003775/0.2477, allocations: 2.973 MB / 401.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001562/0.2493, allocations: 2.113 MB / 403.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002112/0.2514, allocations: 0.8376 MB / 404.6 MB, free: 1.25 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002724/0.2541, allocations: 3.052 MB / 407.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 9.053e-05/0.2542, allocations: 45.28 kB / 407.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004597/0.2547, allocations: 453.4 kB / 408.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.003141/0.2578, allocations: 2.175 MB / 410.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001262/0.2591, allocations: 0.8536 MB / 411.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.307e-06/0.2591, allocations: 4 kB / 411.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.255e-05/0.2591, allocations: 0 / 411.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.001092/0.2602, allocations: 0.6245 MB / 411.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.689e-05/0.2602, allocations: 4 kB / 411.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001762/0.262, allocations: 1.267 MB / 413.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002593/0.2645, allocations: 1.849 MB / 414.9 MB, free: 8.531 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: ............... 2 * 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) {stop1.s, stop1.v, stop2.s, stop2.v, mass.s, supportFriction.v_relfric} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 47 (47) {stop1.free, stop1.startForward, stop1.startBackward, stop1.locked, stop1.mode, stop1.stopped, stop2.free, stop2.startForward, stop2.startBackward, stop2.locked, stop2.mode, stop2.stopped, supportFriction.startForward, supportFriction.startBackward, supportFriction.locked, supportFriction.mode, $FUN_9, $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_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: ........... 54 (scalar:54, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:75, array:0, record:1) * 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: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001032/0.2647, allocations: 58.08 kB / 415 MB, free: 8.484 MB / 318.1 MB Notification: Performance of SimCode: time 0.007667/0.2723, allocations: 4.001 MB / 419 MB, free: 4.633 MB / 318.1 MB Notification: Performance of Templates: time 0.02132/0.2936, allocations: 12.1 MB / 431.1 MB, free: 8.555 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.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.26218256726861]