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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 112.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009866/0.0009868, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 55.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4853, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003472/0.4888, allocations: 2.356 MB / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.4897, allocations: 0.6153 MB / 0.5218 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.4898, allocations: 7.969 kB / 0.5218 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.957e-05/0.4899, allocations: 38.92 kB / 0.5218 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.4901, allocations: 69.02 kB / 0.5219 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.4904, allocations: 89.94 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.4907, allocations: 347.5 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.4911, allocations: 153.2 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.4913, allocations: 132.8 kB / 0.5226 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.4915, allocations: 154.5 kB / 0.5227 GB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.4916, allocations: 36.38 kB / 0.5228 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.4917, allocations: 33.03 kB / 0.5228 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.4917, allocations: 81.48 kB / 0.5229 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.4919, allocations: 153.4 kB / 0.523 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.4924, allocations: 375.6 kB / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4924, allocations: 0 / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4924, allocations: 0 / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4924, allocations: 0 / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008772/0.4933, allocations: 0.5812 MB / 0.524 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4933, allocations: 13.77 kB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.4934, allocations: 32.75 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.4936, allocations: 207.4 kB / 0.5242 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.4936, allocations: 26.16 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.4937, allocations: 37.27 kB / 0.5243 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.4943, allocations: 280 kB / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4943, allocations: 0 / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.4943, allocations: 14.84 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4943, allocations: 7.25 kB / 0.5246 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.4948, allocations: 220.9 kB / 0.5248 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.4966, allocations: 1.011 MB / 0.5258 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.4967, allocations: 31.53 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.4968, allocations: 22.36 kB / 0.5258 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4968, allocations: 4.781 kB / 0.5258 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4968, allocations: 39.91 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.4968, allocations: 0 / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002315/0.4971, allocations: 75.64 kB / 0.5259 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4971, allocations: 51.41 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.4976, allocations: 320.6 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4976, allocations: 25.7 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.4978, allocations: 247.5 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.4978, allocations: 10.16 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4979, allocations: 58.12 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4981, allocations: 333.6 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4982, allocations: 64.06 kB / 0.527 GB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4984, allocations: 93.2 kB / 0.5271 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.4986, allocations: 132.6 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4987, allocations: 0 / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003868/0.499, allocations: 231.4 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4991, allocations: 5.5 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4991, allocations: 3.938 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4991, allocations: 2.75 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.4994, allocations: 51.83 kB / 0.5275 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4994, allocations: 6.688 kB / 0.5275 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4996, allocations: 37.3 kB / 0.5275 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4997, allocations: 9.531 kB / 0.5275 GB, free: 13.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.4998, allocations: 135.5 kB / 0.5277 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.4998, allocations: 25.47 kB / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.4999, allocations: 27.67 kB / 0.5277 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4999, allocations: 3.984 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4999, allocations: 1.375 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4999, allocations: 3.938 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.5005, allocations: 0.5027 MB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5006, allocations: 0 / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.5006, allocations: 6.688 kB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5006, allocations: 1.375 kB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5006, allocations: 1.375 kB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5006, allocations: 0 / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5006, allocations: 5.359 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.5008, allocations: 111.8 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.5009, allocations: 102.5 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.5009, allocations: 4 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.501, allocations: 1.375 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.501, allocations: 1.375 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.5011, allocations: 1.375 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.5013, allocations: 223.9 kB / 0.5286 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5013, allocations: 7.969 kB / 0.5287 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.5016, allocations: 63.27 kB / 0.5287 GB, free: 12.65 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.679e-05/0.5017, allocations: 100.6 kB / 0.5288 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.502, allocations: 113.9 kB / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.502, allocations: 0 / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.502, allocations: 9.562 kB / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.5023, allocations: 26.3 kB / 0.529 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.503, allocations: 377.1 kB / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.5035, allocations: 0.7459 MB / 0.53 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.5036, allocations: 23.75 kB / 0.5301 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.5036, allocations: 20.42 kB / 0.5301 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5036, allocations: 1.375 kB / 0.5301 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.00471/0.5084, allocations: 1.784 MB / 0.5318 GB, free: 10.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (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) 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) Reference file matches