Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001114/0.001114, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001144/0.001144, allocations: 197.4 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2083/0.2083, 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.001551/0.001551, allocations: 68.28 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003021/0.1104, allocations: 1.823 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.1145, allocations: 2.906 MB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1146, allocations: 4 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1149, allocations: 43.69 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1153, allocations: 79.62 kB / 0.4922 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.117, allocations: 0.7238 MB / 0.4929 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.1174, allocations: 238.8 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.1175, allocations: 32.38 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1177, allocations: 107.4 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1179, allocations: 115.4 kB / 0.4933 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1179, allocations: 8 kB / 0.4934 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.1196, allocations: 1.209 MB / 0.4945 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.1197, allocations: 71.62 kB / 0.4946 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1198, allocations: 111.2 kB / 0.4947 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1212, allocations: 0.9116 MB / 0.4956 GB, free: 3.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1213, allocations: 0 / 0.4956 GB, free: 3.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1213, allocations: 0 / 0.4956 GB, free: 3.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1213, allocations: 4 kB / 0.4956 GB, free: 3.867 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001187/0.1225, allocations: 0.6669 MB / 0.4962 GB, free: 3.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1225, allocations: 8.031 kB / 0.4963 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.484e-05/0.1226, allocations: 78.72 kB / 0.4963 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.1227, allocations: 28.56 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1231, allocations: 251 kB / 0.4966 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1231, allocations: 24.55 kB / 0.4966 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.1232, allocations: 24 kB / 0.4966 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.124, allocations: 463.3 kB / 0.4971 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.124, allocations: 0 / 0.4971 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.124, allocations: 11.98 kB / 0.4971 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.1241, allocations: 48.97 kB / 0.4971 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.125, allocations: 0.5426 MB / 0.4977 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1269, allocations: 1.307 MB / 0.499 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.1275, allocations: 274.5 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1277, allocations: 104.7 kB / 0.4993 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1277, allocations: 11.92 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1278, allocations: 42.5 kB / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.1278, allocations: 3.984 kB / 0.4994 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007607/0.1285, allocations: 325.2 kB / 0.4997 GB, free: 15.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1286, allocations: 51.41 kB / 0.4997 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1287, allocations: 144.5 kB / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1288, allocations: 29.7 kB / 0.4999 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1289, allocations: 200.1 kB / 0.5001 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.129, allocations: 90.75 kB / 0.5002 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1291, allocations: 69.69 kB / 0.5002 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1293, allocations: 326.8 kB / 0.5006 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1295, allocations: 91.78 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1298, allocations: 166.2 kB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.1303, allocations: 306.7 kB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1303, allocations: 4 kB / 0.5011 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006692/0.131, allocations: 317 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1311, allocations: 8 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1311, allocations: 4.344 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.1311, allocations: 8 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.1316, allocations: 115.9 kB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.1332, allocations: 2.356 MB / 0.5038 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1334, allocations: 39.64 kB / 0.5039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1335, allocations: 19.98 kB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.1337, allocations: 181.7 kB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1337, allocations: 15.81 kB / 0.5041 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.1346, allocations: 366.6 kB / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1346, allocations: 4 kB / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1346, allocations: 3.984 kB / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1346, allocations: 3.938 kB / 0.5044 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.135, allocations: 341.2 kB / 0.5048 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1351, allocations: 0 / 0.5048 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.1355, allocations: 111.9 kB / 0.5049 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1355, allocations: 7.938 kB / 0.5049 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1355, allocations: 11.98 kB / 0.5049 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1368, allocations: 2.356 MB / 0.5072 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1368, allocations: 0 / 0.5072 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.1374, allocations: 388.3 kB / 0.5076 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1375, allocations: 92.86 kB / 0.5076 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1375, allocations: 7.984 kB / 0.5076 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1376, allocations: 8 kB / 0.5077 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/0.1377, allocations: 19.97 kB / 0.5077 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1377, allocations: 12 kB / 0.5077 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.1378, allocations: 103.2 kB / 0.5078 GB, free: 6.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1378, allocations: 0 / 0.5078 GB, free: 6.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000706/0.1385, allocations: 235.5 kB / 0.508 GB, free: 6.488 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/0.1401, allocations: 1.141 MB / 0.5091 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007275/0.1409, allocations: 299.6 kB / 0.5094 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1409, allocations: 4 kB / 0.5094 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.1413, allocations: 173 kB / 0.5096 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1417, allocations: 23.94 kB / 0.5096 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.145, allocations: 2.556 MB / 0.5121 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1454, allocations: 0.8025 MB / 0.5129 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1457, allocations: 101.7 kB / 0.513 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1458, allocations: 87.41 kB / 0.5131 GB, free: 1.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1458, allocations: 0 / 0.5131 GB, free: 1.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1778, allocations: 8.858 MB / 0.5217 GB, free: 8.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.96, allocations: 4.422 kB / 0.5217 GB, free: 8.262 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches