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.001057/0.001057, allocations: 104 kB / 17.63 MB, free: 5.543 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.001136/0.001136, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.388/1.388, 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.2765/0.2765, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 60.25 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.0037/0.1328, allocations: 2.345 MB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.1338, allocations: 0.6117 MB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.1339, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.134, allocations: 43.58 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1342, allocations: 71.33 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1344, allocations: 83.89 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.1347, allocations: 351.2 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.135, allocations: 151.5 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1351, allocations: 135.6 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1353, allocations: 159.3 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.1354, allocations: 32 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.559e-05/0.1354, allocations: 32 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.1355, allocations: 79.75 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1357, allocations: 151.3 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.136, allocations: 374.9 kB / 474 MB, free: 9.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.136, allocations: 0 / 474 MB, free: 9.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.136, allocations: 0 / 474 MB, free: 9.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.136, allocations: 0 / 474 MB, free: 9.641 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.0008968/0.1369, allocations: 0.5733 MB / 474.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.137, allocations: 12.03 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.137, allocations: 70.66 kB / 474.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.1371, allocations: 32.56 kB / 474.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1373, allocations: 210.6 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.1374, allocations: 29.2 kB / 474.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.1374, allocations: 32.38 kB / 474.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.1379, allocations: 282 kB / 475.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1379, allocations: 0 / 475.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.138, allocations: 12 kB / 475.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.138, allocations: 7.984 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.1384, allocations: 226.5 kB / 475.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.14, allocations: 1.017 MB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.1401, allocations: 34.52 kB / 476.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1402, allocations: 20.92 kB / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.1402, allocations: 0 / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1402, allocations: 38.5 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1402, allocations: 4 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000208/0.1404, allocations: 73.41 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1405, allocations: 59.34 kB / 476.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1409, allocations: 318.9 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1409, allocations: 25.7 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.141, allocations: 234.7 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.141, allocations: 11.91 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.1412, allocations: 53.73 kB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1413, allocations: 346.7 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1414, allocations: 63.97 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1416, allocations: 97.67 kB / 477.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1418, allocations: 119.2 kB / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1418, allocations: 0 / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003756/0.1422, allocations: 241.3 kB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1422, allocations: 7.938 kB / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1422, allocations: 0 / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1422, allocations: 4 kB / 478.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.1425, allocations: 51.91 kB / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1425, allocations: 0 / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.1428, allocations: 43.52 kB / 478.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1428, allocations: 12 kB / 478.3 MB, free: 5.082 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.0001132/0.1429, allocations: 129.8 kB / 478.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.143, allocations: 23.78 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.143, allocations: 28.84 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1431, allocations: 0 / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1431, allocations: 0 / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1431, allocations: 0 / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1437, allocations: 0.5071 MB / 478.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1437, allocations: 3.984 kB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1437, allocations: 8.062 kB / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1438, allocations: 0 / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1438, allocations: 0 / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1438, allocations: 4 kB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1438, allocations: 0 / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1439, allocations: 93.75 kB / 479.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.144, allocations: 108.8 kB / 479.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1441, allocations: 4.031 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1442, allocations: 3.938 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.1442, allocations: 8 kB / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1442, allocations: 0 / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1445, allocations: 225.9 kB / 479.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.233e-06/0.1445, allocations: 4 kB / 479.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1447, allocations: 67.78 kB / 479.5 MB, free: 3.766 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.0003885/0.1451, allocations: 0.6403 MB / 480.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1454, allocations: 111.8 kB / 480.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1454, allocations: 0 / 480.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.1454, allocations: 12 kB / 480.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1458, allocations: 25.09 kB / 480.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.1484, allocations: 2.235 MB / 482.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1487, allocations: 0.7478 MB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1488, allocations: 21.94 kB / 483.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.149, allocations: 75.41 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.149, allocations: 0 / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1704, allocations: 4.062 MB / 487.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.765, allocations: 4.969 kB / 487.4 MB, free: 11.77 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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