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.001253/0.001253, allocations: 100 kB / 18.01 MB, free: 5.73 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.001482/0.001482, allocations: 177.8 kB / 18.91 MB, free: 4.871 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.387/1.387, allocations: 223.3 MB / 242.9 MB, free: 14.37 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.2093/0.2093, allocations: 44.23 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003163, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1001, allocations: 61.91 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002452/0.1026, allocations: 2.035 MB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1036, allocations: 0.6118 MB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1038, allocations: 8 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.1039, allocations: 27.77 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1041, allocations: 59.52 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1043, allocations: 71.94 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1046, allocations: 327.2 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1049, allocations: 135.9 kB / 476.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1051, allocations: 111.6 kB / 476.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1053, allocations: 131.4 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1054, allocations: 16 kB / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.733e-05/0.1054, allocations: 16 kB / 476.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1055, allocations: 59.75 kB / 476.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1056, allocations: 157 kB / 476.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1059, allocations: 283.4 kB / 476.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1059, allocations: 4 kB / 476.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1059, allocations: 0 / 476.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1059, allocations: 0 / 476.9 MB, free: 9.273 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.0008213/0.1067, allocations: 0.5266 MB / 477.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1068, allocations: 8.031 kB / 477.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.1069, allocations: 32.56 kB / 477.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.107, allocations: 202.9 kB / 477.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.1071, allocations: 33.14 kB / 477.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.1072, allocations: 32.38 kB / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.1077, allocations: 282.1 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1077, allocations: 0 / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.1078, allocations: 12 kB / 478.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1078, allocations: 12 kB / 478.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1082, allocations: 218.5 kB / 478.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1099, allocations: 1.02 MB / 479.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.11, allocations: 38.5 kB / 479.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.11, allocations: 24.92 kB / 479.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.11, allocations: 0 / 479.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1101, allocations: 30.56 kB / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1101, allocations: 0 / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002051/0.1103, allocations: 77.44 kB / 479.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1103, allocations: 55.34 kB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.1107, allocations: 327 kB / 479.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1108, allocations: 25.7 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1109, allocations: 230.8 kB / 480.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.1109, allocations: 11.84 kB / 480.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.111, allocations: 29.7 kB / 480.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1111, allocations: 330.8 kB / 480.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1112, allocations: 67.97 kB / 480.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1114, allocations: 98.67 kB / 480.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1116, allocations: 122.2 kB / 480.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1116, allocations: 3.938 kB / 480.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004013/0.112, allocations: 237.3 kB / 481 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1121, allocations: 10.75 kB / 481 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1121, allocations: 4 kB / 481 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1121, allocations: 4.031 kB / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.1124, allocations: 55.91 kB / 481 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1124, allocations: 4 kB / 481 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1127, allocations: 39.58 kB / 481.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1127, allocations: 8 kB / 481.1 MB, free: 4.879 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.0001101/0.1128, allocations: 129.8 kB / 481.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1129, allocations: 23.66 kB / 481.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.113, allocations: 28.84 kB / 481.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.113, allocations: 4 kB / 481.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.113, allocations: 0 / 481.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.113, allocations: 3.984 kB / 481.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.1136, allocations: 0.511 MB / 481.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1136, allocations: 0 / 481.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.1136, allocations: 8 kB / 481.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1136, allocations: 0 / 481.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1137, allocations: 0 / 481.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1137, allocations: 8.062 kB / 481.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1137, allocations: 0 / 481.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1138, allocations: 101.6 kB / 481.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1139, allocations: 104.8 kB / 482 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1139, allocations: 4 kB / 482 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.114, allocations: 0 / 482 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1141, allocations: 8.031 kB / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1141, allocations: 0 / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1143, allocations: 225.9 kB / 482.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1143, allocations: 0 / 482.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1146, allocations: 63.84 kB / 482.3 MB, free: 3.555 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.541e-05/0.1147, allocations: 91.78 kB / 482.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.115, allocations: 123.9 kB / 482.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.115, allocations: 0 / 482.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.115, allocations: 15.88 kB / 482.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1153, allocations: 28.77 kB / 482.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.1161, allocations: 0.506 MB / 483.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1164, allocations: 0.7404 MB / 483.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.1165, allocations: 23.42 kB / 483.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1165, allocations: 0 / 483.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004649/0.1211, allocations: 2.656 MB / 486.5 MB, free: 15.29 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/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