Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001436/0.001436, 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.001454/0.001454, allocations: 208.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.438/1.438, 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.047e-05, allocations: 7.625 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.1727/0.1727, allocations: 2.661 MB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1755, allocations: 1.132 MB / 382.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.1758, allocations: 11.38 kB / 382.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1776, allocations: 0.579 MB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.1782, allocations: 141.6 kB / 383.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1796, allocations: 0.6034 MB / 384.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.1803, allocations: 382.9 kB / 384.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.1808, allocations: 219.6 kB / 384.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1812, allocations: 148.2 kB / 384.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.1816, allocations: 187.9 kB / 385 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.1816, allocations: 25.28 kB / 385 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.1822, allocations: 182.9 kB / 385.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006475/0.1828, allocations: 0.6709 MB / 385.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003486/0.1832, allocations: 474.8 kB / 386.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1833, allocations: 29.56 kB / 386.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.937e-05/0.1834, allocations: 8.938 kB / 386.3 MB, free: 11.6 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: 81 (65) * Number of variables: 81 (81) Notification: Performance of [SIM] Bindings: time 0.002089/0.1854, allocations: 2.107 MB / 388.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003484/0.1858, allocations: 230.4 kB / 388.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001762/0.1876, allocations: 1.462 MB / 390.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003819/0.1879, allocations: 222.9 kB / 390.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000939/0.1889, allocations: 0.7318 MB / 391.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002391/0.1891, allocations: 232.9 kB / 391.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001137/0.1892, allocations: 141 kB / 391.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003078/0.1895, allocations: 312.3 kB / 391.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.589e-05/0.1896, allocations: 32.56 kB / 391.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000547/0.1901, allocations: 469.7 kB / 392.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.009508/0.1997, allocations: 2.745 MB / 395 MB, free: 6.555 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008157/0.2005, allocations: 0.8476 MB / 395.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009366/0.2014, allocations: 480.6 kB / 396.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00165/0.2031, allocations: 1.524 MB / 397.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.967e-05/0.2031, allocations: 36.56 kB / 397.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002066/0.2033, allocations: 229 kB / 398.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002178/0.2055, allocations: 1.642 MB / 399.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002427/0.2058, allocations: 191.6 kB / 399.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.001e-06/0.2058, allocations: 0 / 399.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.919e-06/0.2058, allocations: 5.562 kB / 399.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001969/0.206, allocations: 188.4 kB / 400.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.415e-05/0.206, allocations: 4.469 kB / 400.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009398/0.2069, allocations: 0.7157 MB / 400.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001558/0.2085, allocations: 1.338 MB / 402.2 MB, free: 2.766 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * 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: ............................. 1 (1) {constantSource.port_p.reference.gamma} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.859e-05/0.2085, allocations: 44.89 kB / 402.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of SimCode: time 0.003051/0.2116, allocations: 2.262 MB / 404.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of Templates: time 0.01541/0.227, allocations: 6.648 MB / 411.1 MB, free: 12.65 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.565228885039687]