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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 200.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 226.5 MB / 245.4 MB, free: 8.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008004/0.0008005, allocations: 100.3 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3726/0.3726, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003146, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 62.95 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4928, allocations: 90.54 MB / 0.6068 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4931, allocations: 79.94 kB / 0.6069 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01225/0.5054, allocations: 4.459 MB / 0.6113 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5054, allocations: 0 / 0.6113 GB, free: 10.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.5055, allocations: 4 kB / 0.6113 GB, free: 10.21 MB / 426.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.0008799/0.5063, allocations: 0.5304 MB / 0.6118 GB, free: 9.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5064, allocations: 12.03 kB / 0.6118 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.5067, allocations: 44.55 kB / 0.6118 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.5069, allocations: 203.9 kB / 0.612 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.507, allocations: 29.22 kB / 0.6121 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.5071, allocations: 32.38 kB / 0.6121 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.5075, allocations: 278.6 kB / 0.6124 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5076, allocations: 3.938 kB / 0.6124 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.5076, allocations: 12 kB / 0.6124 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5076, allocations: 4 kB / 0.6124 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.508, allocations: 218.5 kB / 0.6126 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.5098, allocations: 1.033 MB / 0.6136 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.106e-05/0.5099, allocations: 30.56 kB / 0.6136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.5099, allocations: 24.92 kB / 0.6137 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.51, allocations: 4 kB / 0.6137 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.51, allocations: 38.5 kB / 0.6137 GB, free: 7.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.51, allocations: 0 / 0.6137 GB, free: 7.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.5102, allocations: 77.36 kB / 0.6138 GB, free: 7.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5103, allocations: 51.41 kB / 0.6138 GB, free: 7.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.5109, allocations: 322.8 kB / 0.6141 GB, free: 7.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.511, allocations: 25.83 kB / 0.6141 GB, free: 7.055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.5112, allocations: 234.8 kB / 0.6144 GB, free: 6.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.5113, allocations: 11.89 kB / 0.6144 GB, free: 6.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.5113, allocations: 4 kB / 0.6144 GB, free: 6.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5115, allocations: 334.8 kB / 0.6147 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.5117, allocations: 55.98 kB / 0.6148 GB, free: 6.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.5121, allocations: 95.42 kB / 0.6149 GB, free: 6.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.5125, allocations: 126.1 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5125, allocations: 4 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007639/0.5133, allocations: 225.4 kB / 0.6152 GB, free: 5.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5134, allocations: 10.66 kB / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5134, allocations: 0 / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.5134, allocations: 3.938 kB / 0.6152 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.5139, allocations: 59.89 kB / 0.6153 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.514, allocations: 8.016 kB / 0.6153 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.5145, allocations: 43.44 kB / 0.6153 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.5145, allocations: 15.98 kB / 0.6153 GB, free: 5.82 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 0.0002228/0.5148, allocations: 125.8 kB / 0.6154 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.5149, allocations: 27.69 kB / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.515, allocations: 24.83 kB / 0.6155 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.515, allocations: 0 / 0.6155 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.515, allocations: 3.938 kB / 0.6155 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.5151, allocations: 8 kB / 0.6155 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5161, allocations: 0.4993 MB / 0.616 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5162, allocations: 0 / 0.616 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.5162, allocations: 11.92 kB / 0.616 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.5163, allocations: 0 / 0.616 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.5163, allocations: 8 kB / 0.616 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.5163, allocations: 0 / 0.616 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5163, allocations: 3.984 kB / 0.616 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.5166, allocations: 93.81 kB / 0.6161 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.5168, allocations: 104.8 kB / 0.6162 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.5168, allocations: 0 / 0.6162 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.517, allocations: 7.984 kB / 0.6162 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.5171, allocations: 0 / 0.6162 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5171, allocations: 4 kB / 0.6162 GB, free: 4.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.5176, allocations: 230 kB / 0.6164 GB, free: 4.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.928e-06/0.5176, allocations: 0 / 0.6164 GB, free: 4.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005132/0.5181, allocations: 67.78 kB / 0.6165 GB, free: 4.492 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 0.000167/0.5183, allocations: 91.25 kB / 0.6166 GB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.5187, allocations: 115.9 kB / 0.6167 GB, free: 4.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5188, allocations: 0 / 0.6167 GB, free: 4.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.5188, allocations: 12.05 kB / 0.6167 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.5193, allocations: 20.83 kB / 0.6167 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5204, allocations: 464.3 kB / 0.6172 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.5208, allocations: 0.7443 MB / 0.6179 GB, free: 2.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.521, allocations: 21.94 kB / 0.6179 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.5211, allocations: 15.44 kB / 0.6179 GB, free: 2.957 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5211, allocations: 0 / 0.6179 GB, free: 2.957 MB / 426.7 MB Notification: Performance of Templates: time 0.007221/0.5284, allocations: 1.614 MB / 0.6195 GB, free: 1.355 MB / 426.7 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches