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.001361/0.00136, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001603/0.001603, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.385/1.385, allocations: 222.9 MB / 242.9 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.214/0.2141, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.12 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003552/0.1172, allocations: 2.353 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1182, allocations: 0.6233 MB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.1183, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.902e-05/0.1184, allocations: 39.58 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.1186, allocations: 67.34 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1189, allocations: 91.88 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1191, allocations: 343.2 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1194, allocations: 155.4 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1196, allocations: 135.6 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1198, allocations: 159.4 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1199, allocations: 32 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.1199, allocations: 32 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.12, allocations: 75.77 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1201, allocations: 159.3 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1204, allocations: 374.9 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1204, allocations: 0 / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1204, allocations: 0 / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1205, allocations: 0 / 474.5 MB, free: 9.738 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.0008734/0.1213, allocations: 0.5733 MB / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1214, allocations: 12.03 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.1214, allocations: 32.56 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1216, allocations: 199.9 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1217, allocations: 29.22 kB / 475.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.1218, allocations: 32.31 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1223, allocations: 290.1 kB / 475.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1223, allocations: 0 / 475.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1223, allocations: 16 kB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1223, allocations: 8 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.1227, allocations: 210.5 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1243, allocations: 1.017 MB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.1244, allocations: 30.52 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1245, allocations: 28.91 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1245, allocations: 0 / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1245, allocations: 34.56 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1245, allocations: 4 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.1247, allocations: 77.36 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1248, allocations: 55.34 kB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.1251, allocations: 322.8 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1252, allocations: 25.7 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1253, allocations: 230.8 kB / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1253, allocations: 15.88 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.1254, allocations: 53.61 kB / 477.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1255, allocations: 338.9 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1257, allocations: 67.91 kB / 478.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1258, allocations: 89.69 kB / 478.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1261, allocations: 119.2 kB / 478.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1261, allocations: 3.938 kB / 478.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003772/0.1264, allocations: 237.3 kB / 478.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1265, allocations: 11.94 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1265, allocations: 0 / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1265, allocations: 4 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.1268, allocations: 63.89 kB / 478.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1268, allocations: 4 kB / 478.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1271, allocations: 35.53 kB / 478.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1271, allocations: 8 kB / 478.8 MB, free: 5.27 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.0001102/0.1272, allocations: 133.8 kB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1273, allocations: 27.75 kB / 478.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.1273, allocations: 24.84 kB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1273, allocations: 0 / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1273, allocations: 0 / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1273, allocations: 4 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.1279, allocations: 0.5071 MB / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1279, allocations: 0 / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.128, allocations: 4.062 kB / 479.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.128, allocations: 4 kB / 479.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.128, allocations: 4 kB / 479.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.128, allocations: 0 / 479.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.128, allocations: 0 / 479.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.1281, allocations: 101.7 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.1282, allocations: 104.8 kB / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.1282, allocations: 4.031 kB / 479.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1284, allocations: 4 kB / 479.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1284, allocations: 3.984 kB / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1284, allocations: 0 / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1286, allocations: 222 kB / 479.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1287, allocations: 0 / 479.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1289, allocations: 63.84 kB / 480 MB, free: 3.961 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.536e-05/0.129, allocations: 99.22 kB / 480.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1293, allocations: 119.9 kB / 480.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.1293, allocations: 0 / 480.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.1293, allocations: 15.88 kB / 480.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1296, allocations: 28.75 kB / 480.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.1302, allocations: 409.3 kB / 480.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1305, allocations: 0.7401 MB / 481.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.1306, allocations: 23.42 kB / 481.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1306, allocations: 0 / 481.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Templates: time 0.004277/0.1349, allocations: 2.7 MB / 484.1 MB, free: 15.78 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