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.001176/0.001176, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.89 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2981, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003127/0.3013, allocations: 2.371 MB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3023, allocations: 0.6594 MB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.3024, allocations: 4.188 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.3025, allocations: 48.33 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3027, allocations: 72.12 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.303, allocations: 87.47 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.3033, allocations: 341.2 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3035, allocations: 166.5 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3038, allocations: 150.6 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.304, allocations: 156.6 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.304, allocations: 33 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.3041, allocations: 35.75 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.3041, allocations: 76 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3043, allocations: 158.5 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.3046, allocations: 377.9 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3046, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3046, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3047, allocations: 1.062 kB / 0.5362 GB, free: 10.08 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.0008128/0.3055, allocations: 0.5788 MB / 0.5368 GB, free: 9.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3055, allocations: 9.688 kB / 0.5368 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.3058, allocations: 49.14 kB / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.306, allocations: 199.4 kB / 0.5371 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.306, allocations: 25.69 kB / 0.5371 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.306, allocations: 28.53 kB / 0.5371 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3065, allocations: 277.5 kB / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3065, allocations: 1.094 kB / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3065, allocations: 18.06 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3066, allocations: 8.25 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.3069, allocations: 214.5 kB / 0.5376 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3084, allocations: 1.016 MB / 0.5386 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.3085, allocations: 38.72 kB / 0.5386 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.3086, allocations: 25.48 kB / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3086, allocations: 0 / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3086, allocations: 31.62 kB / 0.5387 GB, free: 8.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 2.514e-06/0.3086, allocations: 3.984 kB / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.3088, allocations: 77.14 kB / 0.5388 GB, free: 8.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3089, allocations: 56.42 kB / 0.5388 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.3092, allocations: 317.1 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3092, allocations: 26.89 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3094, allocations: 234.6 kB / 0.5394 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.3094, allocations: 14.39 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.3095, allocations: 56.45 kB / 0.5394 GB, free: 7.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3096, allocations: 331.2 kB / 0.5397 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3097, allocations: 65.25 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3098, allocations: 88.62 kB / 0.5399 GB, free: 7.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.31, allocations: 118.9 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.31, allocations: 1.031 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003562/0.3104, allocations: 239 kB / 0.5402 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3104, allocations: 5.875 kB / 0.5402 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3104, allocations: 3.938 kB / 0.5402 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3104, allocations: 5.438 kB / 0.5403 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3107, allocations: 52.81 kB / 0.5403 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3107, allocations: 5.281 kB / 0.5403 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3109, allocations: 43.2 kB / 0.5403 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.311, allocations: 9.594 kB / 0.5404 GB, free: 6.789 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 9.467e-05/0.3111, allocations: 130.6 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3111, allocations: 18.28 kB / 0.5405 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.3112, allocations: 27.14 kB / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3112, allocations: 0 / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3112, allocations: 0 / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3112, allocations: 5.688 kB / 0.5405 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.3117, allocations: 0.5085 MB / 0.541 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3117, allocations: 9.047 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.3117, allocations: 3.219 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3118, allocations: 1.469 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3118, allocations: 0 / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3118, allocations: 1.031 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3118, allocations: 0.9688 kB / 0.541 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3119, allocations: 100.2 kB / 0.5411 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.312, allocations: 109 kB / 0.5412 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.312, allocations: 1.531 kB / 0.5412 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.3121, allocations: 1.156 kB / 0.5412 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.3121, allocations: 1.469 kB / 0.5412 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3121, allocations: 5.344 kB / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.3124, allocations: 226.8 kB / 0.5415 GB, free: 5.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3124, allocations: 0 / 0.5415 GB, free: 5.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3126, allocations: 64.16 kB / 0.5415 GB, free: 5.727 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 9.313e-05/0.3127, allocations: 95.59 kB / 0.5416 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.313, allocations: 109.4 kB / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.313, allocations: 0 / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.313, allocations: 22.02 kB / 0.5417 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3133, allocations: 22.3 kB / 0.5418 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.3139, allocations: 389.3 kB / 0.5421 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3142, allocations: 0.7466 MB / 0.5429 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.3143, allocations: 27.22 kB / 0.5429 GB, free: 4.523 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3143, allocations: 0 / 0.5429 GB, free: 4.523 MB / 398.1 MB Notification: Performance of Templates: time 0.004291/0.3186, allocations: 2.726 MB / 0.5456 GB, free: 3.09 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