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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001384/0.001383, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001345/0.001345, allocations: 192.2 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.53 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.001504/0.001504, allocations: 71.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003665/0.1178, allocations: 1.822 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.119, allocations: 0.6347 MB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1191, allocations: 0 / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.1195, allocations: 55.67 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1198, allocations: 71.58 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1203, allocations: 119.5 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1206, allocations: 230.8 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.1207, allocations: 32.27 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1209, allocations: 87.52 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1211, allocations: 103.5 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1211, allocations: 8 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1216, allocations: 227.7 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.1217, allocations: 51.75 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1218, allocations: 99.3 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.1223, allocations: 330.6 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1223, allocations: 0 / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1223, allocations: 0 / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1223, allocations: 0 / 0.4912 GB, free: 8.406 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008426/0.1232, allocations: 0.53 MB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1232, allocations: 15.89 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.084e-05/0.1233, allocations: 70.72 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.1252, allocations: 204.3 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.1256, allocations: 275.9 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1257, allocations: 16.94 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.1257, allocations: 24.38 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.1267, allocations: 0.4967 MB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1267, allocations: 0 / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.1268, allocations: 12 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.1268, allocations: 28.48 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.128, allocations: 0.5837 MB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.1302, allocations: 1.185 MB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.1309, allocations: 166.4 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.1313, allocations: 88.75 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1313, allocations: 0 / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1314, allocations: 42.5 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1314, allocations: 0 / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00122/0.1326, allocations: 297.5 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1327, allocations: 55.41 kB / 0.4951 GB, free: 4.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1329, allocations: 274.6 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.133, allocations: 25.7 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1331, allocations: 175.8 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1332, allocations: 27.8 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.1332, allocations: 33.69 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.1335, allocations: 338.8 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.1339, allocations: 83.89 kB / 0.4961 GB, free: 3.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.1342, allocations: 123.3 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.135, allocations: 211.1 kB / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.135, allocations: 0 / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008593/0.1359, allocations: 261.3 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1359, allocations: 8 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1359, allocations: 0 / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1359, allocations: 4.094 kB / 0.4966 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/0.1416, allocations: 467.2 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.1443, allocations: 1.945 MB / 0.499 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.1447, allocations: 47.88 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.1447, allocations: 8.172 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001798/0.1449, allocations: 169.5 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.145, allocations: 23.86 kB / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.145, allocations: 29.7 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1451, allocations: 0 / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1451, allocations: 0 / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1451, allocations: 0 / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.1454, allocations: 293.4 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1454, allocations: 0 / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005671/0.1511, allocations: 459.3 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1511, allocations: 3.984 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1512, allocations: 4 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.1544, allocations: 1.949 MB / 0.5019 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1544, allocations: 0 / 0.5019 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.1559, allocations: 315.3 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.156, allocations: 108.9 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.1561, allocations: 4 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.1567, allocations: 19.97 kB / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.1568, allocations: 11.97 kB / 0.5023 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.1568, allocations: 7.938 kB / 0.5023 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002976/0.1571, allocations: 209.9 kB / 0.5025 GB, free: 12.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1572, allocations: 0 / 0.5025 GB, free: 12.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1576, allocations: 71.89 kB / 0.5026 GB, free: 12.16 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 (7): * Single equations (assignments): 4 * 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.001674/0.1592, allocations: 0.8644 MB / 0.5034 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.1683, allocations: 0.5928 MB / 0.504 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1684, allocations: 0 / 0.504 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00856/0.1769, allocations: 499.4 kB / 0.5045 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.1777, allocations: 51.27 kB / 0.5045 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.1848, allocations: 2.971 MB / 0.5074 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.1852, allocations: 0.7792 MB / 0.5082 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.1854, allocations: 53.91 kB / 0.5083 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1856, allocations: 63.41 kB / 0.5083 GB, free: 6.16 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1856, allocations: 0 / 0.5083 GB, free: 6.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.2124, allocations: 7.945 MB / 0.5161 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 13.75 kB / 0.5161 GB, free: 14.2 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches