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.0007767/0.0007768, allocations: 95.19 kB / 17.35 MB, free: 6.371 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.0007948/0.0007948, allocations: 176.2 kB / 18.26 MB, free: 5.52 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.363/1.363, allocations: 223.3 MB / 242.3 MB, free: 196 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.2188/0.2188, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003801, allocations: 11.06 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 61.91 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002322/0.1164, allocations: 2.039 MB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.1172, allocations: 0.6157 MB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.1173, allocations: 4 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.1173, allocations: 23.78 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1175, allocations: 59.52 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.1177, allocations: 71.94 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.118, allocations: 327.2 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1182, allocations: 135.9 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1184, allocations: 107.6 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1186, allocations: 139.4 kB / 475.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1186, allocations: 16 kB / 475.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.1187, allocations: 16 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1187, allocations: 51.77 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1189, allocations: 161 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1191, allocations: 354.9 kB / 476.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1192, allocations: 0 / 476.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1192, allocations: 0 / 476.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1192, allocations: 0 / 476.3 MB, free: 9.238 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.0007801/0.12, allocations: 0.5288 MB / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.12, allocations: 12.03 kB / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.1201, allocations: 32.56 kB / 476.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1202, allocations: 200 kB / 477.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.251e-05/0.1203, allocations: 25.22 kB / 477.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.1204, allocations: 36.31 kB / 477.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.1209, allocations: 286.2 kB / 477.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1209, allocations: 4 kB / 477.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.1209, allocations: 11.94 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1209, allocations: 8 kB / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.1213, allocations: 214.5 kB / 477.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1229, allocations: 1.028 MB / 478.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.123, allocations: 30.58 kB / 478.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1231, allocations: 24.92 kB / 478.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1231, allocations: 0 / 478.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1231, allocations: 34.56 kB / 478.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1231, allocations: 0 / 478.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.1233, allocations: 81.38 kB / 478.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1233, allocations: 55.53 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.1237, allocations: 322.8 kB / 479.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1237, allocations: 25.7 kB / 479.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1239, allocations: 226.8 kB / 479.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.1239, allocations: 15.84 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1239, allocations: 25.7 kB / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.124, allocations: 338.8 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1242, allocations: 63.97 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1243, allocations: 94.69 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1245, allocations: 126.1 kB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1245, allocations: 0 / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003719/0.1249, allocations: 233.4 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1249, allocations: 11.94 kB / 480.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1249, allocations: 8.031 kB / 480.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.125, allocations: 3.938 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1253, allocations: 63.89 kB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1253, allocations: 3.984 kB / 480.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.1255, allocations: 39.58 kB / 480.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1255, allocations: 8 kB / 480.5 MB, free: 4.832 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.0001091/0.1257, allocations: 133.8 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.1257, allocations: 31.66 kB / 480.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.1257, allocations: 24.84 kB / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1258, allocations: 0 / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1258, allocations: 0 / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1258, allocations: 4 kB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.1263, allocations: 0.5033 MB / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1263, allocations: 0 / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.1264, allocations: 4 kB / 481.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1264, allocations: 4.062 kB / 481.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1264, allocations: 4 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1264, allocations: 0 / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1264, allocations: 0 / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1265, allocations: 105.6 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.1266, allocations: 104.8 kB / 481.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1266, allocations: 0 / 481.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1268, allocations: 8.031 kB / 481.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.1268, allocations: 3.984 kB / 481.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1268, allocations: 0 / 481.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.127, allocations: 222 kB / 481.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.127, allocations: 0 / 481.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1273, allocations: 63.84 kB / 481.7 MB, free: 3.516 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 9.593e-05/0.1274, allocations: 95.77 kB / 481.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1277, allocations: 119.9 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1277, allocations: 0 / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.1277, allocations: 15.94 kB / 481.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.128, allocations: 32.69 kB / 482 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.1288, allocations: 492.4 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1292, allocations: 0.7443 MB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.1293, allocations: 25.94 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.1294, allocations: 15.44 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1294, allocations: 0 / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Templates: time 0.004793/0.1342, allocations: 1.653 MB / 484.9 MB, free: 280 kB / 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