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.001369/0.001369, allocations: 113.4 kB / 18.45 MB, free: 4.602 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.001376/0.001376, allocations: 185.1 kB / 19.38 MB, free: 3.684 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.263/1.263, 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.1956/0.1956, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003122/0.322, allocations: 2.349 MB / 0.5219 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.3229, allocations: 0.6228 MB / 0.5225 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.323, allocations: 8.375 kB / 0.5225 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.3231, allocations: 41.92 kB / 0.5225 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.3233, allocations: 69.92 kB / 0.5226 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3235, allocations: 86.17 kB / 0.5227 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.3238, allocations: 342.9 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.3241, allocations: 156.9 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3243, allocations: 140.9 kB / 0.5233 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3245, allocations: 154.5 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3245, allocations: 32.34 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.3246, allocations: 33.56 kB / 0.5235 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.3247, allocations: 70.27 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3248, allocations: 156.9 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3252, allocations: 380.1 kB / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3252, allocations: 0 / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3252, allocations: 1.031 kB / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3252, allocations: 0 / 0.5241 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.0008093/0.326, allocations: 0.5782 MB / 0.5246 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.326, allocations: 12.84 kB / 0.5246 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.3261, allocations: 31.22 kB / 0.5247 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3263, allocations: 201.3 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.3263, allocations: 22.41 kB / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.3264, allocations: 32.25 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.3269, allocations: 284.5 kB / 0.5252 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3269, allocations: 3.938 kB / 0.5252 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.327, allocations: 16.34 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.327, allocations: 6.594 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.3274, allocations: 211.9 kB / 0.5254 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3291, allocations: 1.007 MB / 0.5264 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.3292, allocations: 31.17 kB / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.3293, allocations: 26.83 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.3293, allocations: 0 / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3293, allocations: 31.66 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3293, allocations: 1.062 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.3295, allocations: 81.97 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3296, allocations: 53.28 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.33, allocations: 319.5 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.33, allocations: 25.7 kB / 0.5269 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3301, allocations: 233.5 kB / 0.5272 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.3302, allocations: 11 kB / 0.5272 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.3303, allocations: 57.66 kB / 0.5272 GB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3304, allocations: 335.2 kB / 0.5275 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3305, allocations: 63.34 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3307, allocations: 97.73 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3309, allocations: 120.3 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3309, allocations: 1.375 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003631/0.3313, allocations: 229.9 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3313, allocations: 12.19 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3313, allocations: 5.312 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3313, allocations: 1.375 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3316, allocations: 63.77 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3317, allocations: 2.75 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3319, allocations: 37.16 kB / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3319, allocations: 6.875 kB / 0.5282 GB, free: 13.74 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.0001212/0.3321, allocations: 135.4 kB / 0.5283 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.3321, allocations: 20.06 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.3322, allocations: 31.66 kB / 0.5283 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3322, allocations: 0 / 0.5283 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3322, allocations: 1.375 kB / 0.5283 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3322, allocations: 0 / 0.5283 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.3328, allocations: 0.5181 MB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3328, allocations: 0 / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3329, allocations: 2.75 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3329, allocations: 5.438 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3329, allocations: 1.375 kB / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3329, allocations: 3.938 kB / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3329, allocations: 1.375 kB / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.333, allocations: 99.67 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.3332, allocations: 106.3 kB / 0.5291 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3332, allocations: 4.031 kB / 0.5291 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3333, allocations: 1.375 kB / 0.5291 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.3333, allocations: 1.375 kB / 0.5291 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3333, allocations: 1.375 kB / 0.5291 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.3336, allocations: 223.4 kB / 0.5293 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3336, allocations: 3.938 kB / 0.5293 GB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3339, allocations: 64.78 kB / 0.5293 GB, free: 12.67 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.965e-05/0.334, allocations: 95.69 kB / 0.5294 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3342, allocations: 120.2 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3342, allocations: 1.312 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.3343, allocations: 13.03 kB / 0.5296 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3346, allocations: 30.91 kB / 0.5296 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.3353, allocations: 389.2 kB / 0.53 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3356, allocations: 0.7458 MB / 0.5307 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3357, allocations: 19.38 kB / 0.5307 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3357, allocations: 0 / 0.5307 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.005047/0.3407, allocations: 2.727 MB / 0.5334 GB, free: 10.03 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