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.0007846/0.0007848, allocations: 96.08 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002835/0.1583, allocations: 2.044 MB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1597, allocations: 0.6624 MB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.1598, allocations: 4 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.019e-05/0.1599, allocations: 31.77 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1601, allocations: 59.47 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1604, allocations: 71.92 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1607, allocations: 331.2 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.161, allocations: 131.9 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1613, allocations: 119.6 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1615, allocations: 131.4 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1616, allocations: 16 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.1617, allocations: 20 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1617, allocations: 55.77 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1619, allocations: 168.9 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1623, allocations: 358.8 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1623, allocations: 3.938 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1623, allocations: 0 / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1623, allocations: 0 / 487.3 MB, free: 15.95 MB / 366.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.0009092/0.1632, allocations: 0.5305 MB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1633, allocations: 12.88 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.1636, allocations: 44.55 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1638, allocations: 196 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/0.1639, allocations: 33.2 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.164, allocations: 28.38 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.1645, allocations: 282.2 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1645, allocations: 0 / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1645, allocations: 12 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1645, allocations: 8 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1649, allocations: 222.5 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.1667, allocations: 1.028 MB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.1668, allocations: 34.58 kB / 489.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.1669, allocations: 24.92 kB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1669, allocations: 0 / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1669, allocations: 30.56 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1669, allocations: 0 / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002379/0.1672, allocations: 77.38 kB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1673, allocations: 55.53 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.1677, allocations: 326.8 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1677, allocations: 25.7 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1679, allocations: 234.8 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1679, allocations: 11.83 kB / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.168, allocations: 29.7 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1682, allocations: 330.8 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1683, allocations: 67.98 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.1685, allocations: 93.67 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.1688, allocations: 131.1 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1688, allocations: 0 / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004546/0.1692, allocations: 237.3 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1693, allocations: 11.97 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1693, allocations: 4 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1693, allocations: 0 / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.1697, allocations: 51.95 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1697, allocations: 4 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1699, allocations: 35.59 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.17, allocations: 11.94 kB / 491.4 MB, free: 11.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.1701, allocations: 133.8 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1702, allocations: 27.66 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1702, allocations: 24.84 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1703, allocations: 3.984 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1703, allocations: 0 / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1703, allocations: 0 / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.171, allocations: 0.5072 MB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.171, allocations: 0 / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.171, allocations: 4 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.171, allocations: 4.062 kB / 492.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.171, allocations: 0 / 492.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1711, allocations: 7.938 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1711, allocations: 0 / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1712, allocations: 105.6 kB / 492.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.1713, allocations: 104.8 kB / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1714, allocations: 4.031 kB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1715, allocations: 3.938 kB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1715, allocations: 7.984 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1715, allocations: 0 / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1718, allocations: 226 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1718, allocations: 0 / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1721, allocations: 63.84 kB / 492.6 MB, free: 10.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.1722, allocations: 95.19 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1725, allocations: 119.9 kB / 492.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1725, allocations: 0 / 492.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.1725, allocations: 8 kB / 492.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1729, allocations: 28.81 kB / 492.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.1737, allocations: 492.4 kB / 493.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1741, allocations: 0.7443 MB / 494.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1742, allocations: 21.94 kB / 494.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.1743, allocations: 15.44 kB / 494.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1743, allocations: 4 kB / 494.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of Templates: time 0.004576/0.1788, allocations: 1.655 MB / 495.8 MB, free: 6.984 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