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_turbulent_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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.0008834/0.0008836, allocations: 97.14 kB / 17.35 MB, free: 6.344 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.0009432/0.0009433, allocations: 170.9 kB / 18.25 MB, free: 5.504 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.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 8.281 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002447/0.1144, allocations: 1.532 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.117, allocations: 1.625 MB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.1171, allocations: 0 / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1174, allocations: 35.83 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1178, allocations: 79.62 kB / 475.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1189, allocations: 351.1 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.1193, allocations: 306.7 kB / 476.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.1193, allocations: 28.39 kB / 476.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1196, allocations: 99.5 kB / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1198, allocations: 127.4 kB / 476.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1199, allocations: 4 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1209, allocations: 0.7055 MB / 477.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1211, allocations: 71.69 kB / 477.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1212, allocations: 136.9 kB / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.1221, allocations: 0.6078 MB / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1222, allocations: 0 / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1222, allocations: 0 / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1222, allocations: 0 / 478.1 MB, free: 7.535 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008969/0.1231, allocations: 0.5772 MB / 478.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1231, allocations: 8.031 kB / 478.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.1232, allocations: 74.7 kB / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1233, allocations: 36.47 kB / 478.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1236, allocations: 243.1 kB / 479 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1236, allocations: 20.55 kB / 479 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1236, allocations: 24 kB / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.1244, allocations: 483.3 kB / 479.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1244, allocations: 0 / 479.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1245, allocations: 15.92 kB / 479.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.1245, allocations: 44.97 kB / 479.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.1254, allocations: 0.5621 MB / 480.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1272, allocations: 1.319 MB / 481.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.1277, allocations: 282.4 kB / 481.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1279, allocations: 100.8 kB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.128, allocations: 7.938 kB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.128, allocations: 38.55 kB / 481.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.128, allocations: 4 kB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007305/0.1288, allocations: 337.9 kB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1288, allocations: 59.34 kB / 482.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1289, allocations: 150 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1289, allocations: 25.7 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1291, allocations: 196.2 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1291, allocations: 86.75 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.1292, allocations: 37.7 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1294, allocations: 326.8 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1296, allocations: 99.78 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.1298, allocations: 178.2 kB / 483.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1303, allocations: 298.2 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1303, allocations: 8 kB / 483.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006123/0.131, allocations: 329.3 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.131, allocations: 8 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.131, allocations: 4 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.131, allocations: 4 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.1315, allocations: 119.9 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1327, allocations: 2.368 MB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1329, allocations: 39.91 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1329, allocations: 19.98 kB / 486.5 MB, free: 14.61 MB / 366.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.000184/0.1331, allocations: 173.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1331, allocations: 11.81 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.1339, allocations: 371.4 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.134, allocations: 4 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.134, allocations: 0 / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.134, allocations: 3.938 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.1344, allocations: 349.3 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1344, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.1348, allocations: 111.9 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1348, allocations: 0 / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1349, allocations: 11.98 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.1362, allocations: 2.36 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1362, allocations: 0 / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.1368, allocations: 391.6 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.1368, allocations: 96.86 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.1369, allocations: 4 kB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.137, allocations: 15.98 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.1371, allocations: 23.98 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1372, allocations: 15.92 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.1372, allocations: 102.1 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1372, allocations: 3.938 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005935/0.1378, allocations: 159.6 kB / 490.7 MB, free: 10.25 MB / 366.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.001169/0.139, allocations: 1.04 MB / 491.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1397, allocations: 316.3 kB / 492 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1398, allocations: 0 / 492 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1402, allocations: 176.3 kB / 492.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1405, allocations: 14.75 kB / 492.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1439, allocations: 2.727 MB / 495 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1442, allocations: 0.8065 MB / 495.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.1445, allocations: 97.73 kB / 495.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1447, allocations: 90.22 kB / 495.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1447, allocations: 0 / 495.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1647, allocations: 6.57 MB / 0.4907 GB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.165, allocations: 293.1 kB / 0.491 GB, free: 14.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.004, allocations: 0 / 0.491 GB, free: 14.1 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches