Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.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.001439/0.001439, 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.001584/0.001584, allocations: 215.5 kB / 24.5 MB, free: 3.93 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.842e-05, allocations: 2.281 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004142/0.00417, allocations: 2.472 MB / 381.4 MB, free: 28 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.216/0.2202, allocations: 0.6943 MB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.2204, allocations: 9.75 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.2206, allocations: 52.16 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2209, allocations: 108.4 kB / 382.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.2213, allocations: 93.28 kB / 382.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.2218, allocations: 434.5 kB / 382.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.222, allocations: 89.44 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.2223, allocations: 144.2 kB / 383 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.2225, allocations: 169 kB / 383.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.2226, allocations: 30.34 kB / 383.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.2227, allocations: 30.19 kB / 383.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006452/0.2233, allocations: 0.6467 MB / 383.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002894/0.2236, allocations: 409.1 kB / 384.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.2237, allocations: 35.41 kB / 384.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.409e-05/0.2238, allocations: 12.69 kB / 384.3 MB, free: 12.23 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: 72 (72) * Number of variables: 72 (72) Notification: Performance of [SIM] Bindings: time 0.00201/0.2258, allocations: 1.55 MB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005058/0.2263, allocations: 212.4 kB / 386.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001064/0.2274, allocations: 0.7878 MB / 386.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004425/0.2278, allocations: 215.6 kB / 387.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003216/0.231, allocations: 1.46 MB / 388.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002678/0.2313, allocations: 199.8 kB / 388.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001015/0.2314, allocations: 98.83 kB / 388.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003785/0.2318, allocations: 264.1 kB / 389.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001044/0.2319, allocations: 38.75 kB / 389.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004216/0.2323, allocations: 309.4 kB / 389.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002095/0.2344, allocations: 1.422 MB / 390.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006036/0.235, allocations: 0.5597 MB / 391.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001054/0.236, allocations: 0.5759 MB / 392 MB, free: 8.328 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009116/0.237, allocations: 0.9176 MB / 392.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.163e-05/0.237, allocations: 28.77 kB / 392.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001421/0.2371, allocations: 158.8 kB / 393.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001471/0.2386, allocations: 1.014 MB / 394.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.157e-05/0.2386, allocations: 32.38 kB / 394.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.01e-07/0.2386, allocations: 4 kB / 394.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.175e-05/0.2387, allocations: 1.281 kB / 394.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.353e-05/0.2387, allocations: 23.16 kB / 394.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.121e-05/0.2387, allocations: 2 kB / 394.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009477/0.2396, allocations: 0.6349 MB / 394.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004441/0.2401, allocations: 394.2 kB / 395.2 MB, free: 7 MB / 302.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: ............................. 4 (4) {springDamper2.s_rel, mass1.v, elastoGap2.s_rel, mass2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {elastoGap1.contact, elastoGap2.contact, $SEV_1, $SEV_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: ........... 47 (scalar:47, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002096/0.2403, allocations: 36.45 kB / 395.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of SimCode: time 0.002482/0.2428, allocations: 1.172 MB / 396.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of Templates: time 0.006899/0.2497, allocations: 3.059 MB / 399.4 MB, free: 5.215 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.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.572049538139254]