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.001156/0.001156, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1533, allocations: 62.44 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003879/0.1572, allocations: 2.357 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1584, allocations: 0.6623 MB / 483 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.1585, allocations: 4 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.1586, allocations: 43.58 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1588, allocations: 71.33 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1591, allocations: 87.89 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1594, allocations: 339.2 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.1597, allocations: 167.4 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1599, allocations: 143.6 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1601, allocations: 151.4 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.1602, allocations: 35.98 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.1603, allocations: 36 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.1603, allocations: 75.75 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1605, allocations: 155.3 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.1608, allocations: 378.9 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1608, allocations: 0 / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1608, allocations: 0 / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1608, allocations: 0 / 484.7 MB, free: 0.5742 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.0009169/0.1617, allocations: 0.5812 MB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1618, allocations: 8.031 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.1621, allocations: 48.55 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1623, allocations: 215 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.1624, allocations: 25.16 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1624, allocations: 36.38 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1629, allocations: 278.2 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1629, allocations: 4 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.163, allocations: 12 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.163, allocations: 8 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.1634, allocations: 214.5 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.165, allocations: 1.02 MB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.1651, allocations: 30.56 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1651, allocations: 28.91 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1652, allocations: 0 / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1652, allocations: 30.56 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1652, allocations: 3.938 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.1654, allocations: 85.3 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1655, allocations: 51.41 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.1658, allocations: 322.8 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1658, allocations: 29.7 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.166, allocations: 230.8 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.166, allocations: 15.89 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.1661, allocations: 53.61 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1662, allocations: 330.9 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1664, allocations: 67.98 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1665, allocations: 97.67 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1667, allocations: 125.6 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1668, allocations: 0 / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003818/0.1671, allocations: 233.9 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1672, allocations: 7.938 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1672, allocations: 7.969 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1672, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.1675, allocations: 63.89 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1675, allocations: 0 / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1678, allocations: 39.53 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1678, allocations: 11.98 kB / 489 MB, free: 12.08 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.0001152/0.1679, allocations: 137.8 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.168, allocations: 19.75 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.168, allocations: 28.89 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.168, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1681, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1681, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.1686, allocations: 0.5071 MB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1687, allocations: 4 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1687, allocations: 4 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1687, allocations: 0 / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1687, allocations: 4.062 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1687, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1687, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.1689, allocations: 105.6 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1689, allocations: 104.8 kB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.169, allocations: 0 / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1691, allocations: 4.031 kB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.1691, allocations: 7.984 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1691, allocations: 0 / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1694, allocations: 218 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1694, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1696, allocations: 67.84 kB / 490.2 MB, free: 10.76 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.0001079/0.1697, allocations: 103.2 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.17, allocations: 115.9 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.17, allocations: 3.938 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.17, allocations: 12 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1703, allocations: 27 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.171, allocations: 367.6 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1713, allocations: 0.7479 MB / 491.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1714, allocations: 33.86 kB / 491.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.1715, allocations: 15.44 kB / 491.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1715, allocations: 0 / 491.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Templates: time 0.004233/0.1757, allocations: 1.753 MB / 493.3 MB, free: 7.551 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