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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009263/0.0009262, allocations: 178.4 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001093, allocations: 92.73 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.336/0.336, allocations: 44.14 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003822, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3763, allocations: 61.88 MB / 0.5107 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4934, allocations: 89.62 MB / 0.5982 GB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4937, allocations: 79.94 kB / 0.5983 GB, free: 5.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.5044, allocations: 4.405 MB / 0.6026 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5044, allocations: 0 / 0.6026 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5045, allocations: 8 kB / 0.6026 GB, free: 0.9727 MB / 410.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.000703/0.5052, allocations: 0.5187 MB / 0.6031 GB, free: 412 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5052, allocations: 8.031 kB / 0.6031 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.5053, allocations: 32.56 kB / 0.6032 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.5055, allocations: 206.1 kB / 0.6034 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/0.5056, allocations: 25.22 kB / 0.6034 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.5056, allocations: 32.38 kB / 0.6034 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.5061, allocations: 286.6 kB / 0.6037 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5061, allocations: 7.922 kB / 0.6037 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.5062, allocations: 8 kB / 0.6037 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.5062, allocations: 8 kB / 0.6037 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.5066, allocations: 218.5 kB / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.5082, allocations: 1.029 MB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.5083, allocations: 30.58 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.5083, allocations: 24.92 kB / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.5083, allocations: 0 / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5084, allocations: 34.56 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.5084, allocations: 4 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.5086, allocations: 77.28 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.5086, allocations: 55.41 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.5089, allocations: 314.9 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.509, allocations: 25.7 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5091, allocations: 238.8 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.5091, allocations: 7.906 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5091, allocations: 12.06 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5092, allocations: 334.8 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.5094, allocations: 63.97 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.5095, allocations: 91.94 kB / 0.6062 GB, free: 13.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.5097, allocations: 122.1 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5097, allocations: 4 kB / 0.6063 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003593/0.5101, allocations: 225.5 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5101, allocations: 4 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5101, allocations: 4 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5102, allocations: 7.922 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.5104, allocations: 59.91 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5105, allocations: 4 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.5107, allocations: 47.42 kB / 0.6067 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.5107, allocations: 16.03 kB / 0.6067 GB, free: 12.61 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/0.5108, allocations: 130.9 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.5109, allocations: 15.81 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.5109, allocations: 28.83 kB / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5109, allocations: 0 / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5109, allocations: 0 / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5109, allocations: 0 / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.5115, allocations: 0.5148 MB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5115, allocations: 3.984 kB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.5115, allocations: 4 kB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5115, allocations: 0 / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.5115, allocations: 0 / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5115, allocations: 4 kB / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5116, allocations: 0 / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.5117, allocations: 101.8 kB / 0.6074 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.5118, allocations: 108.8 kB / 0.6076 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.5118, allocations: 0 / 0.6076 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.5119, allocations: 0 / 0.6076 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5119, allocations: 4 kB / 0.6076 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.5119, allocations: 0 / 0.6076 GB, free: 11.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.5122, allocations: 225.9 kB / 0.6078 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5122, allocations: 0 / 0.6078 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000234/0.5124, allocations: 75.81 kB / 0.6078 GB, free: 11.29 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.414e-05/0.5125, allocations: 91.78 kB / 0.6079 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.5127, allocations: 111.9 kB / 0.608 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5127, allocations: 0 / 0.608 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.5128, allocations: 15.94 kB / 0.6081 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.513, allocations: 24.95 kB / 0.6081 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.5137, allocations: 452.6 kB / 0.6085 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.5139, allocations: 0.7365 MB / 0.6092 GB, free: 9.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.5141, allocations: 29.92 kB / 0.6093 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.5141, allocations: 15.44 kB / 0.6093 GB, free: 9.762 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5141, allocations: 7.875 kB / 0.6093 GB, free: 9.754 MB / 426.7 MB Notification: Performance of Templates: time 0.003828/0.518, allocations: 1.614 MB / 0.6109 GB, free: 8.156 MB / 426.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches