Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 94.12 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001246, allocations: 188.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003355/0.1606, allocations: 1.951 MB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1622, allocations: 0.5886 MB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1625, allocations: 4 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1627, allocations: 27.77 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.163, allocations: 63.53 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1633, allocations: 63.92 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.1638, allocations: 315.3 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.1641, allocations: 110.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1643, allocations: 111.6 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1646, allocations: 127.5 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.1647, allocations: 19.94 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.1647, allocations: 20 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.1648, allocations: 47.83 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.1649, allocations: 73.58 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1652, allocations: 275.5 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1652, allocations: 0 / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1653, allocations: 3.938 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1653, allocations: 4 kB / 475.4 MB, free: 9.855 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.001073/0.1664, allocations: 0.5303 MB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1664, allocations: 12.03 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1665, allocations: 35.62 kB / 476 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1668, allocations: 202.6 kB / 476.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1669, allocations: 28.64 kB / 476.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.167, allocations: 35.95 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.1677, allocations: 286 kB / 476.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1677, allocations: 0 / 476.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.1677, allocations: 12 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1678, allocations: 8 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1682, allocations: 218.5 kB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1703, allocations: 1.017 MB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.1704, allocations: 34.47 kB / 477.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.1705, allocations: 24.92 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1705, allocations: 4 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1706, allocations: 30.56 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.1706, allocations: 0 / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002399/0.1708, allocations: 81.34 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1709, allocations: 51.41 kB / 478 MB, free: 7.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.1713, allocations: 322.8 kB / 478.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1713, allocations: 25.7 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1715, allocations: 234.9 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1715, allocations: 15.84 kB / 478.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1715, allocations: 4 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1717, allocations: 330.8 kB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1718, allocations: 63.97 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.172, allocations: 98.67 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1722, allocations: 76.5 kB / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1722, allocations: 0 / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004189/0.1726, allocations: 237.3 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1726, allocations: 4 kB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1727, allocations: 0 / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1727, allocations: 4 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.173, allocations: 55.91 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.173, allocations: 4 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1732, allocations: 47.55 kB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1732, allocations: 4 kB / 479.5 MB, free: 5.539 MB / 350.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.0001398/0.1734, allocations: 134.3 kB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1734, allocations: 23.67 kB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.1735, allocations: 28.84 kB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1735, allocations: 0 / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1735, allocations: 0 / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1735, allocations: 0 / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.1742, allocations: 0.515 MB / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1742, allocations: 0 / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.1742, allocations: 4 kB / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1742, allocations: 0 / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1742, allocations: 0 / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1742, allocations: 0 / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1743, allocations: 0 / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1744, allocations: 105.7 kB / 480.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.1745, allocations: 104.8 kB / 480.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1745, allocations: 11.94 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.1746, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.1747, allocations: 3.938 kB / 480.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1747, allocations: 4 kB / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.175, allocations: 229.9 kB / 480.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.175, allocations: 0 / 480.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1753, allocations: 63.84 kB / 480.7 MB, free: 4.215 MB / 350.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.0001117/0.1754, allocations: 95.19 kB / 480.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1757, allocations: 119.9 kB / 480.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1757, allocations: 0 / 480.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.1757, allocations: 8 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.176, allocations: 34.27 kB / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.1768, allocations: 448.3 kB / 481.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1771, allocations: 0.7443 MB / 482.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.1772, allocations: 21.92 kB / 482.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1773, allocations: 23.44 kB / 482.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1773, allocations: 0 / 482.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Templates: time 0.005207/0.1825, allocations: 1.603 MB / 483.8 MB, free: 1.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches