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.001074/0.001074, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.219/1.219, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.000842, allocations: 98.77 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1794/0.1794, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.167e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3403/0.4531, allocations: 89.53 MB / 0.5891 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4534, allocations: 75.95 kB / 0.5892 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4642, allocations: 4.408 MB / 0.5935 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4642, allocations: 4 kB / 0.5935 GB, free: 11.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4642, allocations: 15.88 kB / 0.5935 GB, free: 11.31 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.0006408/0.4649, allocations: 0.5052 MB / 0.594 GB, free: 10.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4649, allocations: 8.031 kB / 0.594 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.465, allocations: 27.72 kB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4652, allocations: 203.2 kB / 0.5943 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.4653, allocations: 32.77 kB / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.4653, allocations: 31.95 kB / 0.5943 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.4658, allocations: 263.8 kB / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4658, allocations: 0 / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.4658, allocations: 12 kB / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4658, allocations: 8 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.4662, allocations: 207.1 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.4677, allocations: 1.033 MB / 0.5958 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.4678, allocations: 30.53 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.4679, allocations: 24.92 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4679, allocations: 4 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4679, allocations: 42.33 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4679, allocations: 0 / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.4681, allocations: 61.52 kB / 0.5959 GB, free: 8.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4682, allocations: 51.41 kB / 0.596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.4685, allocations: 283.3 kB / 0.5963 GB, free: 8.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4685, allocations: 25.7 kB / 0.5963 GB, free: 8.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4686, allocations: 238.8 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.4686, allocations: 11.91 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.4687, allocations: 4 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4688, allocations: 330.8 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.4689, allocations: 56 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.469, allocations: 82.7 kB / 0.597 GB, free: 7.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4691, allocations: 72.48 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4692, allocations: 3.938 kB / 0.5971 GB, free: 7.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000309/0.4695, allocations: 225.3 kB / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4695, allocations: 4 kB / 0.5973 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4695, allocations: 0 / 0.5973 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4695, allocations: 4 kB / 0.5973 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.4698, allocations: 55.91 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4698, allocations: 4 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4701, allocations: 43.52 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4701, allocations: 8 kB / 0.5974 GB, free: 7.145 MB / 410.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 () * 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 6.972e-05/0.4702, allocations: 113 kB / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.4702, allocations: 19.77 kB / 0.5975 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.4703, allocations: 24.89 kB / 0.5975 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4703, allocations: 0 / 0.5975 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4703, allocations: 3.938 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4703, allocations: 3.984 kB / 0.5975 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.4709, allocations: 0.5188 MB / 0.598 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4709, allocations: 4.062 kB / 0.5981 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.4709, allocations: 4 kB / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.4709, allocations: 0 / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.4709, allocations: 0 / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4709, allocations: 4.438 kB / 0.5981 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4709, allocations: 0 / 0.5981 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4711, allocations: 111.4 kB / 0.5982 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.4711, allocations: 104.8 kB / 0.5983 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4712, allocations: 7.938 kB / 0.5983 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4713, allocations: 4 kB / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.4713, allocations: 0 / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.4713, allocations: 0 / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.4715, allocations: 219.1 kB / 0.5985 GB, free: 5.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4715, allocations: 0 / 0.5985 GB, free: 5.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00024/0.4718, allocations: 63.84 kB / 0.5985 GB, free: 5.832 MB / 410.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 () * 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.653e-05/0.4719, allocations: 95.28 kB / 0.5986 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4721, allocations: 111.9 kB / 0.5987 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4721, allocations: 0 / 0.5987 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.4721, allocations: 11.94 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4723, allocations: 30.84 kB / 0.5988 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.4727, allocations: 232 kB / 0.599 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.473, allocations: 0.748 MB / 0.5997 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4731, allocations: 22.08 kB / 0.5998 GB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4732, allocations: 19.42 kB / 0.5998 GB, free: 4.516 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4732, allocations: 0 / 0.5998 GB, free: 4.516 MB / 410.7 MB Notification: Performance of Templates: time 0.003819/0.477, allocations: 1.615 MB / 0.6014 GB, free: 2.918 MB / 410.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/jenkins/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