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.001113/0.001113, allocations: 104 kB / 16.4 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.001242/0.001242, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.364/1.364, 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.2105/0.2105, allocations: 43.52 MB / 314.1 MB, free: 448 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.002507/0.002507, allocations: 63.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1236, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003525/0.1271, allocations: 1.679 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1287, allocations: 0.8305 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.1288, allocations: 3.938 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.129, allocations: 43.77 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1292, allocations: 47.73 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1296, allocations: 103.6 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1298, allocations: 151.2 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.1299, allocations: 16.86 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.13, allocations: 63.7 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1302, allocations: 75.61 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1302, allocations: 4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.1306, allocations: 163.8 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.1307, allocations: 35.89 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.1308, allocations: 67.55 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.1312, allocations: 203.4 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1312, allocations: 0 / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1312, allocations: 0 / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1312, allocations: 0 / 0.4908 GB, free: 8.777 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000685/0.1319, allocations: 458.9 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.132, allocations: 19.89 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.132, allocations: 46.73 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.1326, allocations: 72.67 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1328, allocations: 212.1 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1329, allocations: 8.375 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1329, allocations: 23.86 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.1333, allocations: 229.5 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1333, allocations: 3.938 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1334, allocations: 4 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.1334, allocations: 23.98 kB / 0.4919 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.1338, allocations: 219.8 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1349, allocations: 0.7245 MB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1351, allocations: 94.44 kB / 0.4929 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1352, allocations: 52.81 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1353, allocations: 0 / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1353, allocations: 34.5 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1353, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004685/0.1358, allocations: 173.6 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1358, allocations: 51.41 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.136, allocations: 195.2 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.136, allocations: 25.7 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.1361, allocations: 139.5 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1362, allocations: 23.64 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1362, allocations: 33.7 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1363, allocations: 322.8 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1365, allocations: 51.94 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1366, allocations: 94.83 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.1369, allocations: 166.6 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1369, allocations: 0 / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003656/0.1373, allocations: 181.3 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1373, allocations: 8 kB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1374, allocations: 3.938 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1374, allocations: 7.984 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/0.1383, allocations: 128.1 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1395, allocations: 1.809 MB / 0.4962 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1397, allocations: 31.77 kB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1397, allocations: 4 kB / 0.4963 GB, free: 2.777 MB / 382.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.0001228/0.1399, allocations: 157.7 kB / 0.4964 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.1399, allocations: 11.91 kB / 0.4964 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1403, allocations: 178.8 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1404, allocations: 8 kB / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1404, allocations: 0 / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1404, allocations: 0 / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.1407, allocations: 237.4 kB / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1407, allocations: 0 / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.1414, allocations: 99.88 kB / 0.4969 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1414, allocations: 4 kB / 0.4969 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1414, allocations: 7.984 kB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009246/0.1423, allocations: 1.778 MB / 0.4987 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1423, allocations: 0 / 0.4987 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1427, allocations: 247.1 kB / 0.4989 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1428, allocations: 88.92 kB / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1428, allocations: 0 / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.143, allocations: 16.08 kB / 0.499 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.143, allocations: 11.98 kB / 0.499 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.143, allocations: 0 / 0.499 GB, free: 15.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1431, allocations: 139.9 kB / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1432, allocations: 0 / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1435, allocations: 43.94 kB / 0.4992 GB, free: 15.6 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 (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.0007939/0.1443, allocations: 0.7943 MB / 0.5 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.1455, allocations: 228.1 kB / 0.5002 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1455, allocations: 4 kB / 0.5002 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.1462, allocations: 123.7 kB / 0.5003 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1466, allocations: 42.55 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.149, allocations: 2.075 MB / 0.5024 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1493, allocations: 0.7358 MB / 0.5031 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.1494, allocations: 33.39 kB / 0.5031 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1495, allocations: 47.42 kB / 0.5032 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1495, allocations: 0 / 0.5032 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.173, allocations: 5.158 MB / 0.5082 GB, free: 6.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.1, allocations: 12.83 kB / 0.5082 GB, free: 6.195 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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