Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001635/0.001635, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00191/0.00191, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.561/1.561, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 443.1 MB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003285/0.3558, allocations: 2.223 MB / 0.4994 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3569, allocations: 0.6383 MB / 0.5 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.357, allocations: 3.438 kB / 0.5 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.357, allocations: 36.89 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3572, allocations: 70.8 kB / 0.5001 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3575, allocations: 93.41 kB / 0.5002 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3577, allocations: 353.5 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.358, allocations: 112.1 kB / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.3582, allocations: 149.4 kB / 0.5008 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3584, allocations: 129.5 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.3584, allocations: 35.75 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.3585, allocations: 38.25 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.3586, allocations: 68 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3587, allocations: 137.1 kB / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.359, allocations: 380.1 kB / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.359, allocations: 4 kB / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.359, allocations: 0 / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.359, allocations: 0 / 0.5016 GB, free: 27.16 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.0007972/0.3598, allocations: 0.5119 MB / 0.5021 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3598, allocations: 9.156 kB / 0.5021 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.3601, allocations: 55.81 kB / 0.5021 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3602, allocations: 147 kB / 0.5023 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3602, allocations: 22 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.3603, allocations: 31.19 kB / 0.5023 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.3607, allocations: 280.3 kB / 0.5026 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3607, allocations: 0 / 0.5026 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3607, allocations: 19.33 kB / 0.5026 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3607, allocations: 6.344 kB / 0.5026 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.361, allocations: 215.2 kB / 0.5028 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3624, allocations: 0.8519 MB / 0.5036 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.3624, allocations: 27.7 kB / 0.5037 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.3625, allocations: 28.61 kB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3625, allocations: 0 / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.3625, allocations: 30.56 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3625, allocations: 3.406 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001882/0.3627, allocations: 75.86 kB / 0.5038 GB, free: 25.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.3627, allocations: 54.31 kB / 0.5039 GB, free: 25.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3629, allocations: 259.5 kB / 0.5041 GB, free: 25.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.3629, allocations: 25.7 kB / 0.5041 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.363, allocations: 249.7 kB / 0.5044 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.363, allocations: 14.98 kB / 0.5044 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-05/0.3631, allocations: 55.58 kB / 0.5044 GB, free: 25.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.3632, allocations: 325 kB / 0.5047 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3633, allocations: 63.31 kB / 0.5048 GB, free: 24.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3634, allocations: 88.08 kB / 0.5049 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3635, allocations: 128.5 kB / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3635, allocations: 0 / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003013/0.3638, allocations: 230.7 kB / 0.5052 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3638, allocations: 10.03 kB / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3639, allocations: 0 / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3639, allocations: 3.938 kB / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3642, allocations: 55.81 kB / 0.5053 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3642, allocations: 3 kB / 0.5053 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3644, allocations: 36.67 kB / 0.5053 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3644, allocations: 13.52 kB / 0.5053 GB, free: 24.52 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.961e-05/0.3645, allocations: 127.1 kB / 0.5055 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3645, allocations: 14.16 kB / 0.5055 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3646, allocations: 22 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3646, allocations: 7.938 kB / 0.5055 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3646, allocations: 0 / 0.5055 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3646, allocations: 3.984 kB / 0.5055 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.365, allocations: 429.9 kB / 0.5059 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.365, allocations: 0 / 0.5059 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.365, allocations: 7 kB / 0.5059 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.365, allocations: 0 / 0.5059 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.365, allocations: 7.031 kB / 0.5059 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.365, allocations: 3.938 kB / 0.5059 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.365, allocations: 0 / 0.5059 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.3651, allocations: 98.45 kB / 0.506 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.3652, allocations: 24.84 kB / 0.5061 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3652, allocations: 0 / 0.5061 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3653, allocations: 3.031 kB / 0.5061 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.3653, allocations: 3.375 kB / 0.5061 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3653, allocations: 0 / 0.5061 GB, free: 23.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3655, allocations: 179.6 kB / 0.5062 GB, free: 23.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3655, allocations: 0 / 0.5062 GB, free: 23.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3657, allocations: 73.06 kB / 0.5063 GB, free: 23.75 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 7.958e-05/0.3658, allocations: 103.8 kB / 0.5064 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.366, allocations: 98.91 kB / 0.5065 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.366, allocations: 0 / 0.5065 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.366, allocations: 13.78 kB / 0.5065 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3663, allocations: 19.14 kB / 0.5065 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.3669, allocations: 380.8 kB / 0.5069 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.3669, allocations: 135.6 kB / 0.507 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.367, allocations: 15.12 kB / 0.507 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.3671, allocations: 18.75 kB / 0.5071 GB, free: 23.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3671, allocations: 0 / 0.5071 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Templates: time 0.004076/0.3711, allocations: 1.586 MB / 0.5086 GB, free: 23.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.108142165001482]