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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 95.28 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4386/0.4386, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3615, allocations: 60.8 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003301/0.3649, allocations: 2.405 MB / 0.5087 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.3657, allocations: 0.6106 MB / 0.5093 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.3658, allocations: 5.812 kB / 0.5093 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.649e-05/0.3659, allocations: 25.34 kB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3661, allocations: 58.36 kB / 0.5094 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.3663, allocations: 78.03 kB / 0.5095 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.3666, allocations: 333.8 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.3668, allocations: 133.6 kB / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.367, allocations: 127.4 kB / 0.5101 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3672, allocations: 150.9 kB / 0.5102 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.3672, allocations: 27.5 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.3673, allocations: 23.81 kB / 0.5103 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.3673, allocations: 61.97 kB / 0.5103 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3674, allocations: 148.5 kB / 0.5105 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3677, allocations: 362.7 kB / 0.5108 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3677, allocations: 0 / 0.5108 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3677, allocations: 0 / 0.5108 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3677, allocations: 0 / 0.5108 GB, free: 35.36 MB / 378.7 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.0007779/0.3685, allocations: 0.5837 MB / 0.5114 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3686, allocations: 11.5 kB / 0.5114 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.3686, allocations: 27.47 kB / 0.5114 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3688, allocations: 196.7 kB / 0.5116 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.3688, allocations: 35.2 kB / 0.5116 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.3689, allocations: 28.81 kB / 0.5117 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.3693, allocations: 283.9 kB / 0.5119 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3693, allocations: 0 / 0.5119 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3693, allocations: 18.58 kB / 0.5119 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3694, allocations: 10.72 kB / 0.512 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.3697, allocations: 218.4 kB / 0.5122 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3711, allocations: 1.019 MB / 0.5132 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.3712, allocations: 26.67 kB / 0.5132 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3713, allocations: 30.64 kB / 0.5132 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.3713, allocations: 0 / 0.5132 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3713, allocations: 34.56 kB / 0.5132 GB, free: 33.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3713, allocations: 0 / 0.5132 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000193/0.3715, allocations: 82.27 kB / 0.5133 GB, free: 33.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3715, allocations: 51.41 kB / 0.5134 GB, free: 33.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.3718, allocations: 316.9 kB / 0.5137 GB, free: 33.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3718, allocations: 32.27 kB / 0.5137 GB, free: 33.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.3719, allocations: 226.2 kB / 0.5139 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.372, allocations: 10.78 kB / 0.5139 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.372, allocations: 59.66 kB / 0.514 GB, free: 33.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3721, allocations: 328.2 kB / 0.5143 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3722, allocations: 71.52 kB / 0.5144 GB, free: 32.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3724, allocations: 95.2 kB / 0.5145 GB, free: 32.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3725, allocations: 118.7 kB / 0.5146 GB, free: 32.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3726, allocations: 0 / 0.5146 GB, free: 32.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003615/0.3729, allocations: 233.2 kB / 0.5148 GB, free: 32.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.373, allocations: 9.812 kB / 0.5148 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.373, allocations: 0 / 0.5148 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.373, allocations: 6.531 kB / 0.5148 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3733, allocations: 61.8 kB / 0.5149 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3733, allocations: 1.156 kB / 0.5149 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3735, allocations: 39.16 kB / 0.5149 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3735, allocations: 6.469 kB / 0.5149 GB, free: 32.48 MB / 378.7 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.0001128/0.3737, allocations: 143.1 kB / 0.5151 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.3737, allocations: 24.78 kB / 0.5151 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.3737, allocations: 28.66 kB / 0.5151 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3738, allocations: 0 / 0.5151 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3738, allocations: 0 / 0.5151 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3738, allocations: 0 / 0.5151 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3742, allocations: 0.5141 MB / 0.5156 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3742, allocations: 4.062 kB / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.3743, allocations: 5.5 kB / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3743, allocations: 0 / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3743, allocations: 0 / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3743, allocations: 2.875 kB / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3743, allocations: 3.094 kB / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3746, allocations: 0.6869 MB / 0.5163 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3746, allocations: 95.72 kB / 0.5164 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3747, allocations: 7.234 kB / 0.5164 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3748, allocations: 0 / 0.5164 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.3748, allocations: 3.938 kB / 0.5164 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3748, allocations: 3.344 kB / 0.5164 GB, free: 31.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.375, allocations: 225.5 kB / 0.5166 GB, free: 30.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.375, allocations: 0 / 0.5166 GB, free: 30.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.3754, allocations: 70.62 kB / 0.5167 GB, free: 30.9 MB / 378.7 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 7.323e-05/0.3754, allocations: 90.31 kB / 0.5168 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3757, allocations: 115 kB / 0.5169 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3757, allocations: 0 / 0.5169 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.3757, allocations: 13.72 kB / 0.5169 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.376, allocations: 21.64 kB / 0.5169 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.3767, allocations: 0.5723 MB / 0.5175 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3769, allocations: 0.7389 MB / 0.5182 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.377, allocations: 27.09 kB / 0.5182 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.377, allocations: 16.61 kB / 0.5182 GB, free: 29.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.377, allocations: 0 / 0.5182 GB, free: 29.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003945/0.381, allocations: 1.751 MB / 0.5199 GB, free: 29.41 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches