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.001487/0.001487, allocations: 113.8 kB / 18.46 MB, free: 4.617 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.001674/0.001674, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.446/1.446, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2305/0.2305, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3996, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003566/0.4032, allocations: 2.353 MB / 0.5219 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4044, allocations: 0.6176 MB / 0.5225 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.4045, allocations: 9.281 kB / 0.5225 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.916e-05/0.4046, allocations: 42.78 kB / 0.5225 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.4048, allocations: 69.28 kB / 0.5226 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.405, allocations: 90.06 kB / 0.5227 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.4054, allocations: 343.3 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.4057, allocations: 156.1 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.4059, allocations: 133.3 kB / 0.5233 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.4061, allocations: 157.5 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.4062, allocations: 35.03 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.4062, allocations: 32.03 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.4063, allocations: 74.33 kB / 0.5236 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4064, allocations: 160.7 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.4069, allocations: 371.1 kB / 0.5241 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4069, allocations: 1.438 kB / 0.5241 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4069, allocations: 3.938 kB / 0.5241 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.4069, allocations: 0 / 0.5241 GB, free: 0.7109 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.0008863/0.4078, allocations: 0.5782 MB / 0.5246 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4078, allocations: 12.56 kB / 0.5246 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.4079, allocations: 32.5 kB / 0.5247 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.4081, allocations: 203.9 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.4081, allocations: 21.97 kB / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4082, allocations: 33.17 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.4088, allocations: 279.6 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4088, allocations: 2.031 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.4088, allocations: 10.56 kB / 0.5252 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4088, allocations: 9.125 kB / 0.5252 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.4093, allocations: 210.2 kB / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.4112, allocations: 1.01 MB / 0.5264 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.4113, allocations: 27.14 kB / 0.5264 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.4114, allocations: 31.89 kB / 0.5265 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.4114, allocations: 0 / 0.5265 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4114, allocations: 34.5 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.4114, allocations: 2 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.4117, allocations: 77.95 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4117, allocations: 52.75 kB / 0.5266 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.4121, allocations: 319.3 kB / 0.5269 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4121, allocations: 30.41 kB / 0.5269 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4123, allocations: 227.1 kB / 0.5272 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.4123, allocations: 11.8 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.4124, allocations: 55.23 kB / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4125, allocations: 336.4 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4127, allocations: 68.69 kB / 0.5276 GB, free: 14.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4128, allocations: 89.56 kB / 0.5277 GB, free: 14.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.413, allocations: 127.6 kB / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.413, allocations: 0 / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003681/0.4134, allocations: 235.3 kB / 0.528 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4134, allocations: 5.5 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4134, allocations: 0 / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4135, allocations: 6.688 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.4137, allocations: 59.83 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4138, allocations: 6.688 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.414, allocations: 45.17 kB / 0.5282 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.414, allocations: 6.875 kB / 0.5282 GB, free: 13.76 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.000105/0.4141, allocations: 126.1 kB / 0.5283 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.4142, allocations: 21.44 kB / 0.5283 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.4143, allocations: 27.66 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4143, allocations: 3.938 kB / 0.5283 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4143, allocations: 0 / 0.5283 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.4144, allocations: 110.2 kB / 0.5284 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4144, allocations: 5.375 kB / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4145, allocations: 0 / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.4146, allocations: 5.359 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002154/0.4148, allocations: 133.4 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001752/0.415, allocations: 239.1 kB / 0.5288 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.93e-05/0.415, allocations: 13.44 kB / 0.5288 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.4153, allocations: 227 kB / 0.529 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.4153, allocations: 0 / 0.529 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.4158, allocations: 178.4 kB / 0.5292 GB, free: 12.85 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009608/0.4168, allocations: 0.8152 MB / 0.53 GB, free: 12.12 MB / 398.1 MB Notification: Performance of Templates: time 0.005725/0.4225, allocations: 2.545 MB / 0.5325 GB, free: 10.83 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/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