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.001043/0.001043, allocations: 101.4 kB / 16.4 MB, free: 6.457 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.0009756/0.0009756, allocations: 188.2 kB / 17.34 MB, free: 5.719 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1971/0.1971, allocations: 43.51 MB / 314.1 MB, free: 464 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.001341/0.001341, allocations: 75.86 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 57.77 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003279/0.1071, allocations: 2.145 MB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1101, allocations: 1.893 MB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1103, allocations: 4 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1106, allocations: 71.58 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.111, allocations: 147.3 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1121, allocations: 0.5688 MB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.1125, allocations: 378.2 kB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.1126, allocations: 36.73 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.1128, allocations: 167.2 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.1131, allocations: 183.1 kB / 0.4929 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.1132, allocations: 15.98 kB / 0.4929 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.1152, allocations: 1.61 MB / 0.4945 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1154, allocations: 91.64 kB / 0.4945 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1155, allocations: 151 kB / 0.4947 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1168, allocations: 1.055 MB / 0.4957 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1169, allocations: 0 / 0.4957 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1169, allocations: 3.938 kB / 0.4957 GB, free: 3.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1169, allocations: 0 / 0.4957 GB, free: 3.723 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.001018/0.1179, allocations: 0.6885 MB / 0.4964 GB, free: 2.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.118, allocations: 11.97 kB / 0.4964 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/0.118, allocations: 78.7 kB / 0.4965 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.1181, allocations: 40.7 kB / 0.4965 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1184, allocations: 266.4 kB / 0.4968 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1185, allocations: 21.03 kB / 0.4968 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1185, allocations: 39.91 kB / 0.4968 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.1193, allocations: 0.4959 MB / 0.4973 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1193, allocations: 8 kB / 0.4973 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1193, allocations: 11.98 kB / 0.4973 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.1194, allocations: 48.97 kB / 0.4974 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.1202, allocations: 0.527 MB / 0.4979 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1221, allocations: 1.306 MB / 0.4992 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.1229, allocations: 374.1 kB / 0.4995 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.1231, allocations: 132.7 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.1232, allocations: 11.91 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1232, allocations: 38.59 kB / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1232, allocations: 0 / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009178/0.1242, allocations: 429.3 kB / 0.5001 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1242, allocations: 55.41 kB / 0.5002 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.1245, allocations: 302.6 kB / 0.5005 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1246, allocations: 33.7 kB / 0.5005 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1247, allocations: 200.4 kB / 0.5007 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.1248, allocations: 95.17 kB / 0.5008 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1249, allocations: 65.69 kB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.125, allocations: 338.8 kB / 0.5012 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1253, allocations: 119.9 kB / 0.5013 GB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.1255, allocations: 166.7 kB / 0.5014 GB, free: 13.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.126, allocations: 288 kB / 0.5017 GB, free: 13.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.126, allocations: 0 / 0.5017 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000657/0.1267, allocations: 382.3 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1267, allocations: 4 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1268, allocations: 0 / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.1268, allocations: 4 kB / 0.5021 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.1273, allocations: 123.9 kB / 0.5022 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.129, allocations: 3.012 MB / 0.5051 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.1292, allocations: 39.67 kB / 0.5052 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.1293, allocations: 15.98 kB / 0.5052 GB, free: 9.598 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.0001767/0.1295, allocations: 189.5 kB / 0.5054 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.1295, allocations: 31.75 kB / 0.5054 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.1304, allocations: 459.2 kB / 0.5058 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1304, allocations: 4 kB / 0.5058 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1304, allocations: 0 / 0.5058 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1304, allocations: 0 / 0.5058 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.1308, allocations: 373.3 kB / 0.5062 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1309, allocations: 0 / 0.5062 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.1313, allocations: 123.8 kB / 0.5063 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1314, allocations: 4 kB / 0.5063 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1314, allocations: 12 kB / 0.5063 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.133, allocations: 3.004 MB / 0.5093 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.133, allocations: 3.984 kB / 0.5093 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.1337, allocations: 447.7 kB / 0.5097 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.1338, allocations: 108.8 kB / 0.5098 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.1338, allocations: 15.92 kB / 0.5098 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.134, allocations: 8 kB / 0.5098 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1341, allocations: 23.97 kB / 0.5098 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1341, allocations: 15.98 kB / 0.5099 GB, free: 4.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.1343, allocations: 225.9 kB / 0.5101 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1343, allocations: 0 / 0.5101 GB, free: 4.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005686/0.1349, allocations: 187.4 kB / 0.5103 GB, free: 4.191 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.001244/0.1362, allocations: 1.11 MB / 0.5113 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.137, allocations: 367.8 kB / 0.5117 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1371, allocations: 4.125 kB / 0.5117 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.1376, allocations: 224.2 kB / 0.5119 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1381, allocations: 56.53 kB / 0.512 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.1424, 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.0004298/0.1429, allocations: 0.8341 MB / 0.5162 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.1432, allocations: 126.7 kB / 0.5164 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.1434, allocations: 115.4 kB / 0.5165 GB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1434, allocations: 0 / 0.5165 GB, free: 13.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.1735, allocations: 10.96 MB / 0.5272 GB, free: 2.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.27, allocations: 8.375 kB / 0.5272 GB, free: 2.715 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