Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001183/0.001183, allocations: 107 kB / 17.33 MB, free: 6.023 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.00111/0.00111, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.17 MB / 336.2 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 56.41 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.1004, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003392/0.1038, allocations: 1.855 MB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.105, allocations: 0.7908 MB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.105, allocations: 4 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1053, allocations: 31.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1055, allocations: 71.66 kB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1057, allocations: 67.8 kB / 471.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1059, allocations: 135.4 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.1059, allocations: 8 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.106, allocations: 63.77 kB / 471.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1062, allocations: 87.64 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1062, allocations: 4 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1063, allocations: 67.89 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.1064, allocations: 43.89 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1064, allocations: 35.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1066, allocations: 143.8 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1066, allocations: 4 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1066, allocations: 0 / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1067, allocations: 0 / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004797/0.1071, allocations: 403.2 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1072, allocations: 12.02 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1072, allocations: 38.75 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.1076, allocations: 40.81 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1077, allocations: 188.2 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1077, allocations: 12.38 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1078, allocations: 11.88 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.1081, allocations: 172.1 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1081, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1081, allocations: 8 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.1082, allocations: 7.984 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.1085, allocations: 135.8 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.1092, allocations: 0.656 MB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1096, allocations: 110.6 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1097, allocations: 36.83 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1097, allocations: 0 / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1097, allocations: 38.56 kB / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1097, allocations: 0 / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004036/0.1102, allocations: 137.5 kB / 474.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1102, allocations: 59.34 kB / 474.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.1103, allocations: 126 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1103, allocations: 25.7 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1104, allocations: 119.9 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1104, allocations: 27.78 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1105, allocations: 37.61 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.1105, allocations: 322.8 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1107, allocations: 39.97 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1108, allocations: 90.92 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.111, allocations: 147.5 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1111, allocations: 0 / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002978/0.1114, allocations: 153.4 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1114, allocations: 8 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1114, allocations: 256 / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1114, allocations: 8 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1116, allocations: 39.91 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1116, allocations: 4 kB / 475.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1117, allocations: 23.83 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1117, allocations: 4 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/0.1118, allocations: 133.7 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1119, allocations: 7.906 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.1122, allocations: 122 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1122, allocations: 0 / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1122, allocations: 0 / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1122, allocations: 7.969 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1124, allocations: 209.4 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1124, allocations: 0 / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1126, allocations: 35.92 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1126, allocations: 7.922 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1126, allocations: 0 / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1126, allocations: 0 / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1126, allocations: 0 / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1129, allocations: 203.4 kB / 476.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.1129, allocations: 84.95 kB / 476.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1129, allocations: 15.98 kB / 476.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.1131, allocations: 4 kB / 476.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1131, allocations: 3.984 kB / 476.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1131, allocations: 4 kB / 476.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.1132, allocations: 91.27 kB / 476.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1132, allocations: 0 / 476.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1134, allocations: 27.91 kB / 476.4 MB, free: 6.688 MB / 350.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005087/0.1139, allocations: 0.748 MB / 477.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1142, allocations: 112.5 kB / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1142, allocations: 0 / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1143, allocations: 39.97 kB / 477.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1146, allocations: 8.312 kB / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1162, allocations: 1.711 MB / 479 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1165, allocations: 0.7119 MB / 479.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.1166, allocations: 24.53 kB / 479.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.1166, allocations: 27.42 kB / 479.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1167, allocations: 3.938 kB / 479.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.1276, allocations: 2.132 MB / 481.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1278, allocations: 258.5 kB / 482.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/1.906, allocations: 2.656 kB / 482.1 MB, free: 0.9453 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches