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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.00146, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001998/0.001998, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.448/1.448, allocations: 222.9 MB / 242.3 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.2267/0.2267, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.38 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004857/0.1316, allocations: 2.349 MB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1329, allocations: 0.6156 MB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.1331, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.1333, allocations: 43.58 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1335, allocations: 71.34 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1339, allocations: 87.88 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.1344, allocations: 339.2 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.1348, allocations: 155.5 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.1351, allocations: 135.6 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.1355, allocations: 163.4 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.1355, allocations: 32 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.1356, allocations: 32 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.968e-05/0.1357, allocations: 75.75 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1359, allocations: 155.3 kB / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1363, allocations: 370.9 kB / 474 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1363, allocations: 4 kB / 474 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1363, allocations: 0 / 474 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1363, allocations: 0 / 474 MB, free: 9.633 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.0009499/0.1373, allocations: 0.5733 MB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1373, allocations: 12.03 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.988e-05/0.1374, allocations: 70.66 kB / 474.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1375, allocations: 36.56 kB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1377, allocations: 207.1 kB / 474.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.1378, allocations: 25.2 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1378, allocations: 36.31 kB / 474.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.1383, allocations: 285.9 kB / 475.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1384, allocations: 0 / 475.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1384, allocations: 12 kB / 475.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1384, allocations: 8 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.1389, allocations: 218.5 kB / 475.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.1408, allocations: 1.013 MB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.1409, allocations: 38.52 kB / 476.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1409, allocations: 28.91 kB / 476.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.141, allocations: 0 / 476.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.141, allocations: 38.5 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.141, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.1413, allocations: 69.42 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1413, allocations: 55.34 kB / 476.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.1418, allocations: 322.8 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1418, allocations: 29.83 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.142, allocations: 238.8 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.142, allocations: 11.89 kB / 477.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1421, allocations: 57.61 kB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1422, allocations: 334.8 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1424, allocations: 59.98 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1425, allocations: 93.67 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1428, allocations: 127.2 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1428, allocations: 0 / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003918/0.1432, allocations: 233.3 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1432, allocations: 11.94 kB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1432, allocations: 0 / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1432, allocations: 0 / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1436, allocations: 59.89 kB / 478.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1436, allocations: 4 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.1438, allocations: 43.56 kB / 478.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1439, allocations: 8 kB / 478.3 MB, free: 5.078 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.0001249/0.144, allocations: 133.8 kB / 478.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.144, allocations: 23.73 kB / 478.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1441, allocations: 24.86 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1441, allocations: 0 / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1441, allocations: 3.984 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1441, allocations: 0 / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.1447, allocations: 0.511 MB / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1447, allocations: 0 / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1448, allocations: 4 kB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1448, allocations: 0 / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1448, allocations: 3.938 kB / 479 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1448, allocations: 0 / 479 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1448, allocations: 0 / 479 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.145, allocations: 109.7 kB / 479.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.1451, allocations: 100.8 kB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.1451, allocations: 4 kB / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1452, allocations: 0 / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1452, allocations: 0 / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1453, allocations: 7.984 kB / 479.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1455, allocations: 222 kB / 479.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1455, allocations: 4.031 kB / 479.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1458, allocations: 67.78 kB / 479.5 MB, free: 3.762 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 0.0004389/0.1463, allocations: 0.6403 MB / 480.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1465, allocations: 115.9 kB / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1465, allocations: 0 / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.1466, allocations: 12 kB / 480.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1469, allocations: 19.81 kB / 480.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1496, allocations: 2.239 MB / 482.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1499, allocations: 0.74 MB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.15, allocations: 29.92 kB / 483.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1502, allocations: 71.41 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1502, allocations: 0 / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.1713, allocations: 4.069 MB / 487.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.71, allocations: 4.906 kB / 487.4 MB, free: 11.76 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > 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