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.001273/0.001273, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001335/0.001335, allocations: 186.4 kB / 24.51 MB, free: 4.035 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.556/1.556, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
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.2626/0.2626, allocations: 44.91 MB / 353.5 MB, free: 11.91 MB / 286.1 MB
"
[Timeout remaining time 179]
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 - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 497.7 MB, free: 1.027 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004327/0.4298, allocations: 2.382 MB / 0.5511 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001396/0.4312, allocations: 0.635 MB / 0.5518 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.4313, allocations: 4.219 kB / 0.5518 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.4314, allocations: 40.95 kB / 0.5518 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.4316, allocations: 69.98 kB / 0.5519 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.432, allocations: 88.58 kB / 0.552 GB, free: 10.59 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004995/0.4325, allocations: 341.3 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.4329, allocations: 121.7 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.4332, allocations: 138.9 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.4335, allocations: 156.8 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.969e-05/0.4336, allocations: 32.62 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.4336, allocations: 34.19 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.4337, allocations: 75.62 kB / 0.5528 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.4339, allocations: 159 kB / 0.553 GB, free: 9.938 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000605/0.4346, allocations: 377.5 kB / 0.5533 GB, free: 9.656 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.4346, allocations: 0 / 0.5533 GB, free: 9.656 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.595e-06/0.4346, allocations: 0 / 0.5533 GB, free: 9.656 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.608e-06/0.4346, allocations: 7.938 kB / 0.5533 GB, free: 9.648 MB / 398.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.001322/0.4359, allocations: 0.5 MB / 0.5538 GB, free: 9.227 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.436, allocations: 14.64 kB / 0.5538 GB, free: 9.223 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.4361, allocations: 31.88 kB / 0.5539 GB, free: 9.207 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4363, allocations: 153 kB / 0.554 GB, free: 9.047 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.4364, allocations: 25.97 kB / 0.554 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.4364, allocations: 36.34 kB / 0.5541 GB, free: 9.016 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.4371, allocations: 278.2 kB / 0.5543 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4371, allocations: 0 / 0.5543 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.4371, allocations: 14.66 kB / 0.5544 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4372, allocations: 8.281 kB / 0.5544 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.4377, allocations: 218.5 kB / 0.5546 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.4395, allocations: 0.9612 MB / 0.5555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.4396, allocations: 38.41 kB / 0.5555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.4397, allocations: 24.2 kB / 0.5556 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4397, allocations: 1.156 kB / 0.5556 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4397, allocations: 31.69 kB / 0.5556 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4397, allocations: 0 / 0.5556 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002324/0.44, allocations: 81.38 kB / 0.5557 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.44, allocations: 59.52 kB / 0.5557 GB, free: 7.754 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.4404, allocations: 318.8 kB / 0.556 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4404, allocations: 26.67 kB / 0.5561 GB, free: 7.512 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.4406, allocations: 242.2 kB / 0.5563 GB, free: 7.289 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4407, allocations: 11.61 kB / 0.5563 GB, free: 7.281 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4408, allocations: 55.95 kB / 0.5564 GB, free: 7.238 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001944/0.441, allocations: 335.8 kB / 0.5567 GB, free: 6.906 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.4411, allocations: 64.09 kB / 0.5567 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4413, allocations: 93.44 kB / 0.5568 GB, free: 6.816 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.4415, allocations: 124 kB / 0.5569 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4415, allocations: 1.188 kB / 0.5569 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004643/0.442, allocations: 230.6 kB / 0.5572 GB, free: 6.617 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.442, allocations: 5.125 kB / 0.5572 GB, free: 6.617 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.442, allocations: 4.812 kB / 0.5572 GB, free: 6.613 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.4421, allocations: 6 kB / 0.5572 GB, free: 6.609 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.4424, allocations: 52.28 kB / 0.5572 GB, free: 6.598 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4424, allocations: 2.594 kB / 0.5572 GB, free: 6.598 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.4427, allocations: 44.25 kB / 0.5573 GB, free: 6.559 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.4427, allocations: 8 kB / 0.5573 GB, free: 6.551 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.0001719/0.4429, allocations: 141.7 kB / 0.5574 GB, free: 6.402 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.4429, allocations: 19.86 kB / 0.5574 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.443, allocations: 28.88 kB / 0.5575 GB, free: 6.348 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.443, allocations: 8 kB / 0.5575 GB, free: 6.34 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.443, allocations: 3.938 kB / 0.5575 GB, free: 6.336 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.443, allocations: 0 / 0.5575 GB, free: 6.336 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.4436, allocations: 486.4 kB / 0.5579 GB, free: 5.805 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4436, allocations: 0 / 0.5579 GB, free: 5.805 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.4437, allocations: 7.984 kB / 0.5579 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4437, allocations: 0 / 0.5579 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4437, allocations: 0 / 0.5579 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4437, allocations: 4.062 kB / 0.558 GB, free: 5.793 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4437, allocations: 4 kB / 0.558 GB, free: 5.789 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.4438, allocations: 105.7 kB / 0.5581 GB, free: 5.664 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.4439, allocations: 27.78 kB / 0.5581 GB, free: 5.637 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.4439, allocations: 7.984 kB / 0.5581 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.444, allocations: 0 / 0.5581 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.444, allocations: 4.031 kB / 0.5581 GB, free: 5.625 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.444, allocations: 4 kB / 0.5581 GB, free: 5.621 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002695/0.4443, allocations: 227.1 kB / 0.5583 GB, free: 5.398 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4443, allocations: 0 / 0.5583 GB, free: 5.398 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003346/0.4446, allocations: 63.89 kB / 0.5584 GB, free: 5.336 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 0.0001249/0.4448, allocations: 91.25 kB / 0.5585 GB, free: 5.238 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002652/0.445, allocations: 99.91 kB / 0.5586 GB, free: 5.141 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.445, allocations: 4.062 kB / 0.5586 GB, free: 5.137 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.4451, allocations: 11.94 kB / 0.5586 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4454, allocations: 24.91 kB / 0.5586 GB, free: 5.098 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.4462, allocations: 371.7 kB / 0.559 GB, free: 4.703 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4466, allocations: 0.7439 MB / 0.5597 GB, free: 3.934 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001072/0.4467, allocations: 25.92 kB / 0.5597 GB, free: 3.91 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.4467, allocations: 23.38 kB / 0.5597 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.4467, allocations: 0 / 0.5597 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of Templates: time 0.005801/0.4525, allocations: 1.95 MB / 0.5616 GB, free: 1.953 MB / 398.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: 5.536427580751479]