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.0009481/0.0009481, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0009583/0.0009583, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.376/1.376, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.36 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004257/0.1441, allocations: 2.341 MB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1451, allocations: 0.6195 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.1452, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.277e-05/0.1453, allocations: 39.58 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1455, allocations: 75.33 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1458, allocations: 83.89 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1462, allocations: 351.2 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.1465, allocations: 143.5 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1467, allocations: 143.6 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1469, allocations: 151.4 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.147, allocations: 35.98 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.147, allocations: 32 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.1471, allocations: 79.75 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1472, allocations: 147.3 kB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1476, allocations: 374.9 kB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1476, allocations: 0 / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1476, allocations: 0 / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1476, allocations: 0 / 473.8 MB, free: 9.766 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.0008999/0.1485, allocations: 0.5772 MB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1486, allocations: 12.03 kB / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.1486, allocations: 36.56 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.1488, allocations: 199.9 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/0.1489, allocations: 33.2 kB / 474.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.149, allocations: 28.38 kB / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1494, allocations: 282.1 kB / 475 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1495, allocations: 7.938 kB / 475 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.1495, allocations: 12 kB / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.1495, allocations: 8 kB / 475 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.15, allocations: 222.5 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1516, allocations: 1.013 MB / 476.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.1517, allocations: 34.52 kB / 476.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1517, allocations: 28.92 kB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1518, allocations: 0 / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1518, allocations: 34.56 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1518, allocations: 0 / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002026/0.152, allocations: 77.34 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.152, allocations: 51.41 kB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1524, allocations: 322.8 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1524, allocations: 29.83 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1526, allocations: 242.7 kB / 477.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.1526, allocations: 7.906 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.1527, allocations: 53.61 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1528, allocations: 334.8 kB / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1529, allocations: 63.97 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1531, allocations: 97.61 kB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1533, allocations: 123.2 kB / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1533, allocations: 0 / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003653/0.1537, allocations: 233.3 kB / 478 MB, free: 5.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1537, allocations: 7.938 kB / 478 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1537, allocations: 7.984 kB / 478 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1537, allocations: 0 / 478 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.154, allocations: 55.91 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.154, allocations: 4 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1543, allocations: 43.55 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.1543, allocations: 8 kB / 478.1 MB, free: 5.285 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1544, allocations: 129.8 kB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1545, allocations: 23.75 kB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.1545, allocations: 24.84 kB / 478.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1545, allocations: 0 / 478.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1545, allocations: 4 kB / 478.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1545, allocations: 0 / 478.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.1551, allocations: 0.511 MB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1552, allocations: 0 / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1552, allocations: 7.984 kB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1552, allocations: 0 / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1552, allocations: 8 kB / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1552, allocations: 0 / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1552, allocations: 3.938 kB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1554, allocations: 101.8 kB / 478.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.1554, allocations: 104.8 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1555, allocations: 0 / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1556, allocations: 8 kB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1556, allocations: 0 / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1556, allocations: 0 / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.1559, allocations: 225.9 kB / 479.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 4.031 kB / 479.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1562, allocations: 63.84 kB / 479.3 MB, free: 3.969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.559e-05/0.1563, allocations: 91.25 kB / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1565, allocations: 123.8 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1565, allocations: 0 / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.1565, allocations: 11.94 kB / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1569, allocations: 28.95 kB / 479.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.1575, allocations: 383.4 kB / 479.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1578, allocations: 0.744 MB / 480.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.1579, allocations: 17.94 kB / 480.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.158, allocations: 19.44 kB / 480.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.158, allocations: 4 kB / 480.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004358/0.1624, allocations: 1.764 MB / 482.5 MB, free: 0.75 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