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.001066/0.001066, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.001106/0.001106, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.382/1.382, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2159/0.2159, 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.001544/0.001544, allocations: 75.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.113, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00318/0.1163, allocations: 1.675 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1178, allocations: 0.8344 MB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.1179, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1182, allocations: 47.7 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1184, allocations: 51.73 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1188, allocations: 91.64 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.119, allocations: 151.2 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.119, allocations: 20.86 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1192, allocations: 63.7 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1193, allocations: 71.67 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1194, allocations: 8 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.1197, allocations: 167.7 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.1198, allocations: 31.89 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1198, allocations: 63.61 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1202, allocations: 203.3 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1202, allocations: 0 / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1202, allocations: 0 / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1202, allocations: 4 kB / 0.4908 GB, free: 8.797 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.0006137/0.1208, allocations: 462.9 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1209, allocations: 19.83 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.1209, allocations: 50.73 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.1214, allocations: 68.67 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1217, allocations: 212.2 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1217, allocations: 4.375 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1217, allocations: 19.88 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.1221, allocations: 233.5 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1222, allocations: 3.938 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1222, allocations: 4 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.1222, allocations: 23.98 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.1226, allocations: 219.8 kB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1238, allocations: 0.7284 MB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.124, allocations: 94.44 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1241, allocations: 48.81 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1241, allocations: 0 / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1242, allocations: 34.5 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.1242, allocations: 3.984 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004997/0.1247, allocations: 169.5 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1247, allocations: 55.41 kB / 0.4932 GB, free: 6.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1249, allocations: 191.2 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1249, allocations: 25.7 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.125, allocations: 139.7 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1251, allocations: 27.64 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.1251, allocations: 37.64 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1252, allocations: 322.8 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1254, allocations: 47.95 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1256, allocations: 102.8 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1259, allocations: 158.7 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1259, allocations: 0 / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000387/0.1263, allocations: 181.3 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1263, allocations: 6.656 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1263, allocations: 7.984 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1264, allocations: 0 / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.1272, allocations: 128 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1284, allocations: 1.817 MB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1286, allocations: 27.73 kB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1286, allocations: 8 kB / 0.4963 GB, free: 2.793 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.0001206/0.1288, allocations: 153.7 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.1288, allocations: 15.84 kB / 0.4965 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.1292, allocations: 171 kB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1292, allocations: 0 / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1293, allocations: 0 / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1293, allocations: 0 / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1295, allocations: 249.3 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1295, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.1302, allocations: 103.9 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1302, allocations: 8 kB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1303, allocations: 0 / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/0.1312, allocations: 1.778 MB / 0.4987 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1313, allocations: 0 / 0.4987 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.1316, allocations: 243.1 kB / 0.4989 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1317, allocations: 92.92 kB / 0.499 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1317, allocations: 4 kB / 0.499 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1319, allocations: 8.078 kB / 0.499 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1319, allocations: 11.98 kB / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1319, allocations: 8 kB / 0.499 GB, free: 15.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1321, allocations: 131.9 kB / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1321, allocations: 0 / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1324, allocations: 47.88 kB / 0.4992 GB, free: 15.62 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.0006674/0.133, allocations: 0.7983 MB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.1342, allocations: 224.1 kB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1342, allocations: 0 / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.1348, allocations: 131.7 kB / 0.5003 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1352, allocations: 39.95 kB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.1377, allocations: 2.073 MB / 0.5024 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1379, allocations: 0.7319 MB / 0.5031 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1381, allocations: 41.33 kB / 0.5032 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.1382, allocations: 39.42 kB / 0.5032 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1382, allocations: 4 kB / 0.5032 GB, free: 11.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1629, allocations: 5.161 MB / 0.5082 GB, free: 6.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.32, allocations: 12.77 kB / 0.5082 GB, free: 6.203 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