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.001135/0.001135, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.1 MB / 344.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 79.64 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 62.46 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003884/0.1227, allocations: 2.399 MB / 482.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1241, allocations: 0.6623 MB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1243, allocations: 4 kB / 483 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1244, allocations: 35.77 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1246, allocations: 63.45 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1249, allocations: 75.92 kB / 483.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.1252, allocations: 327.3 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1254, allocations: 131.9 kB / 483.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1256, allocations: 135.5 kB / 483.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1258, allocations: 155.4 kB / 483.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.1259, allocations: 24 kB / 483.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.126, allocations: 28 kB / 484 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.126, allocations: 55.83 kB / 484 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1262, allocations: 151.2 kB / 484.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1264, allocations: 287.5 kB / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1264, allocations: 0 / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1265, allocations: 0 / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1265, allocations: 4 kB / 484.5 MB, free: 1.18 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.0009434/0.1274, allocations: 0.5772 MB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1275, allocations: 12.88 kB / 485 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.1278, allocations: 48.55 kB / 485.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.128, allocations: 203.9 kB / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.1281, allocations: 29.22 kB / 485.3 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1281, allocations: 28.38 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.1286, allocations: 282.2 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1286, allocations: 0 / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1287, allocations: 16 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1287, allocations: 15.94 kB / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.1291, allocations: 210.5 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1308, allocations: 1.024 MB / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.1308, allocations: 34.52 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1309, allocations: 28.91 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1309, allocations: 0 / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.131, allocations: 34.56 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.131, allocations: 0 / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.1312, allocations: 77.36 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1312, allocations: 51.41 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1316, allocations: 323 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1316, allocations: 29.7 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1318, allocations: 230.8 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1318, allocations: 11.89 kB / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1319, allocations: 57.55 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1321, allocations: 334.8 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1322, allocations: 67.97 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1324, allocations: 89.69 kB / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1326, allocations: 123.2 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1326, allocations: 0 / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003926/0.133, allocations: 233.3 kB / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.133, allocations: 7.938 kB / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.133, allocations: 0 / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1331, allocations: 7.984 kB / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.1333, allocations: 63.92 kB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1334, allocations: 4 kB / 488.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.1336, allocations: 39.53 kB / 488.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1336, allocations: 7.984 kB / 488.7 MB, free: 12.7 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.0001233/0.1338, allocations: 129.8 kB / 488.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.1338, allocations: 27.69 kB / 488.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1339, allocations: 20.89 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1339, allocations: 0 / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1339, allocations: 4 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1339, allocations: 7.938 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.1344, allocations: 0.5071 MB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1344, allocations: 4 kB / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.1345, allocations: 0 / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.1345, allocations: 4 kB / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1345, allocations: 0 / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1345, allocations: 3.984 kB / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1345, allocations: 64 / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.1346, allocations: 97.75 kB / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.1347, allocations: 100.8 kB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1348, allocations: 7.938 kB / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1349, allocations: 7.984 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.1349, allocations: 0 / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1349, allocations: 8.031 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1352, allocations: 225.9 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1352, allocations: 0 / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1355, allocations: 63.84 kB / 489.9 MB, free: 11.37 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 9.136e-05/0.1356, allocations: 91.25 kB / 490 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1358, allocations: 115.9 kB / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1358, allocations: 0 / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.1359, allocations: 16.06 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1362, allocations: 28.81 kB / 490.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.1369, allocations: 0.499 MB / 490.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1373, allocations: 0.7404 MB / 491.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.1373, allocations: 23.42 kB / 491.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1373, allocations: 0 / 491.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of Templates: time 0.00487/0.1422, allocations: 2.688 MB / 494.1 MB, free: 7.105 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