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.001134/0.001134, allocations: 177.2 kB / 17.06 MB, free: 5.094 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 11.86 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.0007974/0.0007974, allocations: 94.97 kB / 292.1 MB, free: 10.92 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.3219/0.3219, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3044, allocations: 61.9 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4165, allocations: 89.61 MB / 0.5971 GB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4168, allocations: 79.92 kB / 0.5972 GB, free: 5.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.4281, allocations: 4.412 MB / 0.6015 GB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4282, allocations: 0 / 0.6015 GB, free: 1.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4282, allocations: 8 kB / 0.6015 GB, free: 1.027 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.0007209/0.4289, allocations: 0.5264 MB / 0.602 GB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.429, allocations: 12.03 kB / 0.602 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.4291, allocations: 31.62 kB / 0.602 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4292, allocations: 189 kB / 0.6022 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4293, allocations: 32.64 kB / 0.6022 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.4294, allocations: 31.95 kB / 0.6023 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.4299, allocations: 270.2 kB / 0.6025 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4299, allocations: 3.938 kB / 0.6025 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.4299, allocations: 16 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4299, allocations: 12 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.4303, allocations: 214.5 kB / 0.6028 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.432, allocations: 1.029 MB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/0.4321, allocations: 46.45 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.4321, allocations: 0 / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4321, allocations: 30.56 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4321, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.4323, allocations: 69.56 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4324, allocations: 55.34 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4327, allocations: 302.1 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4328, allocations: 25.7 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4329, allocations: 226.8 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4329, allocations: 11.89 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.433, allocations: 8 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4331, allocations: 326.8 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4332, allocations: 63.97 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.4334, allocations: 99.92 kB / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4335, allocations: 68.5 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4335, allocations: 0 / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00039/0.4339, allocations: 237.3 kB / 0.6053 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.434, allocations: 11.95 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.434, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.434, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.4343, allocations: 59.89 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4343, allocations: 4.031 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.4346, allocations: 43.53 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4346, allocations: 15.98 kB / 0.6054 GB, free: 12.79 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.0001259/0.4347, allocations: 126.4 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4348, allocations: 27.61 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.4348, allocations: 24.89 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4348, allocations: 0 / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4348, allocations: 0 / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4349, allocations: 4 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.4354, allocations: 0.5033 MB / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4354, allocations: 0 / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.4354, allocations: 7.938 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4354, allocations: 0 / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4355, allocations: 0 / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4355, allocations: 7.984 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4355, allocations: 64 / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.4356, allocations: 107.5 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.4357, allocations: 104.8 kB / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4357, allocations: 0 / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4358, allocations: 11.98 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.4359, allocations: 4.031 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4359, allocations: 0 / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002323/0.4361, allocations: 229.9 kB / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4361, allocations: 0 / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.4364, allocations: 67.78 kB / 0.6066 GB, free: 11.45 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 9.04e-05/0.4365, allocations: 91.25 kB / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.4367, allocations: 111.9 kB / 0.6068 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4367, allocations: 8 kB / 0.6068 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.4367, allocations: 12 kB / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.437, allocations: 26.2 kB / 0.6068 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.4376, allocations: 448.4 kB / 0.6072 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.438, allocations: 0.7521 MB / 0.608 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.4381, allocations: 25.94 kB / 0.608 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4381, allocations: 15.44 kB / 0.608 GB, free: 9.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4382, allocations: 3.938 kB / 0.608 GB, free: 9.906 MB / 426.7 MB Notification: Performance of Templates: time 0.004349/0.4425, allocations: 1.607 MB / 0.6096 GB, free: 8.316 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/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