Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3103/0.3103, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 79.86 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4408, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00421/0.4451, allocations: 2.373 MB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.4463, allocations: 0.6583 MB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4465, allocations: 4.125 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.4466, allocations: 47.64 kB / 0.534 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.4468, allocations: 71.58 kB / 0.5341 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.4471, allocations: 89.5 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.4474, allocations: 348.7 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.4477, allocations: 158.4 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.448, allocations: 158.2 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.4482, allocations: 148.2 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.4483, allocations: 33.19 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.4484, allocations: 39.44 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.4485, allocations: 68.48 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.4486, allocations: 162.9 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.4491, allocations: 380.5 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4491, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4491, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4491, allocations: 1.344 kB / 0.5356 GB, free: 10.07 MB / 398.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.0009952/0.4501, allocations: 0.5858 MB / 0.5361 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4501, allocations: 10.06 kB / 0.5362 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.4505, allocations: 50 kB / 0.5362 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4507, allocations: 198.4 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.4507, allocations: 20.84 kB / 0.5364 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.4508, allocations: 28.75 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.4514, allocations: 286.3 kB / 0.5367 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4514, allocations: 3.938 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.4514, allocations: 15.09 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4514, allocations: 7.656 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.4519, allocations: 211.4 kB / 0.5369 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.4536, allocations: 1.031 MB / 0.5379 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/0.4537, allocations: 31.17 kB / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.4538, allocations: 24.67 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4538, allocations: 0.9375 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4539, allocations: 39.58 kB / 0.538 GB, free: 8.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.4539, allocations: 0 / 0.538 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.4541, allocations: 73.83 kB / 0.5381 GB, free: 8.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4541, allocations: 51.41 kB / 0.5382 GB, free: 7.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.4546, allocations: 322.3 kB / 0.5385 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4546, allocations: 25.7 kB / 0.5385 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4547, allocations: 239.5 kB / 0.5387 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.4548, allocations: 10.12 kB / 0.5387 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4549, allocations: 66.14 kB / 0.5388 GB, free: 7.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.455, allocations: 327 kB / 0.5391 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4552, allocations: 64.47 kB / 0.5392 GB, free: 7.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4553, allocations: 88.45 kB / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4555, allocations: 120 kB / 0.5394 GB, free: 6.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4555, allocations: 4 kB / 0.5394 GB, free: 6.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003937/0.4559, allocations: 235.5 kB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.456, allocations: 4.219 kB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.456, allocations: 5.25 kB / 0.5396 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.456, allocations: 5.281 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.4563, allocations: 56.89 kB / 0.5397 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4563, allocations: 1.812 kB / 0.5397 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4566, allocations: 38.39 kB / 0.5397 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.4566, allocations: 13.95 kB / 0.5397 GB, free: 6.762 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.0001363/0.4567, allocations: 135.2 kB / 0.5398 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4568, allocations: 21.2 kB / 0.5399 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.4569, allocations: 27.55 kB / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4569, allocations: 0 / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4569, allocations: 1.156 kB / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4569, allocations: 0 / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.4575, allocations: 0.5142 MB / 0.5404 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4575, allocations: 4 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.4576, allocations: 3.281 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4576, allocations: 1.156 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4576, allocations: 4 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4576, allocations: 1.281 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4576, allocations: 1.156 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.4578, allocations: 104.1 kB / 0.5405 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.4578, allocations: 101.5 kB / 0.5406 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.4579, allocations: 1.125 kB / 0.5406 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.458, allocations: 1.156 kB / 0.5406 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.458, allocations: 6.234 kB / 0.5406 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.458, allocations: 1.125 kB / 0.5406 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.4583, allocations: 222.5 kB / 0.5408 GB, free: 5.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4583, allocations: 0 / 0.5408 GB, free: 5.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.4586, allocations: 64.05 kB / 0.5409 GB, free: 5.699 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.00012/0.4587, allocations: 95.84 kB / 0.541 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.459, allocations: 117.8 kB / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.459, allocations: 0 / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.4591, allocations: 9.656 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4594, allocations: 30.22 kB / 0.5411 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.4602, allocations: 371.8 kB / 0.5415 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.4605, allocations: 0.7469 MB / 0.5422 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.4606, allocations: 28.28 kB / 0.5422 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4607, allocations: 21.44 kB / 0.5423 GB, free: 4.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4607, allocations: 0 / 0.5423 GB, free: 4.5 MB / 398.1 MB Notification: Performance of Templates: time 0.005848/0.4666, allocations: 1.796 MB / 0.544 GB, free: 3.609 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches