Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001652/0.001652, 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.00191/0.00191, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.531e-05, allocations: 5.375 kB / 378.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003798/0.003824, allocations: 2.307 MB / 381.2 MB, free: 304 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.1815, allocations: 0.6211 MB / 381.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1817, allocations: 8.094 kB / 381.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1819, allocations: 40.64 kB / 381.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1821, allocations: 65.81 kB / 382 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1824, allocations: 81.72 kB / 382 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1828, allocations: 312.6 kB / 382.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.183, allocations: 67.05 kB / 382.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1833, allocations: 123.8 kB / 382.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1835, allocations: 107.9 kB / 382.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.1835, allocations: 22.31 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.1836, allocations: 34.64 kB / 382.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000387/0.184, allocations: 450.8 kB / 383.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000198/0.1842, allocations: 291.8 kB / 383.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1842, allocations: 22 kB / 383.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.146e-05/0.1843, allocations: 6.734 kB / 383.4 MB, free: 12.46 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: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.001191/0.1855, allocations: 1.104 MB / 384.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001594/0.1856, allocations: 139.1 kB / 384.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007013/0.1863, allocations: 0.6313 MB / 385.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002278/0.1866, allocations: 156.2 kB / 385.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002101/0.1887, allocations: 1.199 MB / 386.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001511/0.1888, allocations: 129.9 kB / 386.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.657e-05/0.1889, allocations: 73.28 kB / 386.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002237/0.1891, allocations: 166.8 kB / 387 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.148e-05/0.1892, allocations: 32.05 kB / 387.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002237/0.1894, allocations: 179.4 kB / 387.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007906/0.1902, allocations: 0.6467 MB / 387.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000302/0.1905, allocations: 321.6 kB / 388.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003739/0.1909, allocations: 292.5 kB / 388.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005321/0.1914, allocations: 0.5607 MB / 389 MB, free: 9.477 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.594e-05/0.1914, allocations: 15.84 kB / 389.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.231e-05/0.1915, allocations: 85.89 kB / 389.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0006979/0.1922, allocations: 452.2 kB / 389.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.336e-05/0.1922, allocations: 16.75 kB / 389.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.463e-06/0.1922, allocations: 1.125 kB / 389.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.582e-06/0.1922, allocations: 0 / 389.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.327e-06/0.1923, allocations: 19.44 kB / 389.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.022e-05/0.1923, allocations: 2.5 kB / 389.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004457/0.1927, allocations: 281.2 kB / 389.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003298/0.193, allocations: 447.8 kB / 390.3 MB, free: 8.766 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: ............... 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: ............................. 4 (4) {mass1.s, mass1.v, mass2.v, damper1.s_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: ........... 23 (scalar:23, 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: ........... 32 (scalar:32, 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 5.618e-05/0.1931, allocations: 38.81 kB / 390.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of SimCode: time 0.001342/0.1944, allocations: 0.843 MB / 391.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Templates: time 0.007643/0.2021, allocations: 1.689 MB / 392.9 MB, free: 8.055 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.400652557145804]