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.001147/0.001147, allocations: 107.3 kB / 16.41 MB, free: 6.484 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.001049/0.001049, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.425/1.425, 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.2391/0.2391, allocations: 43.54 MB / 314.1 MB, free: 460 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.001727/0.001727, allocations: 68.42 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1298, allocations: 57.8 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.004362/0.1342, allocations: 2.122 MB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1377, allocations: 1.905 MB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1379, allocations: 4 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.1383, allocations: 59.66 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.1389, allocations: 147.3 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1404, allocations: 0.5765 MB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.1409, allocations: 378.2 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.141, allocations: 36.73 kB / 0.4925 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1413, allocations: 167.2 kB / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.1416, allocations: 183.2 kB / 0.4929 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1417, allocations: 8 kB / 0.4929 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.144, allocations: 1.61 MB / 0.4945 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1441, allocations: 95.59 kB / 0.4945 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.1445, allocations: 151.1 kB / 0.4947 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.146, allocations: 1.063 MB / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.146, allocations: 0 / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1461, allocations: 0 / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1461, allocations: 0 / 0.4957 GB, free: 3.742 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.001206/0.1473, allocations: 0.6852 MB / 0.4964 GB, free: 3.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1473, allocations: 8.031 kB / 0.4964 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.1474, allocations: 82.69 kB / 0.4965 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.1475, allocations: 40.64 kB / 0.4965 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.1479, allocations: 259.8 kB / 0.4968 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.148, allocations: 29.02 kB / 0.4968 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.148, allocations: 31.94 kB / 0.4968 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.1489, allocations: 0.496 MB / 0.4973 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1489, allocations: 0 / 0.4973 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1489, allocations: 19.98 kB / 0.4973 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.149, allocations: 48.95 kB / 0.4974 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.1499, allocations: 0.5231 MB / 0.4979 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.152, allocations: 1.306 MB / 0.4992 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.1529, allocations: 382 kB / 0.4995 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.1532, allocations: 132.7 kB / 0.4997 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1532, allocations: 7.984 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1533, allocations: 42.56 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.1533, allocations: 0 / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009208/0.1542, allocations: 425.4 kB / 0.5001 GB, free: 15.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1543, allocations: 51.41 kB / 0.5002 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.1546, allocations: 310.6 kB / 0.5005 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1547, allocations: 29.7 kB / 0.5005 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1548, allocations: 200.4 kB / 0.5007 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.1549, allocations: 99.16 kB / 0.5008 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.155, allocations: 73.69 kB / 0.5008 GB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1552, allocations: 338.8 kB / 0.5012 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.1554, allocations: 115.9 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.1557, allocations: 154.7 kB / 0.5014 GB, free: 13.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.1563, allocations: 296 kB / 0.5017 GB, free: 13.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1563, allocations: 0 / 0.5017 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007625/0.1571, allocations: 382.2 kB / 0.5021 GB, free: 12.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1572, allocations: 8.062 kB / 0.5021 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1572, allocations: 0 / 0.5021 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1572, allocations: 4 kB / 0.5021 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.1578, allocations: 123.9 kB / 0.5022 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1595, allocations: 3.008 MB / 0.5051 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1597, allocations: 43.8 kB / 0.5052 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.1598, allocations: 19.98 kB / 0.5052 GB, free: 9.609 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.0002002/0.16, allocations: 181.5 kB / 0.5054 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.1601, allocations: 35.75 kB / 0.5054 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.161, allocations: 455.2 kB / 0.5058 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.161, allocations: 0 / 0.5058 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.161, allocations: 4 kB / 0.5058 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.161, allocations: 0 / 0.5058 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1616, allocations: 369.3 kB / 0.5062 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.1616, allocations: 3.984 kB / 0.5062 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.1621, allocations: 123.8 kB / 0.5063 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1621, allocations: 0 / 0.5063 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1621, allocations: 12 kB / 0.5063 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.1638, allocations: 3.004 MB / 0.5093 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1638, allocations: 4 kB / 0.5093 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.1646, allocations: 455.5 kB / 0.5097 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.1647, allocations: 104.9 kB / 0.5098 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.1647, allocations: 11.94 kB / 0.5098 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1649, allocations: 11.98 kB / 0.5098 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.165, allocations: 23.97 kB / 0.5098 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.165, allocations: 15.98 kB / 0.5099 GB, free: 4.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.1653, allocations: 225.9 kB / 0.5101 GB, free: 4.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1653, allocations: 0 / 0.5101 GB, free: 4.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.1659, allocations: 183.4 kB / 0.5102 GB, free: 4.215 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.001483/0.1674, allocations: 1.114 MB / 0.5113 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.1684, allocations: 367.8 kB / 0.5117 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1684, allocations: 4.062 kB / 0.5117 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.1689, allocations: 220.3 kB / 0.5119 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.1695, allocations: 64.5 kB / 0.512 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.1741, allocations: 3.548 MB / 0.5154 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1745, allocations: 0.8341 MB / 0.5162 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.1748, allocations: 126.7 kB / 0.5164 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.175, allocations: 111.4 kB / 0.5165 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.175, allocations: 0 / 0.5165 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.2099, allocations: 10.96 MB / 0.5272 GB, free: 2.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.8, allocations: 12.44 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