Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.001972/0.001972, 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.001669/0.001669, allocations: 209.2 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.165e-05, allocations: 2.281 kB / 378.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003409/0.003431, allocations: 1.93 MB / 380.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1815/0.1849, allocations: 0.6468 MB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1851, allocations: 2.688 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1852, allocations: 16.55 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.1853, allocations: 43.02 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1855, allocations: 50.36 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1857, allocations: 172.1 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1859, allocations: 30.06 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.186, allocations: 54.14 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.186, allocations: 61.17 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1861, allocations: 10.62 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.1861, allocations: 25.89 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001714/0.1863, allocations: 238.6 kB / 382.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.074e-05/0.1864, allocations: 149.6 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1864, allocations: 12.84 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.586e-05/0.1864, allocations: 6.609 kB / 382.3 MB, free: 12.8 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: 25 (25) * Number of variables: 25 (25) Notification: Performance of [SIM] Bindings: time 0.001519/0.188, allocations: 0.6598 MB / 383 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.597e-05/0.188, allocations: 82.56 kB / 383.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003781/0.1884, allocations: 367.8 kB / 383.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001305/0.1885, allocations: 122.6 kB / 383.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008263/0.1894, allocations: 0.5667 MB / 384.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.751e-05/0.1895, allocations: 104.9 kB / 384.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.492e-05/0.1895, allocations: 60.45 kB / 384.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001605/0.1897, allocations: 128.2 kB / 384.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.81e-05/0.1897, allocations: 39.19 kB / 384.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001398/0.1899, allocations: 102.8 kB / 384.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0005675/0.1904, allocations: 499.9 kB / 385 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001575/0.1906, allocations: 176.7 kB / 385.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002367/0.1908, allocations: 202.3 kB / 385.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002909/0.1911, allocations: 314.9 kB / 385.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.192e-05/0.1911, allocations: 29.7 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.455e-05/0.1912, allocations: 43.52 kB / 385.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003458/0.1915, allocations: 263.5 kB / 386.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.371e-05/0.1915, allocations: 10.72 kB / 386.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.1915, allocations: 0 / 386.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.197e-06/0.1916, allocations: 1.375 kB / 386.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.835e-06/0.1916, allocations: 9.406 kB / 386.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.494e-06/0.1916, allocations: 5.188 kB / 386.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002228/0.1918, allocations: 156.3 kB / 386.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001679/0.192, allocations: 241 kB / 386.5 MB, free: 10.76 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: ............................. 3 (3) {inertia.phi, inertia.w, eddyCurrentTorque.TheatPort} * 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: ........... 14 (scalar:14, 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: ........... 17 (scalar:17, 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 3.569e-05/0.192, allocations: 26.73 kB / 386.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007285/0.1927, allocations: 0.4902 MB / 387 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Templates: time 0.02662/0.2193, allocations: 1.068 MB / 388.1 MB, free: 10.34 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.434599011205137]