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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2347/0.2347, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 65.45 MB / 0.4941 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00282/0.3528, allocations: 2.226 MB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.3537, allocations: 0.6306 MB / 0.4969 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.3538, allocations: 6.562 kB / 0.4969 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.713e-05/0.3539, allocations: 48.25 kB / 0.497 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3541, allocations: 74.95 kB / 0.4971 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3543, allocations: 92.56 kB / 0.4971 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3545, allocations: 335.9 kB / 0.4975 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.3547, allocations: 116.3 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3549, allocations: 154.5 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3551, allocations: 133.9 kB / 0.4979 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.3551, allocations: 34.66 kB / 0.4979 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.3552, allocations: 41.22 kB / 0.4979 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.3552, allocations: 66.28 kB / 0.498 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3553, allocations: 133.7 kB / 0.4981 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.3556, allocations: 381.6 kB / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3556, allocations: 0 / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3556, allocations: 0 / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.3557, allocations: 3.25 kB / 0.4985 GB, free: 28.76 MB / 446.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.0008213/0.3565, allocations: 0.5092 MB / 0.499 GB, free: 28.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3565, allocations: 9.688 kB / 0.499 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.3568, allocations: 48.59 kB / 0.499 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.357, allocations: 146.4 kB / 0.4992 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.357, allocations: 29.88 kB / 0.4992 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.357, allocations: 27.88 kB / 0.4992 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.3574, allocations: 278.2 kB / 0.4995 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3574, allocations: 3.938 kB / 0.4995 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.3575, allocations: 11.19 kB / 0.4995 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3575, allocations: 9.25 kB / 0.4995 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.3578, allocations: 218.1 kB / 0.4997 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3591, allocations: 0.8434 MB / 0.5006 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.3592, allocations: 39.73 kB / 0.5006 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.3592, allocations: 21.58 kB / 0.5006 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.3592, allocations: 0 / 0.5006 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.3592, allocations: 34.56 kB / 0.5006 GB, free: 27.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3592, allocations: 4 kB / 0.5006 GB, free: 27.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000181/0.3594, allocations: 67.48 kB / 0.5007 GB, free: 27.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.3594, allocations: 54.83 kB / 0.5008 GB, free: 27.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3597, allocations: 269.8 kB / 0.501 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.3597, allocations: 29.64 kB / 0.5011 GB, free: 26.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.3598, allocations: 254.5 kB / 0.5013 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.3598, allocations: 14.39 kB / 0.5013 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.3598, allocations: 55.94 kB / 0.5014 GB, free: 26.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.3599, allocations: 325.4 kB / 0.5017 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.36, allocations: 61.92 kB / 0.5017 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3601, allocations: 88.66 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3603, allocations: 124.1 kB / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3603, allocations: 4 kB / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00033/0.3606, allocations: 229.6 kB / 0.5022 GB, free: 26.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3606, allocations: 5.281 kB / 0.5022 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3606, allocations: 0 / 0.5022 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3607, allocations: 10.47 kB / 0.5022 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.361, allocations: 52.72 kB / 0.5022 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.361, allocations: 3.375 kB / 0.5022 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3612, allocations: 41.17 kB / 0.5023 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3612, allocations: 10.59 kB / 0.5023 GB, free: 26.11 MB / 446.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 7.558e-05/0.3613, allocations: 131.4 kB / 0.5024 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3613, allocations: 14.44 kB / 0.5024 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3613, allocations: 18.5 kB / 0.5024 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3613, allocations: 3.938 kB / 0.5024 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3613, allocations: 0 / 0.5024 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3613, allocations: 0 / 0.5024 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3618, allocations: 430.8 kB / 0.5028 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3618, allocations: 7.281 kB / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.3618, allocations: 7.125 kB / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3618, allocations: 0 / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3618, allocations: 0 / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3618, allocations: 0 / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3618, allocations: 3.219 kB / 0.5029 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/0.3619, allocations: 92.69 kB / 0.503 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.3619, allocations: 25.88 kB / 0.503 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3619, allocations: 0 / 0.503 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3621, allocations: 0 / 0.503 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3621, allocations: 11.31 kB / 0.503 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3621, allocations: 3.938 kB / 0.503 GB, free: 25.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3622, allocations: 181.7 kB / 0.5032 GB, free: 25.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3622, allocations: 0 / 0.5032 GB, free: 25.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3624, allocations: 74.66 kB / 0.5032 GB, free: 25.34 MB / 446.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 6.965e-05/0.3625, allocations: 89.06 kB / 0.5033 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3627, allocations: 102.8 kB / 0.5034 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3627, allocations: 0 / 0.5034 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.3627, allocations: 18.31 kB / 0.5034 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.363, allocations: 28.41 kB / 0.5035 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.3636, allocations: 368.2 kB / 0.5038 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.618e-05/0.3637, allocations: 136.3 kB / 0.5039 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.3637, allocations: 19.19 kB / 0.504 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.3638, allocations: 18.19 kB / 0.504 GB, free: 24.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3638, allocations: 0 / 0.504 GB, free: 24.85 MB / 446.1 MB Notification: Performance of Templates: time 0.004003/0.3678, allocations: 1.584 MB / 0.5055 GB, free: 24.61 MB / 446.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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1665410690475255]