Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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: 106.5 kB / 16.41 MB, free: 6.461 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.001799/0.001799, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.213/0.213, allocations: 43.52 MB / 314.1 MB, free: 452 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.002036/0.002036, allocations: 77.45 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.1002, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002951/0.1032, allocations: 1.795 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1053, allocations: 1.38 MB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.1054, allocations: 4 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1056, allocations: 47.7 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1058, allocations: 47.61 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.1063, allocations: 243.1 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1064, allocations: 111.4 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.1065, allocations: 9.109 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1066, allocations: 51.78 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.1067, allocations: 51.7 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1067, allocations: 4 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007533/0.1075, allocations: 499.1 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.1075, allocations: 27.84 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.1076, allocations: 43.67 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.1081, allocations: 358.8 kB / 0.492 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1081, allocations: 0 / 0.492 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1082, allocations: 0 / 0.492 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1082, allocations: 4 kB / 0.492 GB, free: 7.59 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006142/0.1088, allocations: 454.1 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1088, allocations: 8.031 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.1089, allocations: 46.75 kB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.1089, allocations: 12.89 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1091, allocations: 184.2 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1091, allocations: 4.375 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1091, allocations: 15.94 kB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1094, allocations: 150 kB / 0.4928 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1095, allocations: 3.938 kB / 0.4928 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1095, allocations: 4 kB / 0.4928 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1095, allocations: 4 kB / 0.4928 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.1098, allocations: 131.9 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.1107, allocations: 0.5144 MB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.111, allocations: 98.66 kB / 0.4935 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1111, allocations: 52.77 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1112, allocations: 3.984 kB / 0.4936 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1112, allocations: 34.56 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1112, allocations: 4 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004855/0.1117, allocations: 157.5 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1118, allocations: 59.39 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.1119, allocations: 113.8 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1119, allocations: 25.7 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.112, allocations: 119.8 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.112, allocations: 43.62 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.1121, allocations: 37.66 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1122, allocations: 322.8 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1124, allocations: 35.97 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1125, allocations: 81.11 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1128, allocations: 133 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1129, allocations: 0 / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00035/0.1132, allocations: 157.5 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1132, allocations: 8 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1132, allocations: 0 / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1133, allocations: 4 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1135, allocations: 48.06 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/0.1139, allocations: 0.5899 MB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1141, allocations: 23.81 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1141, allocations: 11.98 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1142, allocations: 125.6 kB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1143, allocations: 12.05 kB / 0.4956 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.1147, allocations: 166.2 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1147, allocations: 4 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1147, allocations: 3.938 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1148, allocations: 4 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.115, allocations: 213.5 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.115, allocations: 3.938 kB / 0.496 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.1153, allocations: 43.97 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1153, allocations: 0 / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1153, allocations: 4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.1157, allocations: 0.5937 MB / 0.4967 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1157, allocations: 4.094 kB / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.1162, allocations: 287.4 kB / 0.4969 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.1163, allocations: 97.02 kB / 0.497 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1163, allocations: 4 kB / 0.497 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1164, allocations: 11.98 kB / 0.497 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1165, allocations: 12.05 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1165, allocations: 7.938 kB / 0.4971 GB, free: 1.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.1166, allocations: 91.27 kB / 0.4971 GB, free: 1.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1166, allocations: 0 / 0.4971 GB, free: 1.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.117, allocations: 79.67 kB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.118, allocations: 0.8995 MB / 0.4981 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.1184, allocations: 119.9 kB / 0.4982 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1185, allocations: 3.938 kB / 0.4982 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1187, allocations: 71.95 kB / 0.4983 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.119, allocations: 11.94 kB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.1213, allocations: 1.725 MB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1216, allocations: 0.7041 MB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.61e-05/0.1217, allocations: 16.97 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.1218, allocations: 39.42 kB / 0.5007 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1218, allocations: 0 / 0.5007 GB, free: 14.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.151, allocations: 3.798 MB / 0.5044 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.57, allocations: 8.375 kB / 0.5044 GB, free: 10.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches