Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.13 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 77.91 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1228, allocations: 62.46 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003659/0.1264, allocations: 2.36 MB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1276, allocations: 0.6701 MB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1277, allocations: 4 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.375e-05/0.1278, allocations: 39.58 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.128, allocations: 67.34 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1282, allocations: 91.81 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1286, allocations: 347.3 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1288, allocations: 151.4 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1291, allocations: 143.6 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1293, allocations: 155.4 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.1293, allocations: 32 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.1294, allocations: 40 kB / 484.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.1295, allocations: 71.75 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1296, allocations: 163.2 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.13, allocations: 378.9 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.13, allocations: 0 / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.13, allocations: 3.938 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1301, allocations: 0 / 485.5 MB, free: 0.5039 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.0008867/0.1309, allocations: 0.5733 MB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.131, allocations: 12.03 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1313, allocations: 48.55 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1314, allocations: 207.9 kB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.1315, allocations: 21.22 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.1316, allocations: 32.38 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1321, allocations: 286.2 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1321, allocations: 0 / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.1321, allocations: 12 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1321, allocations: 8 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1326, allocations: 218.5 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1342, allocations: 1.017 MB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.1343, allocations: 38.56 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.1343, allocations: 20.92 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.1343, allocations: 0 / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1344, allocations: 34.5 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.1344, allocations: 7.984 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.1346, allocations: 81.3 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1346, allocations: 55.39 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.135, allocations: 318.9 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.135, allocations: 25.7 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1352, allocations: 234.8 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1352, allocations: 15.89 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.1353, allocations: 53.61 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1355, allocations: 338.9 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1357, allocations: 63.97 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1358, allocations: 93.69 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.1361, allocations: 129.6 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1361, allocations: 0 / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003951/0.1365, allocations: 229.9 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1365, allocations: 15.94 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1365, allocations: 0 / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1365, allocations: 0 / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1368, allocations: 59.89 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1368, allocations: 0 / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1371, allocations: 43.52 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1371, allocations: 8 kB / 489.7 MB, free: 12.02 MB / 366.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.0001213/0.1372, allocations: 133.8 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1373, allocations: 23.75 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1374, allocations: 24.89 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1374, allocations: 3.938 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1374, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1374, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.138, allocations: 0.5071 MB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.138, allocations: 0 / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.1381, allocations: 8 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1381, allocations: 8.047 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.1381, allocations: 0 / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1381, allocations: 0 / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1381, allocations: 3.938 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1383, allocations: 101.7 kB / 490.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.1383, allocations: 100.8 kB / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.1384, allocations: 12.02 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1385, allocations: 0 / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.1385, allocations: 0 / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1385, allocations: 4 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003237/0.1389, allocations: 225.9 kB / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 0 / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1391, allocations: 63.84 kB / 490.9 MB, free: 10.7 MB / 366.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.0001117/0.1393, allocations: 91.25 kB / 491 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1396, allocations: 127.8 kB / 491.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1396, allocations: 0 / 491.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.1396, allocations: 7.984 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1399, allocations: 24.83 kB / 491.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.1406, allocations: 405.3 kB / 491.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.141, allocations: 0.7401 MB / 492.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.1411, allocations: 23.44 kB / 492.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1411, allocations: 0 / 492.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of Templates: time 0.005171/0.1463, allocations: 2.699 MB / 495 MB, free: 6.527 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches