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.001607/0.001607, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001803/0.001803, allocations: 194 kB / 18.12 MB, free: 5.363 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.454/1.454, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.2448/0.2448, allocations: 44.18 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 59.41 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003853/0.1501, allocations: 2.394 MB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1512, allocations: 0.6234 MB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1513, allocations: 4 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1514, allocations: 27.78 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1516, allocations: 63.45 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1519, allocations: 71.94 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1522, allocations: 331.2 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1526, allocations: 135.9 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1528, allocations: 119.6 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.153, allocations: 151.4 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.1531, allocations: 20 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.1531, allocations: 24 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1532, allocations: 63.77 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.1533, allocations: 151.2 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.1537, allocations: 359 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1537, allocations: 3.938 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1537, allocations: 7.938 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1537, allocations: 0 / 473 MB, free: 10.27 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.001072/0.1548, allocations: 0.5798 MB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1549, allocations: 8.031 kB / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.1549, allocations: 32.56 kB / 473.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1552, allocations: 203 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.1553, allocations: 29.22 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1553, allocations: 28.38 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.1558, allocations: 282.2 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1559, allocations: 0 / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.1559, allocations: 20 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.1559, allocations: 12 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.1563, allocations: 218.5 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1581, allocations: 1.013 MB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.1582, allocations: 34.62 kB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1583, allocations: 28.86 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1583, allocations: 0 / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1584, allocations: 30.56 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1584, allocations: 0 / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002408/0.1586, allocations: 81.3 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1587, allocations: 51.41 kB / 475.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.1591, allocations: 330.9 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1591, allocations: 25.7 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1593, allocations: 230.8 kB / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1593, allocations: 15.89 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.1594, allocations: 53.61 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1596, allocations: 330.8 kB / 476.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1598, allocations: 63.97 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1599, allocations: 95.44 kB / 476.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.1602, allocations: 130.1 kB / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1602, allocations: 0 / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004148/0.1606, allocations: 225.4 kB / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1606, allocations: 15.88 kB / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1606, allocations: 0 / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1607, allocations: 0 / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1609, allocations: 59.98 kB / 477.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.161, allocations: 4 kB / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1612, allocations: 39.53 kB / 477.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1612, allocations: 7.984 kB / 477.3 MB, free: 5.816 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.0001226/0.1613, allocations: 133.8 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1614, allocations: 19.75 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.1614, allocations: 24.84 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1614, allocations: 4 kB / 477.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1615, allocations: 0 / 477.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1615, allocations: 7.984 kB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.1621, allocations: 0.5149 MB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1621, allocations: 0 / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.1621, allocations: 4 kB / 478 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1621, allocations: 0 / 478 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1621, allocations: 0 / 478 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1621, allocations: 4 kB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1622, allocations: 7.984 kB / 478 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1623, allocations: 97.75 kB / 478.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1624, allocations: 104.8 kB / 478.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.1625, allocations: 3.938 kB / 478.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1626, allocations: 11.92 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1626, allocations: 0 / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1626, allocations: 4.031 kB / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.1628, allocations: 222 kB / 478.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 478.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1631, allocations: 63.84 kB / 478.5 MB, free: 4.488 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 0.0001096/0.1632, allocations: 95.77 kB / 478.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1635, allocations: 119.8 kB / 478.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1635, allocations: 0 / 478.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.1635, allocations: 12.06 kB / 478.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1639, allocations: 31.31 kB / 478.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.1647, allocations: 473.3 kB / 479.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1651, allocations: 0.7443 MB / 479.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1652, allocations: 25.92 kB / 480 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1653, allocations: 19.44 kB / 480 MB, free: 2.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1653, allocations: 0 / 480 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Templates: time 0.004994/0.1703, allocations: 1.665 MB / 481.6 MB, free: 1.262 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