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.001027/0.001027, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001066/0.001066, allocations: 185.5 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.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.202/0.202, allocations: 43.52 MB / 314.1 MB, free: 468 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.001339/0.001339, allocations: 63.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003078/0.1097, allocations: 1.846 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1125, allocations: 1.805 MB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.1126, allocations: 0 / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1129, allocations: 51.73 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1132, allocations: 83.58 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1144, allocations: 0.5723 MB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.1147, allocations: 234.9 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.1148, allocations: 21.67 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.115, allocations: 119.4 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1152, allocations: 99.53 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1152, allocations: 8 kB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1167, allocations: 1.158 MB / 0.4933 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1168, allocations: 63.69 kB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1169, allocations: 99.34 kB / 0.4934 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.1179, allocations: 0.7905 MB / 0.4942 GB, free: 5.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1179, allocations: 4 kB / 0.4942 GB, free: 5.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1179, allocations: 0 / 0.4942 GB, free: 5.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1179, allocations: 0 / 0.4942 GB, free: 5.316 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.0009133/0.1189, allocations: 0.6028 MB / 0.4948 GB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1189, allocations: 12.03 kB / 0.4948 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.119, allocations: 62.73 kB / 0.4948 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.119, allocations: 28.75 kB / 0.4949 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1193, allocations: 235.5 kB / 0.4951 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1193, allocations: 28.36 kB / 0.4951 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1194, allocations: 16 kB / 0.4951 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.1199, allocations: 380.3 kB / 0.4955 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.12, allocations: 0 / 0.4955 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.12, allocations: 8 kB / 0.4955 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.12, allocations: 32.64 kB / 0.4955 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.1206, allocations: 394.3 kB / 0.4959 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.1221, allocations: 1.02 MB / 0.4969 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.1227, allocations: 278.1 kB / 0.4972 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1229, allocations: 100.8 kB / 0.4973 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.1229, allocations: 4 kB / 0.4973 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1229, allocations: 34.56 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.123, allocations: 4 kB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007139/0.1237, allocations: 321.3 kB / 0.4976 GB, free: 1.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1237, allocations: 59.41 kB / 0.4977 GB, free: 1.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1239, allocations: 227.7 kB / 0.4979 GB, free: 1.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.124, allocations: 29.7 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1241, allocations: 152.5 kB / 0.4981 GB, free: 1.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.1241, allocations: 79.38 kB / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.1242, allocations: 49.7 kB / 0.4982 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1243, allocations: 326.8 kB / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1245, allocations: 83.92 kB / 0.4986 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1247, allocations: 106.4 kB / 0.4987 GB, free: 432 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.1251, allocations: 211.1 kB / 0.4989 GB, free: 212 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1251, allocations: 0 / 0.4989 GB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004804/0.1256, allocations: 261.3 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1256, allocations: 15.88 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1256, allocations: 0 / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1256, allocations: 3.938 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.126, allocations: 91.89 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.1272, allocations: 2.379 MB / 0.5016 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1273, allocations: 31.81 kB / 0.5016 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1274, allocations: 19.92 kB / 0.5016 GB, free: 13.31 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.0001381/0.1275, allocations: 157.7 kB / 0.5018 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1276, allocations: 23.86 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.1283, allocations: 347.4 kB / 0.5021 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1283, allocations: 8 kB / 0.5021 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1283, allocations: 0 / 0.5021 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1283, allocations: 3.984 kB / 0.5021 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1286, allocations: 313.3 kB / 0.5024 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1286, allocations: 0 / 0.5024 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.129, allocations: 91.95 kB / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.129, allocations: 0 / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.129, allocations: 11.98 kB / 0.5025 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1301, allocations: 2.387 MB / 0.5049 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1301, allocations: 0 / 0.5049 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.1306, allocations: 363.8 kB / 0.5052 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1308, allocations: 132.8 kB / 0.5053 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1308, allocations: 0 / 0.5053 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.131, allocations: 11.98 kB / 0.5054 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.131, allocations: 24.06 kB / 0.5054 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1311, allocations: 12 kB / 0.5054 GB, free: 9.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1312, allocations: 173.4 kB / 0.5055 GB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1312, allocations: 0 / 0.5055 GB, free: 9.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.1317, allocations: 167.2 kB / 0.5057 GB, free: 8.926 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.001127/0.1328, allocations: 1.032 MB / 0.5067 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.1335, allocations: 259.7 kB / 0.507 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1335, allocations: 4 kB / 0.507 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.1339, allocations: 163.8 kB / 0.5071 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1344, allocations: 42.75 kB / 0.5072 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.1376, allocations: 2.821 MB / 0.5099 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1379, allocations: 0.7908 MB / 0.5107 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.1381, allocations: 89.69 kB / 0.5108 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.1383, allocations: 83.41 kB / 0.5109 GB, free: 3.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1383, allocations: 0 / 0.5109 GB, free: 3.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.1673, allocations: 8.729 MB / 0.5194 GB, free: 10.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.13, allocations: 8.438 kB / 0.5194 GB, free: 10.77 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