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.001671/0.001671, allocations: 101.2 kB / 16.26 MB, free: 5.93 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.00197/0.00197, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2213/0.2213, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001637/0.001638, allocations: 70.59 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.112, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003067/0.1152, allocations: 1.827 MB / 442.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.1177, allocations: 1.821 MB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1179, allocations: 0 / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1183, allocations: 51.75 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.1187, allocations: 75.64 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1202, allocations: 0.5569 MB / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1205, allocations: 234.8 kB / 445.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.1206, allocations: 25.61 kB / 445.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1209, allocations: 103.5 kB / 445.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1211, allocations: 115.5 kB / 445.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1211, allocations: 8 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1224, allocations: 1.15 MB / 446.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.1225, allocations: 67.72 kB / 446.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1226, allocations: 99.3 kB / 446.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1237, allocations: 0.7753 MB / 447.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1237, allocations: 4 kB / 447.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1237, allocations: 4 kB / 447.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.1237, allocations: 4 kB / 447.5 MB, free: 15.86 MB / 334.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.001096/0.1248, allocations: 0.5887 MB / 448.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1249, allocations: 12.03 kB / 448.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.125, allocations: 62.72 kB / 448.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.1251, allocations: 24.66 kB / 448.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1254, allocations: 247.3 kB / 448.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1255, allocations: 20.42 kB / 448.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.1255, allocations: 20 kB / 448.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1261, allocations: 376.4 kB / 448.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1261, allocations: 0 / 448.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1262, allocations: 7.984 kB / 448.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.1262, allocations: 36.64 kB / 448.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.1269, allocations: 394.3 kB / 449.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1286, allocations: 1.02 MB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.1292, allocations: 282.2 kB / 450.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1295, allocations: 100.7 kB / 450.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.1296, allocations: 8.062 kB / 450.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1296, allocations: 38.56 kB / 450.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.1296, allocations: 0 / 450.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007891/0.1304, allocations: 325.2 kB / 451.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1305, allocations: 55.41 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1307, allocations: 227.7 kB / 451.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.1308, allocations: 29.7 kB / 451.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1309, allocations: 148.4 kB / 451.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.131, allocations: 78.84 kB / 451.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.1311, allocations: 49.7 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1312, allocations: 330.8 kB / 452 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1314, allocations: 75.92 kB / 452 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.1318, allocations: 104.5 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1322, allocations: 215.6 kB / 452.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1322, allocations: 0 / 452.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005179/0.1327, allocations: 257.2 kB / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1328, allocations: 11.94 kB / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1328, allocations: 4.062 kB / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1328, allocations: 0 / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.1332, allocations: 83.95 kB / 452.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1346, allocations: 2.383 MB / 455.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1349, allocations: 27.72 kB / 455.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1349, allocations: 15.98 kB / 455.1 MB, free: 7.887 MB / 334.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.000225/0.1351, allocations: 165.9 kB / 455.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.1352, allocations: 23.72 kB / 455.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.1361, allocations: 344.4 kB / 455.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1361, allocations: 4 kB / 455.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1361, allocations: 0 / 455.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1361, allocations: 3.984 kB / 455.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.1366, allocations: 321.2 kB / 456 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1366, allocations: 0 / 456 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.137, allocations: 95.89 kB / 456.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.137, allocations: 3.984 kB / 456.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1371, allocations: 11.98 kB / 456.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.1384, allocations: 2.387 MB / 458.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1384, allocations: 0 / 458.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.139, allocations: 364 kB / 458.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1392, allocations: 124.7 kB / 458.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.1392, allocations: 4 kB / 458.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1394, allocations: 11.98 kB / 459 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1395, allocations: 23.97 kB / 459 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1395, allocations: 4 kB / 459 MB, free: 3.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1397, allocations: 177.4 kB / 459.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1397, allocations: 0 / 459.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005669/0.1403, allocations: 159.7 kB / 459.3 MB, free: 3.512 MB / 334.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.001528/0.1418, allocations: 1.02 MB / 460.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.1427, allocations: 308.4 kB / 460.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1427, allocations: 0 / 460.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.1432, allocations: 171.8 kB / 460.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.1438, allocations: 48.64 kB / 460.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.1475, allocations: 2.828 MB / 463.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1479, allocations: 0.787 MB / 464.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.1482, allocations: 85.75 kB / 464.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1483, allocations: 79.41 kB / 464.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1483, allocations: 0 / 464.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.1787, allocations: 8.602 MB / 473.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.6, allocations: 8.5 kB / 473.2 MB, free: 5.48 MB / 350.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