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.00125/0.00125, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009379/0.0009381, allocations: 91.98 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3217/0.3217, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002822, allocations: 8.219 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3193, allocations: 63.24 MB / 0.5192 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.4198, allocations: 90.67 MB / 0.6077 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4201, allocations: 77.12 kB / 0.6078 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4312, allocations: 4.479 MB / 0.6122 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4312, allocations: 0 / 0.6122 GB, free: 10.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4312, allocations: 4 kB / 0.6122 GB, free: 10.46 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.0008031/0.432, allocations: 0.5342 MB / 0.6127 GB, free: 9.875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4321, allocations: 12.03 kB / 0.6127 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.4324, allocations: 43.61 kB / 0.6128 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.4326, allocations: 206.6 kB / 0.613 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4327, allocations: 24.66 kB / 0.613 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.4328, allocations: 28 kB / 0.613 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.4333, allocations: 278.1 kB / 0.6133 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4333, allocations: 0 / 0.6133 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4333, allocations: 16.44 kB / 0.6133 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4334, allocations: 8 kB / 0.6133 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.4338, allocations: 210.5 kB / 0.6135 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.4355, allocations: 1.038 MB / 0.6145 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.4356, allocations: 30.58 kB / 0.6145 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4356, allocations: 3.984 kB / 0.6145 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4356, allocations: 38.5 kB / 0.6146 GB, free: 7.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.4356, allocations: 0 / 0.6146 GB, free: 7.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.4358, allocations: 65.58 kB / 0.6146 GB, free: 7.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4359, allocations: 59.53 kB / 0.6147 GB, free: 7.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.4362, allocations: 290 kB / 0.615 GB, free: 7.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4362, allocations: 29.7 kB / 0.615 GB, free: 7.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.4364, allocations: 234.8 kB / 0.6152 GB, free: 7.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.4364, allocations: 3.906 kB / 0.6152 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.4364, allocations: 4 kB / 0.6152 GB, free: 7.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4366, allocations: 338.8 kB / 0.6156 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.4367, allocations: 67.97 kB / 0.6156 GB, free: 6.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4369, allocations: 90.19 kB / 0.6157 GB, free: 6.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.437, allocations: 76.92 kB / 0.6158 GB, free: 6.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.437, allocations: 0 / 0.6158 GB, free: 6.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003877/0.4374, allocations: 233.9 kB / 0.616 GB, free: 6.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4374, allocations: 4 kB / 0.616 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4375, allocations: 4.031 kB / 0.616 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4375, allocations: 4 kB / 0.616 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.4378, allocations: 55.91 kB / 0.6161 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4378, allocations: 4 kB / 0.6161 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.438, allocations: 39.52 kB / 0.6161 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.438, allocations: 15.94 kB / 0.6161 GB, free: 6.199 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.0001271/0.4382, allocations: 133.7 kB / 0.6163 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.4382, allocations: 23.7 kB / 0.6163 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.4383, allocations: 32.83 kB / 0.6163 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4383, allocations: 0 / 0.6163 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4383, allocations: 0 / 0.6163 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4383, allocations: 0 / 0.6163 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.4389, allocations: 0.515 MB / 0.6168 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4389, allocations: 0 / 0.6168 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.4389, allocations: 4 kB / 0.6168 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.439, allocations: 0 / 0.6168 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.439, allocations: 4.062 kB / 0.6168 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.439, allocations: 0 / 0.6168 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.439, allocations: 4 kB / 0.6168 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.4391, allocations: 111.3 kB / 0.6169 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.4392, allocations: 100.9 kB / 0.617 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4392, allocations: 8.031 kB / 0.617 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4393, allocations: 0 / 0.617 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4394, allocations: 7.953 kB / 0.617 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4394, allocations: 0 / 0.617 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.4396, allocations: 221.9 kB / 0.6172 GB, free: 4.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4396, allocations: 0 / 0.6172 GB, free: 4.926 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.4399, allocations: 67.84 kB / 0.6173 GB, free: 4.859 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.0001212/0.44, allocations: 91.25 kB / 0.6174 GB, free: 4.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4402, allocations: 119.9 kB / 0.6175 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4403, allocations: 0 / 0.6175 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.4403, allocations: 15.94 kB / 0.6175 GB, free: 4.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4405, allocations: 20.88 kB / 0.6176 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006586/0.4412, allocations: 452.5 kB / 0.618 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4415, allocations: 0.7482 MB / 0.6187 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.4416, allocations: 29.92 kB / 0.6187 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.4416, allocations: 19.38 kB / 0.6188 GB, free: 3.312 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4417, allocations: 0 / 0.6188 GB, free: 3.312 MB / 426.7 MB Notification: Performance of Templates: time 0.003988/0.4456, allocations: 1.601 MB / 0.6203 GB, free: 1.723 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/jenkins/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