Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.001237/0.001237, 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.00132/0.00132, 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.36/1.36, 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.2681/0.2681, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 55.41 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003026/0.1311, allocations: 1.794 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1323, allocations: 0.7985 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1324, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1326, allocations: 39.77 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1328, allocations: 71.64 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.133, allocations: 75.67 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1332, allocations: 135.5 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1332, allocations: 8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1334, allocations: 67.69 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1335, allocations: 83.72 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1335, allocations: 4 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1337, allocations: 63.89 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1338, allocations: 39.83 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.1338, allocations: 31.8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1341, allocations: 147.8 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1341, allocations: 0 / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1341, allocations: 0 / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1341, allocations: 0 / 472.7 MB, free: 10.88 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000603/0.1347, allocations: 407.1 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1348, allocations: 12.03 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1348, allocations: 50.67 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.1351, allocations: 28.81 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1353, allocations: 188.3 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1353, allocations: 8.359 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1354, allocations: 11.94 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1357, allocations: 176.1 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1357, allocations: 0 / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.1357, allocations: 8 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.1358, allocations: 19.92 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.1361, allocations: 135.8 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.137, allocations: 0.6405 MB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1373, allocations: 98.69 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1374, allocations: 44.83 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1374, allocations: 7.922 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.1375, allocations: 34.56 kB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1375, allocations: 0 / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004155/0.1379, allocations: 137.6 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1379, allocations: 63.34 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.138, allocations: 133.5 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1381, allocations: 25.7 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1381, allocations: 115.9 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1382, allocations: 23.66 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.1382, allocations: 37.61 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1383, allocations: 322.8 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1384, allocations: 39.97 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1386, allocations: 95.62 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1389, allocations: 139.5 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1389, allocations: 4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003171/0.1392, allocations: 153.4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1392, allocations: 8 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1392, allocations: 0 / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1392, allocations: 4 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1394, allocations: 52.16 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1394, allocations: 0 / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1395, allocations: 23.83 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1396, allocations: 8 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.361e-05/0.1397, allocations: 129.8 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1397, allocations: 7.906 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.14, allocations: 125.9 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.14, allocations: 0 / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.14, allocations: 7.922 kB / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.14, allocations: 4 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1403, allocations: 197.6 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1403, allocations: 0 / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1404, allocations: 31.97 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1404, allocations: 0 / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1404, allocations: 4 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1404, allocations: 0 / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1404, allocations: 0 / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1407, allocations: 215.3 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1408, allocations: 84.95 kB / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1408, allocations: 4 kB / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.1409, allocations: 15.98 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.141, allocations: 0 / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.141, allocations: 4 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.141, allocations: 95.27 kB / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 0 / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1413, allocations: 27.91 kB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0005373/0.1418, allocations: 0.748 MB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.1421, allocations: 108.2 kB / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1421, allocations: 4.062 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1423, allocations: 44.19 kB / 477.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1425, allocations: 8.156 kB / 477.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1442, allocations: 1.669 MB / 479.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1444, allocations: 0.7119 MB / 480.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.1445, allocations: 32.47 kB / 480.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1446, allocations: 27.42 kB / 480.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1446, allocations: 0 / 480.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.1626, allocations: 2.25 MB / 482.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.568, allocations: 12.98 kB / 482.5 MB, free: 0.6914 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches