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_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 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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001071/0.001071, allocations: 109.3 kB / 16.41 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.001147/0.001147, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1973/0.1973, allocations: 43.53 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.001406/0.001406, allocations: 75.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002931/0.1046, allocations: 1.788 MB / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1059, allocations: 0.8421 MB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.106, allocations: 0 / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1063, allocations: 39.77 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1066, allocations: 75.58 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1068, allocations: 67.73 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.107, allocations: 131.4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.604e-05/0.1071, allocations: 19.97 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1072, allocations: 67.75 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1074, allocations: 75.73 kB / 0.4905 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1074, allocations: 7.938 kB / 0.4905 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1076, allocations: 75.88 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.1077, allocations: 27.95 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.1077, allocations: 39.73 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.108, allocations: 143.5 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.108, allocations: 0 / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.108, allocations: 4 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.108, allocations: 0 / 0.4907 GB, free: 8.879 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005558/0.1086, allocations: 407.2 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1086, allocations: 12.03 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.1087, allocations: 42.73 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.109, allocations: 36.72 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1092, allocations: 184.2 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1092, allocations: 16.3 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1093, allocations: 19.94 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1096, allocations: 176.1 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1096, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1097, allocations: 4 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.1097, allocations: 8 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.11, allocations: 139.7 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.1108, allocations: 0.6367 MB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1112, allocations: 110.6 kB / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1113, allocations: 36.83 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1113, allocations: 4 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1114, allocations: 42.55 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.946e-06/0.1114, allocations: 4 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004803/0.1119, allocations: 141.8 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1119, allocations: 55.41 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.112, allocations: 126 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1121, allocations: 33.69 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1122, allocations: 115.9 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1122, allocations: 27.66 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.1123, allocations: 33.7 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1124, allocations: 322.8 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1126, allocations: 35.95 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1128, allocations: 95.48 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.1131, allocations: 147.6 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1131, allocations: 0 / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003185/0.1134, allocations: 161.5 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1135, allocations: 8 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1135, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1135, allocations: 4 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1137, allocations: 47.91 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1137, allocations: 0 / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.1138, allocations: 23.83 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1138, allocations: 8 kB / 0.4939 GB, free: 5.355 MB / 382.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 9.699e-05/0.1139, allocations: 137.8 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.114, allocations: 7.906 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1143, allocations: 129.9 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1143, allocations: 0 / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1143, allocations: 4 kB / 0.4941 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1143, allocations: 0 / 0.4941 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1145, allocations: 201.6 kB / 0.4943 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1145, allocations: 0 / 0.4943 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1146, allocations: 35.84 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1147, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1147, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1147, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1147, allocations: 4 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.115, allocations: 215.3 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.115, allocations: 85.02 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.115, allocations: 0 / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1151, allocations: 11.92 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1152, allocations: 0 / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1152, allocations: 8 kB / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.1153, allocations: 91.27 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1153, allocations: 4 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1155, allocations: 20 kB / 0.4948 GB, free: 4.316 MB / 382.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.0005673/0.1161, allocations: 0.7551 MB / 0.4955 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.1164, allocations: 99.8 kB / 0.4956 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1164, allocations: 0 / 0.4956 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1165, allocations: 39.97 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1168, allocations: 8.625 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1187, allocations: 1.681 MB / 0.4973 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1189, allocations: 0.7041 MB / 0.498 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.119, allocations: 32.52 kB / 0.498 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1191, allocations: 23.44 kB / 0.498 GB, free: 0.793 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1191, allocations: 0 / 0.498 GB, free: 0.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.1371, allocations: 2.32 MB / 0.5003 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.417, allocations: 12.05 kB / 0.5003 GB, free: 14.47 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches