Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001761/0.001761, allocations: 105.2 kB / 16.4 MB, free: 6.469 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.001834/0.001834, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.221/0.221, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 69.45 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1236, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003659/0.1273, allocations: 2.145 MB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1305, allocations: 1.893 MB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1306, allocations: 0 / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1309, allocations: 71.58 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1314, allocations: 139.3 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1327, allocations: 0.5727 MB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.1331, allocations: 374.1 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.1332, allocations: 36.73 kB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1335, allocations: 163.3 kB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1338, allocations: 191.1 kB / 0.4929 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.1338, allocations: 12 kB / 0.4929 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.1361, allocations: 1.614 MB / 0.4945 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1362, allocations: 91.64 kB / 0.4945 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1364, allocations: 147 kB / 0.4947 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.1378, allocations: 1.059 MB / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1378, allocations: 0 / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1379, allocations: 0 / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1379, allocations: 3.938 kB / 0.4957 GB, free: 3.727 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001095/0.139, allocations: 0.6813 MB / 0.4964 GB, free: 2.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.139, allocations: 12.03 kB / 0.4964 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.1391, allocations: 78.7 kB / 0.4965 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.1392, allocations: 40.64 kB / 0.4965 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.1396, allocations: 267.9 kB / 0.4968 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1396, allocations: 21.03 kB / 0.4968 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.1396, allocations: 35.92 kB / 0.4968 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.1405, allocations: 0.4998 MB / 0.4973 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1405, allocations: 0 / 0.4973 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1405, allocations: 8 kB / 0.4973 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/0.1406, allocations: 52.97 kB / 0.4974 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.1415, allocations: 0.527 MB / 0.4979 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1434, allocations: 1.31 MB / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.1442, allocations: 378.1 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.1445, allocations: 132.7 kB / 0.4997 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.1445, allocations: 4 kB / 0.4997 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1446, allocations: 42.59 kB / 0.4997 GB, free: 15.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.1446, allocations: 0 / 0.4997 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009307/0.1455, allocations: 425.3 kB / 0.5001 GB, free: 15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1455, allocations: 55.41 kB / 0.5002 GB, free: 14.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1459, allocations: 306.6 kB / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1459, allocations: 29.7 kB / 0.5005 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1461, allocations: 204.4 kB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.1462, allocations: 99.17 kB / 0.5008 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1463, allocations: 65.69 kB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1464, allocations: 338.8 kB / 0.5012 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1467, allocations: 115.9 kB / 0.5013 GB, free: 13.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.147, allocations: 158.7 kB / 0.5014 GB, free: 13.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.1476, allocations: 296 kB / 0.5017 GB, free: 13.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1476, allocations: 0 / 0.5017 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007262/0.1483, allocations: 374.2 kB / 0.5021 GB, free: 12.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1483, allocations: 4 kB / 0.5021 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1484, allocations: 8.062 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1484, allocations: 0 / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.1489, allocations: 131.9 kB / 0.5022 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.1508, allocations: 3.008 MB / 0.5051 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.151, allocations: 43.94 kB / 0.5052 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.1511, allocations: 16 kB / 0.5052 GB, free: 9.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.1513, allocations: 189.5 kB / 0.5054 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.1513, allocations: 31.75 kB / 0.5054 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/0.1523, allocations: 459.1 kB / 0.5058 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1523, allocations: 4 kB / 0.5058 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1523, allocations: 0 / 0.5058 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1524, allocations: 3.984 kB / 0.5058 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.1528, allocations: 369.3 kB / 0.5062 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1529, allocations: 0 / 0.5062 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.1534, allocations: 123.8 kB / 0.5063 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1534, allocations: 4 kB / 0.5063 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1534, allocations: 8 kB / 0.5063 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.1552, allocations: 3.012 MB / 0.5093 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1553, allocations: 0 / 0.5093 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.156, allocations: 443.6 kB / 0.5097 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.1561, allocations: 116.8 kB / 0.5098 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.1561, allocations: 7.938 kB / 0.5098 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1563, allocations: 8 kB / 0.5098 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1564, allocations: 23.97 kB / 0.5098 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1564, allocations: 11.98 kB / 0.5098 GB, free: 4.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.1567, allocations: 225.9 kB / 0.5101 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 0 / 0.5101 GB, free: 4.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.1573, allocations: 187.4 kB / 0.5102 GB, free: 4.203 MB / 398.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.1587, allocations: 1.114 MB / 0.5113 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.1597, allocations: 367.8 kB / 0.5117 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1597, allocations: 0 / 0.5117 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.1603, allocations: 232.4 kB / 0.5119 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1608, allocations: 56.52 kB / 0.512 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.166, allocations: 3.546 MB / 0.5154 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.1666, allocations: 0.8341 MB / 0.5162 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.167, allocations: 122.7 kB / 0.5164 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.1671, allocations: 115.4 kB / 0.5165 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1672, allocations: 0 / 0.5165 GB, free: 13.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.2048, allocations: 10.96 MB / 0.5272 GB, free: 2.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/11.97, allocations: 4.375 kB / 0.5272 GB, free: 2.727 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches