Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 185 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 44.91 MB / 352.3 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.06e-05, allocations: 2.281 kB / 495.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003297/0.003318, allocations: 2.376 MB / 498.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000954/0.004272, allocations: 0.6272 MB / 498.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.004353, allocations: 4 kB / 498.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.706e-05/0.00444, allocations: 39.59 kB / 499 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.004609, allocations: 71.33 kB / 499 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.004826, allocations: 95.86 kB / 499.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.005195, allocations: 379.2 kB / 499.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.005404, allocations: 107.5 kB / 499.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.005618, allocations: 139.5 kB / 499.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.005801, allocations: 155.3 kB / 499.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.005856, allocations: 36 kB / 499.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.005903, allocations: 32 kB / 500 MB, free: 13.88 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003968/0.0063, allocations: 0.5066 MB / 0.4887 GB, free: 13.37 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001855/0.006485, allocations: 299.7 kB / 0.489 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.006546, allocations: 55.81 kB / 0.4891 GB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.553e-05/0.006571, allocations: 4 kB / 0.4891 GB, free: 13.02 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 Bindings: time 0.001137/0.007708, allocations: 1.208 MB / 0.4903 GB, free: 11.68 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001876/0.007896, allocations: 150.6 kB / 0.4904 GB, free: 11.54 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0006235/0.008519, allocations: 0.5931 MB / 0.491 GB, free: 10.92 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.00017/0.008689, allocations: 147.6 kB / 0.4911 GB, free: 10.75 MB / 366.1 MB Notification: Performance of Alias: time 0.001981/0.01067, allocations: 1.469 MB / 0.4926 GB, free: 9.102 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001101/0.01078, allocations: 99.72 kB / 0.4927 GB, free: 8.977 MB / 366.1 MB Notification: Performance of Remove Stream: time 8.34e-05/0.01086, allocations: 83.77 kB / 0.4927 GB, free: 8.867 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001752/0.01104, allocations: 129.1 kB / 0.4929 GB, free: 8.703 MB / 366.1 MB Notification: Performance of Events: time 6.356e-05/0.0111, allocations: 39.91 kB / 0.4929 GB, free: 8.664 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002159/0.01132, allocations: 192 kB / 0.4931 GB, free: 8.469 MB / 366.1 MB Notification: Performance of Causalize: time 0.0008257/0.01214, allocations: 0.6794 MB / 0.4937 GB, free: 7.781 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002501/0.01239, allocations: 243.8 kB / 0.494 GB, free: 7.543 MB / 366.1 MB Notification: Performance of Simplify: time 0.0004209/0.01281, allocations: 361.5 kB / 0.4943 GB, free: 7.141 MB / 366.1 MB Notification: Performance of Inline: time 0.0004617/0.01328, allocations: 443.3 kB / 0.4947 GB, free: 6.699 MB / 366.1 MB Notification: Performance of Partitioning: time 3.917e-05/0.01332, allocations: 22.36 kB / 0.4948 GB, free: 6.672 MB / 366.1 MB Notification: Performance of Cleanup: time 9.468e-05/0.01341, allocations: 111.9 kB / 0.4949 GB, free: 6.562 MB / 366.1 MB Notification: Performance of Causalize: time 0.001195/0.01461, allocations: 0.9523 MB / 0.4958 GB, free: 5.602 MB / 366.1 MB Notification: Performance of Tearing: time 9.037e-06/0.01461, allocations: 0 / 0.4958 GB, free: 5.602 MB / 366.1 MB Notification: Performance of Initialization: time 3.7e-07/0.01461, allocations: 0 / 0.4958 GB, free: 5.602 MB / 366.1 MB Notification: Performance of Remove Dummies: time 7.103e-06/0.01462, allocations: 4 kB / 0.4958 GB, free: 5.598 MB / 366.1 MB Notification: Performance of Tearing: time 1.894e-06/0.01462, allocations: 4 kB / 0.4958 GB, free: 5.594 MB / 366.1 MB Notification: Performance of Categorize: time 6.272e-06/0.01463, allocations: 0 / 0.4958 GB, free: 5.594 MB / 366.1 MB Notification: Performance of Solve: time 0.0002566/0.01489, allocations: 178.1 kB / 0.496 GB, free: 5.422 MB / 366.1 MB Notification: Performance of Jacobian: time 3.436e-06/0.01489, allocations: 0 / 0.496 GB, free: 5.422 MB / 366.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: ........... 37 (scalar:37, 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: ........... 55 (scalar:55, 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.277e-05/0.01493, allocations: 29.92 kB / 0.496 GB, free: 5.395 MB / 366.1 MB Notification: Performance of SimCode: time 0.001003/0.01594, allocations: 1.323 MB / 0.4973 GB, free: 4.047 MB / 366.1 MB Notification: Performance of Templates: time 0.00484/0.02078, allocations: 1.859 MB / 0.4991 GB, free: 2.188 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.1851672967895865]