Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001616/0.001616, allocations: 103.7 kB / 16.27 MB, free: 5.973 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.00182/0.00182, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1986/0.1986, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001547/0.001547, allocations: 73.44 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09435, allocations: 57.79 MB / 440.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002377/0.09676, allocations: 1.671 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.09784, allocations: 0.8266 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.0979, allocations: 4 kB / 443.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.09814, allocations: 43.7 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.09828, allocations: 59.73 kB / 443.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.09854, allocations: 91.62 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.0987, allocations: 151.2 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.09874, allocations: 13.06 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.09885, allocations: 67.77 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.09896, allocations: 71.67 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.09899, allocations: 4 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.09923, allocations: 163.8 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.09929, allocations: 39.77 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.09936, allocations: 55.69 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.09961, allocations: 207.3 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09962, allocations: 0 / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09963, allocations: 0 / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.09964, allocations: 4 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004925/0.1001, allocations: 466.9 kB / 444.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1002, allocations: 15.89 kB / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1002, allocations: 46.73 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.1007, allocations: 68.69 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1008, allocations: 212.2 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1009, allocations: 4.375 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1009, allocations: 19.92 kB / 444.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1012, allocations: 245.4 kB / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1013, allocations: 0 / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1013, allocations: 0 / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.1013, allocations: 27.77 kB / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.1017, allocations: 215.8 kB / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.1024, allocations: 0.7442 MB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1026, allocations: 82.52 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1028, allocations: 52.75 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1028, allocations: 4 kB / 446.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.1028, allocations: 34.5 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1028, allocations: 0 / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004417/0.1033, allocations: 169.5 kB / 446.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1033, allocations: 55.41 kB / 446.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1034, allocations: 188.7 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1034, allocations: 29.7 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1035, allocations: 139.5 kB / 446.9 MB, free: 304 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1035, allocations: 27.59 kB / 446.9 MB, free: 276 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1036, allocations: 29.7 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.1036, allocations: 322.8 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1038, allocations: 51.89 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.104, allocations: 98.81 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.1043, allocations: 158.7 kB / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1043, allocations: 0 / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003636/0.1046, allocations: 185.3 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1047, allocations: 8 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1047, allocations: 0 / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1047, allocations: 4 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.1056, allocations: 127.8 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1067, allocations: 1.813 MB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1069, allocations: 31.77 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1069, allocations: 4 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.107, allocations: 145.7 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1071, allocations: 11.91 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.1075, allocations: 171 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1076, allocations: 4 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1076, allocations: 0 / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1076, allocations: 11.92 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1078, allocations: 237.4 kB / 450.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1078, allocations: 0 / 450.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.1086, allocations: 107.8 kB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1086, allocations: 0 / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1086, allocations: 4 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.1096, allocations: 1.778 MB / 452.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1096, allocations: 0 / 452.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.11, allocations: 243.5 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1101, allocations: 92.91 kB / 452.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.1101, allocations: 7.938 kB / 452.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1103, allocations: 8 kB / 452.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1103, allocations: 11.98 kB / 452.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1103, allocations: 4 kB / 452.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1105, allocations: 143.9 kB / 452.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1105, allocations: 0 / 452.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1108, allocations: 43.94 kB / 452.7 MB, free: 10.15 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000714/0.1115, allocations: 0.7905 MB / 453.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1127, allocations: 240.1 kB / 453.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1127, allocations: 0 / 453.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.1133, allocations: 123.8 kB / 453.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1137, allocations: 43.36 kB / 453.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1162, allocations: 2.09 MB / 456 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1164, allocations: 0.7397 MB / 456.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1166, allocations: 29.41 kB / 456.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.1167, allocations: 44.2 kB / 456.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1167, allocations: 0 / 456.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.1388, allocations: 5.022 MB / 461.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.51, allocations: 16.77 kB / 461.8 MB, free: 0.8984 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches