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.001102/0.001106, allocations: 95.77 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001241, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.2 MB / 245.9 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 45.91 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 63.46 MB / 481.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002414/0.1664, allocations: 1.866 MB / 483.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1675, allocations: 0.6433 MB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.1676, allocations: 4 kB / 483.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.176e-05/0.1676, allocations: 31.77 kB / 483.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1678, allocations: 75.77 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1681, allocations: 63.92 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1683, allocations: 220.1 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1686, allocations: 110.9 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1688, allocations: 115.6 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.169, allocations: 127.4 kB / 484.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.169, allocations: 16 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.1691, allocations: 24 kB / 484.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.1691, allocations: 47.83 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1692, allocations: 77.52 kB / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1695, allocations: 279.4 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1695, allocations: 0 / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1695, allocations: 0 / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1695, allocations: 0 / 485.1 MB, free: 1.727 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.0008215/0.1704, allocations: 0.5419 MB / 485.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1704, allocations: 8.031 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.1708, allocations: 47.61 kB / 485.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.171, allocations: 202.6 kB / 485.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.1711, allocations: 32.59 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.1712, allocations: 28 kB / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.1717, allocations: 274.1 kB / 486.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1717, allocations: 0 / 486.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.1718, allocations: 16 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1718, allocations: 8 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1722, allocations: 214.5 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1741, allocations: 1.032 MB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.1742, allocations: 26.58 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.1742, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1742, allocations: 34.56 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1742, allocations: 64 / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002363/0.1745, allocations: 81.34 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1745, allocations: 55.41 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1749, allocations: 318.8 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.175, allocations: 25.7 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.1752, allocations: 230.9 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1752, allocations: 15.91 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.1753, allocations: 4 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.1755, allocations: 338.6 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1756, allocations: 67.97 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1758, allocations: 93.67 kB / 488.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.176, allocations: 69 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.176, allocations: 4 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004211/0.1765, allocations: 237.9 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1765, allocations: 4 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1765, allocations: 0 / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1765, allocations: 4 kB / 489 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1768, allocations: 59.91 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1769, allocations: 4 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.1771, allocations: 43.55 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1771, allocations: 8 kB / 489.1 MB, free: 13.42 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.0001691/0.1773, allocations: 137.7 kB / 489.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1774, allocations: 19.72 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.1774, allocations: 24.89 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1774, allocations: 0 / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1774, allocations: 0 / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1775, allocations: 0 / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.1782, allocations: 0.515 MB / 489.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1782, allocations: 0 / 489.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1782, allocations: 4 kB / 489.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1782, allocations: 0 / 489.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1782, allocations: 7.922 kB / 489.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1782, allocations: 0 / 489.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.1783, allocations: 4 kB / 489.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1784, allocations: 119.4 kB / 490 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1785, allocations: 100.8 kB / 490.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1785, allocations: 4 kB / 490.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1787, allocations: 0 / 490.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1787, allocations: 7.953 kB / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1787, allocations: 0 / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.179, allocations: 226 kB / 490.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.179, allocations: 3.938 kB / 490.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1793, allocations: 63.84 kB / 490.4 MB, free: 12.07 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.0001167/0.1794, allocations: 99.72 kB / 490.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1797, allocations: 115.9 kB / 490.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1797, allocations: 0 / 490.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.1797, allocations: 11.94 kB / 490.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1799, allocations: 25.08 kB / 490.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.1807, allocations: 452.3 kB / 491 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.181, allocations: 0.7482 MB / 491.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1811, allocations: 17.94 kB / 491.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.1812, allocations: 27.42 kB / 491.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1812, allocations: 0 / 491.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Templates: time 0.004448/0.1857, allocations: 1.606 MB / 493.4 MB, free: 8.938 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches