Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001936/0.001936, 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.002243/0.002243, allocations: 210.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.583/1.583, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 46.97 MB / 361.6 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.476e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003997/0.004021, allocations: 2.228 MB / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.00522, allocations: 0.639 MB / 0.5001 GB, free: 4.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.005305, allocations: 4 kB / 0.5001 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.005416, allocations: 39.58 kB / 0.5001 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.005595, allocations: 67.34 kB / 0.5002 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.00588, allocations: 95.81 kB / 0.5003 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.006289, allocations: 391.1 kB / 0.5006 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.006565, allocations: 107.8 kB / 0.5007 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.006839, allocations: 143.6 kB / 0.5009 GB, free: 3.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.007041, allocations: 155.4 kB / 0.501 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.007097, allocations: 36 kB / 0.5011 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.00719, allocations: 43.92 kB / 0.5011 GB, free: 3.371 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004842/0.007674, allocations: 0.5648 MB / 0.5017 GB, free: 2.801 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002326/0.007906, allocations: 347.4 kB / 0.502 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.007953, allocations: 28 kB / 0.502 GB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.718e-05/0.008, allocations: 8 kB / 0.502 GB, free: 2.422 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.001517/0.009518, allocations: 1.44 MB / 0.5034 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002089/0.009726, allocations: 187.7 kB / 0.5036 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.001115/0.01084, allocations: 0.9488 MB / 0.5045 GB, free: 15.68 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003564/0.0112, allocations: 228.1 kB / 0.5048 GB, free: 15.41 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002623/0.01382, allocations: 1.494 MB / 0.5062 GB, free: 13.74 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001992/0.01402, allocations: 130 kB / 0.5063 GB, free: 13.57 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 9.438e-05/0.01411, allocations: 72.34 kB / 0.5064 GB, free: 13.47 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.000214/0.01433, allocations: 169.5 kB / 0.5066 GB, free: 13.25 MB / 382.1 MB Notification: Performance of [SIM] Events: time 8.74e-05/0.01442, allocations: 33.22 kB / 0.5066 GB, free: 13.22 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.00033/0.01475, allocations: 211.6 kB / 0.5068 GB, free: 13 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0006936/0.01544, allocations: 470.1 kB / 0.5072 GB, free: 12.54 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003493/0.01579, allocations: 359.5 kB / 0.5076 GB, free: 12.19 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0006994/0.01649, allocations: 416.3 kB / 0.508 GB, free: 11.71 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.000715/0.0172, allocations: 0.7022 MB / 0.5087 GB, free: 11.01 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.253e-05/0.01725, allocations: 22.73 kB / 0.5087 GB, free: 10.98 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001183/0.01736, allocations: 107.9 kB / 0.5088 GB, free: 10.87 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001032/0.0184, allocations: 0.7101 MB / 0.5095 GB, free: 10.15 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 3.325e-05/0.01843, allocations: 24 kB / 0.5095 GB, free: 10.13 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.01843, allocations: 0 / 0.5095 GB, free: 10.13 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.806e-06/0.01844, allocations: 0 / 0.5095 GB, free: 10.13 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.126e-05/0.01845, allocations: 16 kB / 0.5095 GB, free: 10.11 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.068e-05/0.01846, allocations: 4 kB / 0.5095 GB, free: 10.11 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0005919/0.01905, allocations: 378.1 kB / 0.5099 GB, free: 9.738 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 9.608e-06/0.01906, allocations: 0 / 0.5099 GB, free: 9.738 MB / 382.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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 33 (scalar:33, 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: ........... 51 (scalar:51, 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 6.156e-05/0.01912, allocations: 44.5 kB / 0.5099 GB, free: 9.703 MB / 382.1 MB Notification: Performance of SimCode: time 0.001229/0.02035, allocations: 0.7215 MB / 0.5106 GB, free: 8.969 MB / 382.1 MB Notification: Performance of Templates: time 0.005737/0.02609, allocations: 2.055 MB / 0.5126 GB, free: 6.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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: 5.517985912971199]