Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001779/0.001779, 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.002338/0.002338, allocations: 204.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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.412e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004244/0.004268, allocations: 2.311 MB / 381.2 MB, free: 216 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1798/0.1841, allocations: 0.5849 MB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1842, allocations: 7.094 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1844, allocations: 44.88 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1846, allocations: 84.14 kB / 381.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1847, allocations: 57.36 kB / 382 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.1851, allocations: 342.7 kB / 382.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1852, allocations: 77.02 kB / 382.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1854, allocations: 114.8 kB / 382.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1855, allocations: 122.4 kB / 382.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.1856, allocations: 28.16 kB / 382.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.1856, allocations: 23.41 kB / 382.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003197/0.1859, allocations: 0.4915 MB / 383.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001337/0.1861, allocations: 316.2 kB / 383.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1861, allocations: 26.38 kB / 383.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-05/0.1862, allocations: 10.8 kB / 383.5 MB, free: 12.45 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: 63 (63) * Number of variables: 63 (63) Notification: Performance of [SIM] Bindings: time 0.0009991/0.1872, allocations: 1.23 MB / 384.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001251/0.1873, allocations: 141 kB / 384.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005122/0.1878, allocations: 0.6128 MB / 385.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002398/0.188, allocations: 171.7 kB / 385.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001654/0.1897, allocations: 1.167 MB / 386.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001378/0.1898, allocations: 127.4 kB / 387 MB, free: 10.67 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.119e-05/0.1899, allocations: 76.12 kB / 387 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002282/0.1901, allocations: 199.8 kB / 387.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.349e-05/0.1902, allocations: 31.95 kB / 387.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002189/0.1904, allocations: 177.9 kB / 387.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001451/0.1919, allocations: 1.314 MB / 388.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002684/0.1921, allocations: 314.5 kB / 389.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004191/0.1925, allocations: 297.4 kB / 389.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004665/0.193, allocations: 0.5045 MB / 389.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.13e-05/0.193, allocations: 23.97 kB / 389.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.93e-05/0.1931, allocations: 94.78 kB / 390 MB, free: 8.949 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0008161/0.1939, allocations: 0.5926 MB / 390.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.967e-05/0.1939, allocations: 18.19 kB / 390.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.1939, allocations: 0 / 390.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.542e-06/0.194, allocations: 5.406 kB / 390.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.585e-06/0.194, allocations: 16.53 kB / 390.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.843e-06/0.194, allocations: 1.594 kB / 390.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004043/0.1944, allocations: 295.3 kB / 390.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002654/0.1946, allocations: 317.2 kB / 391.2 MB, free: 8.434 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: ............................. 6 (6) {shaft.phi, shaft.w, load.phi, load.w, springDamper.phi_rel, springDamper.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 31 (scalar:31, 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: ........... 41 (scalar:41, 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 4.814e-05/0.1947, allocations: 50.52 kB / 391.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009769/0.1957, allocations: 0.8423 MB / 392.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of Templates: time 0.004702/0.2004, allocations: 1.617 MB / 393.7 MB, free: 7.758 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.4439743109978735]