Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 176.8 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.08 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5204/0.5204, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 8 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3538, allocations: 61.91 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002222/0.3561, allocations: 1.969 MB / 0.5147 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3572, allocations: 0.5835 MB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3574, allocations: 9.906 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.3575, allocations: 29 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3577, allocations: 55.64 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3579, allocations: 77.89 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.3582, allocations: 331.7 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.3585, allocations: 137.2 kB / 0.5158 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3587, allocations: 106.5 kB / 0.5159 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3589, allocations: 134.4 kB / 0.5161 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.3589, allocations: 17.28 kB / 0.5161 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.359, allocations: 20.25 kB / 0.5161 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.359, allocations: 53.7 kB / 0.5162 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3591, allocations: 161.6 kB / 0.5163 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3594, allocations: 353.4 kB / 0.5167 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3594, allocations: 0 / 0.5167 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3595, allocations: 0 / 0.5167 GB, free: 35.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3595, allocations: 2.688 kB / 0.5167 GB, free: 35.37 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.0007797/0.3603, allocations: 0.525 MB / 0.5172 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3603, allocations: 8.969 kB / 0.5172 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.3604, allocations: 34.55 kB / 0.5172 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3606, allocations: 202.3 kB / 0.5174 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/0.3607, allocations: 26.61 kB / 0.5174 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.3607, allocations: 34.38 kB / 0.5175 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.3613, allocations: 281.6 kB / 0.5177 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3613, allocations: 0.6094 kB / 0.5177 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3614, allocations: 10.88 kB / 0.5177 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3614, allocations: 7.781 kB / 0.5177 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.3618, allocations: 218.3 kB / 0.518 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3634, allocations: 1.031 MB / 0.519 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/0.3634, allocations: 30.67 kB / 0.519 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.3635, allocations: 24.11 kB / 0.519 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.3635, allocations: 0 / 0.519 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3635, allocations: 30.56 kB / 0.519 GB, free: 33.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3635, allocations: 0 / 0.519 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.3637, allocations: 90.94 kB / 0.5191 GB, free: 33.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.3638, allocations: 51.41 kB / 0.5192 GB, free: 33.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3641, allocations: 316 kB / 0.5195 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3641, allocations: 27.02 kB / 0.5195 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3642, allocations: 230.4 kB / 0.5197 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3643, allocations: 13.22 kB / 0.5197 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.3643, allocations: 5.281 kB / 0.5197 GB, free: 33.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.3644, allocations: 330.7 kB / 0.5201 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3645, allocations: 70.11 kB / 0.5201 GB, free: 32.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3647, allocations: 95.67 kB / 0.5202 GB, free: 32.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3649, allocations: 122.3 kB / 0.5203 GB, free: 32.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3649, allocations: 0 / 0.5203 GB, free: 32.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003509/0.3653, allocations: 235.5 kB / 0.5206 GB, free: 32.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3653, allocations: 13.94 kB / 0.5206 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3653, allocations: 0 / 0.5206 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3653, allocations: 3.375 kB / 0.5206 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3656, allocations: 59.25 kB / 0.5206 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3656, allocations: 0 / 0.5206 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3658, allocations: 52.61 kB / 0.5207 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3659, allocations: 6.031 kB / 0.5207 GB, free: 32.54 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 8.673e-05/0.366, allocations: 127.2 kB / 0.5208 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.366, allocations: 24.5 kB / 0.5208 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.366, allocations: 26.19 kB / 0.5209 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.366, allocations: 2.875 kB / 0.5209 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3661, allocations: 0 / 0.5209 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3661, allocations: 0 / 0.5209 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3665, allocations: 0.5095 MB / 0.5214 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3665, allocations: 2.812 kB / 0.5214 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.3665, allocations: 10.17 kB / 0.5214 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3666, allocations: 0 / 0.5214 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3666, allocations: 0 / 0.5214 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3666, allocations: 6.75 kB / 0.5214 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3666, allocations: 0 / 0.5214 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3667, allocations: 94.78 kB / 0.5215 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.3667, allocations: 105.9 kB / 0.5216 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3668, allocations: 4.031 kB / 0.5216 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.3669, allocations: 2.656 kB / 0.5216 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.3669, allocations: 2.625 kB / 0.5216 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3669, allocations: 0 / 0.5216 GB, free: 31.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3671, allocations: 222.2 kB / 0.5218 GB, free: 31.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3671, allocations: 0 / 0.5218 GB, free: 31.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.3674, allocations: 64.28 kB / 0.5219 GB, free: 31.59 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 0.0001296/0.3675, allocations: 111 kB / 0.522 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3678, allocations: 117.1 kB / 0.5221 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3678, allocations: 0 / 0.5221 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.3678, allocations: 9.656 kB / 0.5221 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3681, allocations: 21.61 kB / 0.5221 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.3687, allocations: 498.3 kB / 0.5226 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.3689, allocations: 0.7413 MB / 0.5233 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.369, allocations: 25.56 kB / 0.5233 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.369, allocations: 19.03 kB / 0.5233 GB, free: 30.35 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.369, allocations: 0 / 0.5233 GB, free: 30.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004166/0.3732, allocations: 1.661 MB / 0.525 GB, free: 30.19 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/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