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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007965/0.0007966, allocations: 97.72 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009409/0.000941, allocations: 194.4 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2657/0.2657, allocations: 46.19 MB / 344.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 8.219 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.159, allocations: 63.56 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00271/0.1618, allocations: 1.96 MB / 484.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1628, allocations: 0.6392 MB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.1629, allocations: 4 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.163, allocations: 31.77 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1631, allocations: 55.53 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1634, allocations: 71.92 kB / 485.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.1637, allocations: 311.3 kB / 485.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.164, allocations: 110.9 kB / 485.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1642, allocations: 119.6 kB / 485.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1644, allocations: 123.5 kB / 485.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.1645, allocations: 16 kB / 485.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.1645, allocations: 23.94 kB / 485.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.1646, allocations: 55.77 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.1647, allocations: 77.58 kB / 486 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.165, allocations: 279.4 kB / 486.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.165, allocations: 0 / 486.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.165, allocations: 0 / 486.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.165, allocations: 0 / 486.3 MB, free: 0.6367 MB / 350.1 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.0008626/0.1659, allocations: 0.5342 MB / 486.8 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1659, allocations: 8.031 kB / 486.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.1663, allocations: 47.67 kB / 486.8 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1665, allocations: 202.6 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.1666, allocations: 28.59 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.1666, allocations: 32 kB / 487.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.1672, allocations: 278.1 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1672, allocations: 3.938 kB / 487.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1672, allocations: 16 kB / 487.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1672, allocations: 8 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.1676, allocations: 214.5 kB / 487.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.1693, allocations: 1.032 MB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.1694, allocations: 38.48 kB / 488.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.1695, allocations: 28.92 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1695, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1695, allocations: 34.56 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1695, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.1697, allocations: 77.42 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1698, allocations: 51.41 kB / 488.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.1701, allocations: 318.8 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1701, allocations: 29.7 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1703, allocations: 226.8 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.1703, allocations: 19.83 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1703, allocations: 4 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1705, allocations: 342.9 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1706, allocations: 59.98 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1708, allocations: 93.67 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1709, allocations: 72.98 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1709, allocations: 0 / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003654/0.1713, allocations: 233.9 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1713, allocations: 14.66 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1713, allocations: 0 / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1714, allocations: 0 / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1716, allocations: 55.95 kB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1716, allocations: 7.875 kB / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1718, allocations: 43.47 kB / 490.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1719, allocations: 15.98 kB / 490.4 MB, free: 12.29 MB / 366.1 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.0001218/0.172, allocations: 133.8 kB / 490.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.172, allocations: 23.72 kB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.1721, allocations: 20.89 kB / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1721, allocations: 0 / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1721, allocations: 0 / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1721, allocations: 0 / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.1727, allocations: 0.5033 MB / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1727, allocations: 0 / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.1727, allocations: 8.062 kB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1727, allocations: 3.938 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1728, allocations: 8 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1728, allocations: 3.984 kB / 491.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1728, allocations: 0 / 491.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1729, allocations: 93.67 kB / 491.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.173, allocations: 100.9 kB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.173, allocations: 4 kB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.1731, allocations: 7.984 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.1731, allocations: 0 / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1732, allocations: 0 / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.1734, allocations: 229.9 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1734, allocations: 0 / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1737, allocations: 71.7 kB / 491.6 MB, free: 10.98 MB / 366.1 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.0001062/0.1738, allocations: 103.7 kB / 491.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1741, allocations: 111.9 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1741, allocations: 0 / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.1741, allocations: 8 kB / 491.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1744, allocations: 24.88 kB / 491.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.1751, allocations: 452.4 kB / 492.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1754, allocations: 0.7443 MB / 493 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1755, allocations: 29.92 kB / 493 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.1756, allocations: 19.44 kB / 493.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1756, allocations: 0 / 493.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004644/0.1802, allocations: 1.614 MB / 494.7 MB, free: 7.832 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches