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.0008745/0.0008745, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001027/0.001027, allocations: 172.3 kB / 24.91 MB, free: 8.777 MB / 18.57 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 0.9941/0.9941, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.261/0.261, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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 1.392e-06/1.392e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.228e-05, allocations: 7.453 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002678/0.0027, allocations: 2.416 MB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003702, allocations: 0.6745 MB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.003777, allocations: 8 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.003841, allocations: 43.58 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.003979, allocations: 75.22 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.004183, allocations: 87.86 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.004407, allocations: 355 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.004584, allocations: 111.1 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.004832, allocations: 219.5 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.004964, allocations: 115.7 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.004997, allocations: 35.94 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.005064, allocations: 36 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.005103, allocations: 71.78 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.005171, allocations: 111.7 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.005382, allocations: 239.1 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005385, allocations: 0 / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005387, allocations: 0 / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005391, allocations: 0 / 329.8 MB, free: 3.09 MB / 298.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.0004765/0.005868, allocations: 0.4976 MB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.005896, allocations: 12.03 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.006078, allocations: 60.89 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.006171, allocations: 152.2 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.006193, allocations: 25.03 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.006216, allocations: 28.38 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.006419, allocations: 211.3 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006427, allocations: 192 / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006443, allocations: 12.38 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006451, allocations: 15.88 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.722e-05/0.006549, allocations: 80.55 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.007638, allocations: 0.6716 MB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.007679, allocations: 26.52 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.007699, allocations: 12.92 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.007705, allocations: 0 / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.007724, allocations: 34.56 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007725, allocations: 4 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001011/0.007826, allocations: 41.67 kB / 331.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.007848, allocations: 55.41 kB / 331.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007986, allocations: 239 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.007994, allocations: 25.7 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.008082, allocations: 240.3 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.008089, allocations: 11.89 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.008147, allocations: 69.5 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.008223, allocations: 330.7 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.008254, allocations: 24.48 kB / 332.7 MB, free: 100 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.008301, allocations: 58.31 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.008384, allocations: 61.72 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008387, allocations: 0 / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001325/0.008519, allocations: 130 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.008533, allocations: 8 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008538, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.008547, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.008727, allocations: 67.89 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.008729, allocations: 0 / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.00882, allocations: 35.75 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.008831, allocations: 12 kB / 333.1 MB, free: 15.71 MB / 314.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 6.802e-05/0.008899, allocations: 117.7 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.008922, allocations: 11.98 kB / 333.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.008946, allocations: 20.64 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008948, allocations: 0 / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00895, allocations: 0 / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.008952, allocations: 0 / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.009229, allocations: 336.1 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009231, allocations: 4.062 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.009244, allocations: 4 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.009246, allocations: 0 / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.00925, allocations: 4 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009253, allocations: 3.984 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009254, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.255e-05/0.009316, allocations: 81.84 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.009338, allocations: 15.91 kB / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.009352, allocations: 0 / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.009394, allocations: 0 / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.009407, allocations: 15.95 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.009409, allocations: 0 / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.009462, allocations: 66.92 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009462, allocations: 3.938 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.009613, allocations: 71.83 kB / 333.8 MB, free: 14.91 MB / 314.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.263e-05/0.009686, allocations: 84.34 kB / 333.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.009785, allocations: 73.02 kB / 334 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.009793, allocations: 4 kB / 334 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.009805, allocations: 16.86 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.009923, allocations: 20.45 kB / 334 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.01034, allocations: 363 kB / 334.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.01038, allocations: 75.97 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.01045, allocations: 21.75 kB / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.01053, allocations: 67.36 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01053, allocations: 4 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Templates: time 0.00342/0.01395, allocations: 1.695 MB / 336.2 MB, free: 12.46 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.732624104246497]