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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 113.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001898, allocations: 183.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4383, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00351/0.4419, allocations: 2.368 MB / 0.5212 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.4428, allocations: 0.619 MB / 0.5218 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.4429, allocations: 8.094 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.421e-05/0.443, allocations: 38.55 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.4432, allocations: 69.22 kB / 0.5219 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.4435, allocations: 90.62 kB / 0.522 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.4438, allocations: 343 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.4441, allocations: 148.2 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.4443, allocations: 141 kB / 0.5226 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.4445, allocations: 154.5 kB / 0.5227 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.4446, allocations: 32.72 kB / 0.5228 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.4446, allocations: 33.56 kB / 0.5228 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.4447, allocations: 74.2 kB / 0.5229 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.4449, allocations: 151.8 kB / 0.523 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.4453, allocations: 376.6 kB / 0.5234 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4454, allocations: 4 kB / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4454, allocations: 1.281 kB / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.4454, allocations: 0.6094 kB / 0.5234 GB, free: 0.707 MB / 382.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.0008871/0.4463, allocations: 0.5876 MB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4463, allocations: 9.125 kB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.4464, allocations: 31.72 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.4466, allocations: 197 kB / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.4466, allocations: 30.22 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.4467, allocations: 32.23 kB / 0.5243 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.4472, allocations: 285.3 kB / 0.5245 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4472, allocations: 0 / 0.5245 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.4473, allocations: 11.14 kB / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4473, allocations: 11.91 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.4477, allocations: 220.6 kB / 0.5248 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.4495, allocations: 1.001 MB / 0.5257 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.4496, allocations: 32.23 kB / 0.5258 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.4496, allocations: 22.08 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.4497, allocations: 4 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.4497, allocations: 32.69 kB / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4497, allocations: 0 / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000209/0.4499, allocations: 83.64 kB / 0.5259 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.45, allocations: 51.41 kB / 0.526 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.4504, allocations: 320.9 kB / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4504, allocations: 25.7 kB / 0.5263 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4505, allocations: 226.9 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4506, allocations: 16.27 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.4507, allocations: 53.98 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4508, allocations: 337.9 kB / 0.5269 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4509, allocations: 63.59 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4511, allocations: 89.56 kB / 0.527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.4513, allocations: 129 kB / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4513, allocations: 0 / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003899/0.4517, allocations: 230.8 kB / 0.5274 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4517, allocations: 7.625 kB / 0.5274 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4517, allocations: 9.281 kB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4518, allocations: 1.281 kB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.4521, allocations: 57.12 kB / 0.5274 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4521, allocations: 1.156 kB / 0.5274 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.4523, allocations: 42.3 kB / 0.5275 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4524, allocations: 5.125 kB / 0.5275 GB, free: 13.76 MB / 398.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 0.0001195/0.4525, allocations: 135.9 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.4525, allocations: 17.91 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.4526, allocations: 38.23 kB / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4526, allocations: 1.281 kB / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4526, allocations: 0 / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4526, allocations: 0 / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.4533, allocations: 0.5144 MB / 0.5282 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4533, allocations: 0 / 0.5282 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.4533, allocations: 7.109 kB / 0.5282 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4533, allocations: 0.6875 kB / 0.5282 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4533, allocations: 5.281 kB / 0.5282 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4533, allocations: 5.312 kB / 0.5282 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4533, allocations: 0 / 0.5282 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.4535, allocations: 99.75 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.4536, allocations: 101.9 kB / 0.5284 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.4536, allocations: 9.797 kB / 0.5284 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4537, allocations: 5.688 kB / 0.5284 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.4538, allocations: 1.406 kB / 0.5284 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4538, allocations: 3.938 kB / 0.5284 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.454, allocations: 223.8 kB / 0.5286 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.454, allocations: 0 / 0.5286 GB, free: 12.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4543, allocations: 64.66 kB / 0.5287 GB, free: 12.68 MB / 398.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 0.0001101/0.4544, allocations: 98.97 kB / 0.5288 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4547, allocations: 113.8 kB / 0.5289 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4547, allocations: 0 / 0.5289 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.4547, allocations: 14.31 kB / 0.5289 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.455, allocations: 26.22 kB / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.4557, allocations: 357 kB / 0.5293 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4561, allocations: 0.7437 MB / 0.53 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.4562, allocations: 27.61 kB / 0.53 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.4562, allocations: 17.28 kB / 0.53 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4562, allocations: 4 kB / 0.53 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004647/0.4609, allocations: 1.799 MB / 0.5318 GB, free: 10.6 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches