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.001863/0.001863, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002572/0.002572, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.83/2.83, allocations: 227.4 MB / 247.6 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.5443/0.5443, allocations: 46.12 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00324/0.00324, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7982, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.005901/0.8041, allocations: 2.366 MB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.8063, allocations: 0.6703 MB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.8065, allocations: 8.219 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.8067, allocations: 39.73 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.807, allocations: 67 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.8075, allocations: 92.94 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.8081, allocations: 341.1 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.8085, allocations: 166.7 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.809, allocations: 142.3 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.8093, allocations: 152.3 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.8094, allocations: 34.03 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.8095, allocations: 46.09 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.8096, allocations: 69.39 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.8099, allocations: 158 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.8106, allocations: 381.1 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8106, allocations: 0 / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.8106, allocations: 4 kB / 0.5363 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.8106, allocations: 0 / 0.5363 GB, free: 10.05 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.001365/0.812, allocations: 0.5838 MB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/0.8121, allocations: 7.906 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.8126, allocations: 49.56 kB / 0.5369 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.8128, allocations: 208.5 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.8129, allocations: 22.06 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.813, allocations: 32.62 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.8138, allocations: 282.9 kB / 0.5374 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.8138, allocations: 0 / 0.5374 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.8139, allocations: 14.53 kB / 0.5374 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.8139, allocations: 7.562 kB / 0.5374 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.8146, allocations: 210.8 kB / 0.5376 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.8171, allocations: 1.032 MB / 0.5386 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.8173, allocations: 27.23 kB / 0.5387 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.8174, allocations: 24.36 kB / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.8174, allocations: 1.25 kB / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.8174, allocations: 31.84 kB / 0.5387 GB, free: 8.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.8174, allocations: 0 / 0.5387 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.8178, allocations: 85.09 kB / 0.5388 GB, free: 7.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.8178, allocations: 51.41 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.8184, allocations: 321.6 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.8185, allocations: 26.92 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.8187, allocations: 234.3 kB / 0.5394 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.8187, allocations: 19.31 kB / 0.5394 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.8189, allocations: 52.12 kB / 0.5395 GB, free: 7.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.8191, allocations: 336 kB / 0.5398 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.8193, allocations: 64.62 kB / 0.5398 GB, free: 7.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.8195, allocations: 84.62 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.8199, allocations: 123.9 kB / 0.54 GB, free: 6.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8199, allocations: 0 / 0.54 GB, free: 6.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006362/0.8205, allocations: 235.1 kB / 0.5403 GB, free: 6.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8206, allocations: 9.281 kB / 0.5403 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.8206, allocations: 1.281 kB / 0.5403 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.8206, allocations: 4.969 kB / 0.5403 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.8211, allocations: 56.62 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.8211, allocations: 5.672 kB / 0.5403 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.8215, allocations: 38.27 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.8216, allocations: 10.75 kB / 0.5404 GB, free: 6.742 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.0001787/0.8218, allocations: 131 kB / 0.5405 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.8218, allocations: 21.39 kB / 0.5405 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.8219, allocations: 31.73 kB / 0.5406 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8219, allocations: 0 / 0.5406 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8219, allocations: 0 / 0.5406 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.8221, allocations: 101.2 kB / 0.5407 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.8221, allocations: 9.578 kB / 0.5407 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.8224, allocations: 1.312 kB / 0.5407 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.8224, allocations: 3.938 kB / 0.5407 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002933/0.8227, allocations: 133.2 kB / 0.5408 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002394/0.823, allocations: 244.1 kB / 0.541 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.443e-05/0.823, allocations: 9.469 kB / 0.541 GB, free: 6.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003786/0.8234, allocations: 223.1 kB / 0.5413 GB, free: 5.945 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.8234, allocations: 0 / 0.5413 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008611/0.8243, allocations: 178.8 kB / 0.5414 GB, free: 5.836 MB / 398.1 MB Notification: Performance of SimCode: time 0.001427/0.8257, allocations: 0.8307 MB / 0.5422 GB, free: 5.086 MB / 398.1 MB Notification: Performance of Templates: time 0.3438/1.17, allocations: 2.58 MB / 0.5448 GB, free: 3.781 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/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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches