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.001028/0.001028, allocations: 93.12 kB / 16.99 MB, free: 5.938 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.001242/0.001242, allocations: 181.8 kB / 17.87 MB, free: 5.609 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.488/1.488, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2211/0.2211, allocations: 44.22 MB / 337.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003125, allocations: 8 kB / 409.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 61.92 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002541/0.1557, allocations: 1.854 MB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1567, allocations: 0.6005 MB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.1568, allocations: 4 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.082e-05/0.1569, allocations: 27.77 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1571, allocations: 67.83 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1573, allocations: 67.92 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1576, allocations: 220.1 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.1579, allocations: 122.8 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1581, allocations: 115.6 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1583, allocations: 119.5 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1584, allocations: 19.94 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-05/0.1584, allocations: 20 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1585, allocations: 47.83 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.1586, allocations: 77.58 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1589, allocations: 275.4 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1589, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1589, allocations: 4 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1589, allocations: 0 / 475.1 MB, free: 10.04 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.0009667/0.1599, allocations: 0.5342 MB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1599, allocations: 12.03 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.16, allocations: 31.62 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1603, allocations: 194.7 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-05/0.1604, allocations: 32.64 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1604, allocations: 31.95 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.161, allocations: 278 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.161, allocations: 0 / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.161, allocations: 12 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.161, allocations: 8 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.1614, allocations: 218.5 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1632, allocations: 1.017 MB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.1633, allocations: 42.45 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1633, allocations: 0 / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1633, allocations: 34.62 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1633, allocations: 0 / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002122/0.1636, allocations: 73.42 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1636, allocations: 55.53 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.164, allocations: 322.8 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.164, allocations: 33.64 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1642, allocations: 226.8 kB / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1642, allocations: 15.89 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.1642, allocations: 4 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1644, allocations: 330.8 kB / 478.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1645, allocations: 67.97 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1646, allocations: 94.67 kB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1648, allocations: 72.5 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1648, allocations: 0 / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003675/0.1652, allocations: 237.3 kB / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1652, allocations: 4 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1652, allocations: 8.031 kB / 479 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1652, allocations: 0 / 479 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1655, allocations: 55.89 kB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1655, allocations: 4 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1658, allocations: 39.53 kB / 479.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1658, allocations: 8 kB / 479.1 MB, free: 5.766 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.0001207/0.1659, allocations: 134.4 kB / 479.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.166, allocations: 23.67 kB / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.166, allocations: 36.78 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.166, allocations: 0 / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1661, allocations: 0 / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1661, allocations: 3.984 kB / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.1667, allocations: 0.4994 MB / 479.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1667, allocations: 0 / 479.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.1667, allocations: 7.938 kB / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1667, allocations: 7.938 kB / 479.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1667, allocations: 4.062 kB / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1667, allocations: 0 / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.1668, allocations: 4 kB / 479.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1669, allocations: 111.4 kB / 479.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.167, allocations: 100.8 kB / 480 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.167, allocations: 8.031 kB / 480.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1672, allocations: 4 kB / 480.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.1672, allocations: 7.984 kB / 480.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1672, allocations: 0 / 480.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1674, allocations: 221.9 kB / 480.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1675, allocations: 0 / 480.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1677, allocations: 63.84 kB / 480.3 MB, free: 4.426 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.0001023/0.1679, allocations: 103.2 kB / 480.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1681, allocations: 115.9 kB / 480.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1681, allocations: 0 / 480.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.1682, allocations: 15.94 kB / 480.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1684, allocations: 24.83 kB / 480.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.1691, allocations: 448.5 kB / 481 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1694, allocations: 0.7482 MB / 481.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1695, allocations: 25.92 kB / 481.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1696, allocations: 19.44 kB / 481.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1696, allocations: 0 / 481.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Templates: time 0.004522/0.1741, allocations: 1.592 MB / 483.4 MB, free: 1.285 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches