Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001138/0.001138, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001265/0.001265, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003138/0.3958, allocations: 1.766 MB / 0.5202 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.3986, allocations: 1.844 MB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.3987, allocations: 1.062 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.399, allocations: 43.12 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.3993, allocations: 87.97 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4005, allocations: 0.5607 MB / 0.5226 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.4008, allocations: 238.2 kB / 0.5229 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.4009, allocations: 25.3 kB / 0.5229 GB, free: 452 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.4011, allocations: 100.8 kB / 0.523 GB, free: 408 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.4013, allocations: 110.1 kB / 0.5231 GB, free: 360 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.4013, allocations: 7.125 kB / 0.5231 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.4033, allocations: 1.157 MB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4034, allocations: 70.53 kB / 0.5243 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4036, allocations: 103.2 kB / 0.5244 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4047, allocations: 0.7846 MB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4047, allocations: 0 / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4047, allocations: 1.375 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4047, allocations: 0 / 0.5252 GB, free: 15.5 MB / 398.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.0008919/0.4056, allocations: 0.6049 MB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4057, allocations: 9.625 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.4058, allocations: 75.02 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.4058, allocations: 27.75 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.4061, allocations: 232.5 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4061, allocations: 16.62 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.4062, allocations: 25.69 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.4068, allocations: 376.3 kB / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4069, allocations: 4 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4069, allocations: 9.078 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.407, allocations: 36.06 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.4076, allocations: 392 kB / 0.5269 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.4091, allocations: 1.019 MB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.4097, allocations: 280.8 kB / 0.5282 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.4099, allocations: 89.17 kB / 0.5283 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.4099, allocations: 19.3 kB / 0.5283 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.41, allocations: 36 kB / 0.5283 GB, free: 13.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.41, allocations: 0 / 0.5283 GB, free: 13.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.000769/0.4107, allocations: 326 kB / 0.5286 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4108, allocations: 53.44 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.411, allocations: 231.8 kB / 0.5289 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.411, allocations: 30.95 kB / 0.5289 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.4111, allocations: 152 kB / 0.5291 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.4112, allocations: 76.2 kB / 0.5291 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.4113, allocations: 49.66 kB / 0.5292 GB, free: 12.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4114, allocations: 333.1 kB / 0.5295 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4116, allocations: 82.11 kB / 0.5296 GB, free: 12.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4118, allocations: 106.9 kB / 0.5297 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.4122, allocations: 200.9 kB / 0.5299 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4122, allocations: 0 / 0.5299 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005198/0.4127, allocations: 253.8 kB / 0.5301 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4128, allocations: 13.03 kB / 0.5301 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4128, allocations: 1.188 kB / 0.5301 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4128, allocations: 2.438 kB / 0.5301 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.4132, allocations: 95.38 kB / 0.5302 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.4144, allocations: 2.381 MB / 0.5325 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.4145, allocations: 33.52 kB / 0.5326 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.4146, allocations: 10.34 kB / 0.5326 GB, free: 9.352 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.0001524/0.4147, allocations: 163.5 kB / 0.5327 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.4148, allocations: 17.41 kB / 0.5328 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.4155, allocations: 353.7 kB / 0.5331 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4155, allocations: 1.438 kB / 0.5331 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4155, allocations: 1.094 kB / 0.5331 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4155, allocations: 0 / 0.5331 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4159, allocations: 318.7 kB / 0.5334 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4159, allocations: 5.312 kB / 0.5334 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.4163, allocations: 97.83 kB / 0.5335 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4163, allocations: 1.812 kB / 0.5335 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.4163, allocations: 10.94 kB / 0.5335 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.4175, allocations: 2.383 MB / 0.5358 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4175, allocations: 0 / 0.5358 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.418, allocations: 366.9 kB / 0.5362 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4181, allocations: 132 kB / 0.5363 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.4182, allocations: 5.562 kB / 0.5363 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4183, allocations: 12.14 kB / 0.5363 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.4184, allocations: 13.95 kB / 0.5363 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4184, allocations: 17.83 kB / 0.5364 GB, free: 5.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.4186, allocations: 165 kB / 0.5365 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4186, allocations: 5.156 kB / 0.5365 GB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005755/0.4192, allocations: 166.2 kB / 0.5367 GB, free: 5.695 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.001202/0.4204, allocations: 1.026 MB / 0.5377 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007097/0.4211, allocations: 265.7 kB / 0.5379 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4211, allocations: 4 kB / 0.5379 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.4216, allocations: 169.9 kB / 0.5381 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.4221, allocations: 37.09 kB / 0.5381 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.4261, allocations: 2.826 MB / 0.5409 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4265, allocations: 0.7939 MB / 0.5417 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.4267, allocations: 83.48 kB / 0.5418 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4268, allocations: 79.19 kB / 0.5418 GB, free: 1.816 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4269, allocations: 0 / 0.5418 GB, free: 1.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.4547, allocations: 8.739 MB / 0.5504 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.74, allocations: 15.27 kB / 0.5504 GB, free: 10.92 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches