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.001232/0.001232, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001246/0.001246, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2005/0.2005, allocations: 43.53 MB / 314.1 MB, free: 464 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.001644/0.001645, allocations: 75.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.109, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003098/0.1121, allocations: 1.807 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1142, allocations: 1.376 MB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1143, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1145, allocations: 43.75 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1148, allocations: 55.55 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.1154, allocations: 243.1 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1156, allocations: 107.4 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1156, allocations: 13.11 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1158, allocations: 51.77 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.1159, allocations: 47.78 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1159, allocations: 4 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.1166, allocations: 0.4951 MB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.1167, allocations: 19.8 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.1167, allocations: 47.72 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1173, allocations: 355 kB / 0.492 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1173, allocations: 0 / 0.492 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1173, allocations: 0 / 0.492 GB, free: 7.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1173, allocations: 8 kB / 0.492 GB, free: 7.605 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.00063/0.118, allocations: 439 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.118, allocations: 12.03 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.118, allocations: 46.73 kB / 0.4924 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1181, allocations: 8.844 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1182, allocations: 176.2 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1182, allocations: 8.375 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1183, allocations: 15.94 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.1186, allocations: 146.1 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1186, allocations: 0 / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1186, allocations: 8 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1186, allocations: 4 kB / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.1189, allocations: 131.9 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.1199, allocations: 0.522 MB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1201, allocations: 94.66 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1203, allocations: 48.83 kB / 0.4936 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1203, allocations: 4 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1203, allocations: 34.56 kB / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1203, allocations: 0 / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004699/0.1208, allocations: 165.5 kB / 0.4938 GB, free: 5.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1209, allocations: 51.41 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.1209, allocations: 117.7 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.121, allocations: 29.7 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.121, allocations: 115.7 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1211, allocations: 43.44 kB / 0.4941 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1211, allocations: 25.72 kB / 0.4941 GB, free: 5.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1213, allocations: 326.8 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1214, allocations: 36.34 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1215, allocations: 85.11 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1218, allocations: 132.9 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1218, allocations: 8 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003486/0.1222, allocations: 153.8 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1222, allocations: 8 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1222, allocations: 3.984 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1222, allocations: 4 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1224, allocations: 44.06 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/0.1228, allocations: 0.5938 MB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1229, allocations: 15.88 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.1229, allocations: 11.98 kB / 0.4955 GB, free: 3.68 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.0001143/0.1231, allocations: 125.6 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.1231, allocations: 12 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.1235, allocations: 158 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1235, allocations: 3.984 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1235, allocations: 7.875 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1235, allocations: 4 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1238, allocations: 225.5 kB / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1238, allocations: 0 / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.124, allocations: 47.84 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.124, allocations: 0 / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.124, allocations: 4 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003369/0.1244, allocations: 0.586 MB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1244, allocations: 4.094 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.1248, allocations: 291.3 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.1249, allocations: 100.9 kB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.125, allocations: 4 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1251, allocations: 7.984 kB / 0.497 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1251, allocations: 12.05 kB / 0.497 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1252, allocations: 8 kB / 0.497 GB, free: 1.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1252, allocations: 91.27 kB / 0.4971 GB, free: 1.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1252, allocations: 0 / 0.4971 GB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1256, allocations: 67.94 kB / 0.4972 GB, free: 1.812 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.001029/0.1266, allocations: 0.8958 MB / 0.4981 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.1271, allocations: 128 kB / 0.4982 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1271, allocations: 0 / 0.4982 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.1273, allocations: 71.89 kB / 0.4983 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1276, allocations: 12.22 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.1302, allocations: 1.732 MB / 0.5 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1306, allocations: 0.708 MB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.227e-05/0.1307, allocations: 16.55 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/0.1308, allocations: 35.42 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1308, allocations: 0 / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.155, allocations: 3.834 MB / 0.5044 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.07, allocations: 4.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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