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_edgedOverall_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_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001229/0.001229, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.00123/0.00123, allocations: 194.2 kB / 17.34 MB, free: 5.738 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.414/1.414, 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.2178/0.2178, allocations: 43.52 MB / 314.1 MB, free: 456 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.001983/0.001983, allocations: 71.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, 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_edgedOverall_DPMFLOW): time 0.002997/0.1115, allocations: 1.826 MB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1141, allocations: 1.813 MB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.1142, allocations: 4 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1144, allocations: 51.73 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1147, allocations: 71.59 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1157, allocations: 0.5762 MB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.116, allocations: 230.9 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.116, allocations: 25.67 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1162, allocations: 107.4 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1164, allocations: 107.5 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1164, allocations: 8 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.118, allocations: 1.158 MB / 0.4933 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.1181, allocations: 63.69 kB / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1182, allocations: 107.3 kB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.1193, allocations: 0.7866 MB / 0.4942 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1193, allocations: 0 / 0.4942 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1193, allocations: 0 / 0.4942 GB, free: 5.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1193, allocations: 0 / 0.4942 GB, free: 5.301 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009432/0.1203, allocations: 0.6067 MB / 0.4948 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1203, allocations: 8.031 kB / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.423e-05/0.1204, allocations: 70.66 kB / 0.4949 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.1205, allocations: 28.75 kB / 0.4949 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1208, allocations: 235.6 kB / 0.4951 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1208, allocations: 16.42 kB / 0.4951 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.1209, allocations: 23.88 kB / 0.4951 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.1215, allocations: 372.4 kB / 0.4955 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1215, allocations: 0 / 0.4955 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1215, allocations: 16 kB / 0.4955 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.1216, allocations: 36.62 kB / 0.4955 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.1223, allocations: 390.3 kB / 0.4959 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1237, allocations: 1.024 MB / 0.4969 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.1243, allocations: 270.3 kB / 0.4972 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1245, allocations: 96.78 kB / 0.4973 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.1246, allocations: 7.938 kB / 0.4973 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1246, allocations: 42.56 kB / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.1246, allocations: 0 / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007829/0.1254, allocations: 317.3 kB / 0.4976 GB, free: 1.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1254, allocations: 55.41 kB / 0.4977 GB, free: 1.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1257, allocations: 227.7 kB / 0.4979 GB, free: 1.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1257, allocations: 25.7 kB / 0.4979 GB, free: 1.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1258, allocations: 156.6 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.1259, allocations: 79.31 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.126, allocations: 49.7 kB / 0.4982 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1261, allocations: 334.8 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1263, allocations: 79.92 kB / 0.4986 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1266, allocations: 114.3 kB / 0.4987 GB, free: 404 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.127, allocations: 203.1 kB / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.127, allocations: 0 / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005317/0.1275, allocations: 257.4 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1276, allocations: 11.94 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1276, allocations: 4.062 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1276, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.128, allocations: 99.81 kB / 0.4992 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.1294, allocations: 2.379 MB / 0.5016 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1296, allocations: 31.73 kB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.1296, allocations: 15.94 kB / 0.5016 GB, free: 13.29 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1298, allocations: 162 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.1298, allocations: 27.84 kB / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.1306, allocations: 343.4 kB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1306, allocations: 4 kB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1306, allocations: 0 / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1306, allocations: 0 / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.131, allocations: 317.2 kB / 0.5024 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.131, allocations: 4 kB / 0.5024 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.1314, allocations: 95.89 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1314, allocations: 0 / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1314, allocations: 8 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.1329, allocations: 2.383 MB / 0.5049 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1329, allocations: 0 / 0.5049 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.1335, allocations: 371.9 kB / 0.5052 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1337, allocations: 128.8 kB / 0.5053 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1337, allocations: 4 kB / 0.5053 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1339, allocations: 7.984 kB / 0.5053 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.134, allocations: 19.98 kB / 0.5054 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.134, allocations: 11.98 kB / 0.5054 GB, free: 9.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1342, allocations: 165.5 kB / 0.5055 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 4 kB / 0.5055 GB, free: 9.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.1347, allocations: 171.2 kB / 0.5057 GB, free: 8.91 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.136, allocations: 1.044 MB / 0.5067 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.1368, allocations: 255.8 kB / 0.507 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1368, allocations: 4.062 kB / 0.507 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.1372, allocations: 167.8 kB / 0.5071 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1377, allocations: 38.8 kB / 0.5072 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.1415, allocations: 2.825 MB / 0.5099 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1419, allocations: 0.7909 MB / 0.5107 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1421, allocations: 81.75 kB / 0.5108 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1422, allocations: 87.34 kB / 0.5109 GB, free: 3.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1423, allocations: 0 / 0.5109 GB, free: 3.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.1771, allocations: 8.734 MB / 0.5194 GB, free: 10.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.82, allocations: 12.17 kB / 0.5194 GB, free: 10.75 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches