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.00124/0.00124, allocations: 111.4 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.00121/0.00121, 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2024/0.2024, 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.001554/0.001554, allocations: 63.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09859, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003376/0.102, allocations: 1.803 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1044, allocations: 1.38 MB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1046, allocations: 4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1048, allocations: 39.77 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1051, allocations: 55.61 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.1058, allocations: 255 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.106, allocations: 103.4 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1061, allocations: 13.11 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1062, allocations: 43.78 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1064, allocations: 51.7 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1064, allocations: 4 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.1072, allocations: 0.499 MB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.1073, allocations: 11.94 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1074, allocations: 51.66 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.108, allocations: 358.9 kB / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.108, allocations: 0 / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.108, allocations: 0 / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.108, allocations: 0 / 0.492 GB, free: 7.609 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.0005839/0.1086, allocations: 454.4 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1086, allocations: 8.031 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.1087, allocations: 46.69 kB / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1087, allocations: 8.891 kB / 0.4925 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1089, allocations: 180.3 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1089, allocations: 12.38 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1089, allocations: 15.94 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1092, allocations: 142 kB / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1093, allocations: 0 / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1093, allocations: 4 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1093, allocations: 4 kB / 0.4928 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.1096, allocations: 135.9 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.1105, allocations: 0.5105 MB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1108, allocations: 102.6 kB / 0.4935 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1109, allocations: 52.83 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.111, allocations: 7.984 kB / 0.4936 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.111, allocations: 38.55 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.111, allocations: 0 / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004835/0.1115, allocations: 161.5 kB / 0.4938 GB, free: 5.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.1115, allocations: 55.41 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.1116, allocations: 117.8 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1116, allocations: 25.7 kB / 0.494 GB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1117, allocations: 119.8 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1118, allocations: 35.69 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.1118, allocations: 41.66 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.1119, allocations: 314.8 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.112, allocations: 43.97 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1122, allocations: 80.91 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1125, allocations: 133.5 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1125, allocations: 3.938 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003414/0.1128, allocations: 161.5 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1129, allocations: 8 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.1129, allocations: 8.312 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1129, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1132, allocations: 43.97 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003739/0.1135, allocations: 0.5898 MB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1137, allocations: 23.84 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1137, allocations: 12.09 kB / 0.4955 GB, free: 3.656 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.0001047/0.1138, allocations: 121.6 kB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1138, allocations: 7.953 kB / 0.4957 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.1143, allocations: 169.9 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1143, allocations: 0 / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.1143, allocations: 11.94 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1143, allocations: 0 / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.1146, allocations: 213.5 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1146, allocations: 0 / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1148, allocations: 39.97 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1148, allocations: 7.938 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1148, allocations: 3.938 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002993/0.1151, allocations: 0.5976 MB / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1151, allocations: 0 / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.1156, allocations: 291.5 kB / 0.4969 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.1157, allocations: 97.08 kB / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1157, allocations: 4 kB / 0.497 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1159, allocations: 7.984 kB / 0.497 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1159, allocations: 15.98 kB / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1159, allocations: 0 / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.116, allocations: 91.27 kB / 0.4971 GB, free: 1.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.116, allocations: 3.938 kB / 0.4971 GB, free: 1.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1164, allocations: 79.67 kB / 0.4972 GB, free: 1.785 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.0009998/0.1174, allocations: 0.8918 MB / 0.4981 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.1178, allocations: 123.8 kB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1179, allocations: 0 / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1181, allocations: 72.27 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1184, allocations: 23.86 kB / 0.4983 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.1206, allocations: 1.725 MB / 0.5 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1208, allocations: 0.7041 MB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.1209, allocations: 16.5 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.121, allocations: 39.41 kB / 0.5007 GB, free: 14.03 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.121, allocations: 0 / 0.5007 GB, free: 14.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.1447, allocations: 3.787 MB / 0.5044 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.86, allocations: 8.5 kB / 0.5044 GB, free: 10.24 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