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.001104/0.001104, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00136/0.00136, allocations: 192 kB / 18.55 MB, free: 4.566 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.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2057/0.2057, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 57.5 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09919, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002748/0.102, allocations: 1.814 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1041, allocations: 1.652 MB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.1042, allocations: 0 / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1044, allocations: 39.75 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1047, allocations: 87.56 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.1055, allocations: 394.7 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1058, allocations: 242.8 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.1058, allocations: 36.38 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.106, allocations: 99.5 kB / 473.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1062, allocations: 119.4 kB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1062, allocations: 8 kB / 473.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.1071, allocations: 0.7016 MB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1072, allocations: 71.67 kB / 474.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1073, allocations: 119.2 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.1081, allocations: 0.6118 MB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1081, allocations: 0 / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1081, allocations: 0 / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1081, allocations: 0 / 475.3 MB, free: 8.246 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.0008671/0.109, allocations: 0.62 MB / 476 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.109, allocations: 8.031 kB / 476 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.1091, allocations: 78.7 kB / 476.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.1092, allocations: 32.56 kB / 476.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1094, allocations: 243.1 kB / 476.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1094, allocations: 16.56 kB / 476.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.1095, allocations: 31.94 kB / 476.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.1101, allocations: 467.3 kB / 476.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1101, allocations: 0 / 476.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1102, allocations: 11.92 kB / 476.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.1102, allocations: 48.97 kB / 476.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.111, allocations: 0.5504 MB / 477.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1125, allocations: 1.319 MB / 478.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.113, allocations: 269.8 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1132, allocations: 100.8 kB / 479.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1133, allocations: 8.328 kB / 479.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1133, allocations: 42.48 kB / 479.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.1133, allocations: 0 / 479.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006531/0.114, allocations: 325.9 kB / 479.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.114, allocations: 55.41 kB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.1141, allocations: 142 kB / 479.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1141, allocations: 29.7 kB / 479.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.1142, allocations: 199.7 kB / 479.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1143, allocations: 86.75 kB / 480 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.1144, allocations: 73.5 kB / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.1145, allocations: 330.8 kB / 480.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.1147, allocations: 87.92 kB / 480.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1149, allocations: 170.2 kB / 480.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.1153, allocations: 294.2 kB / 480.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1154, allocations: 4 kB / 480.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005242/0.1159, allocations: 329 kB / 481.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1159, allocations: 8 kB / 481.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1159, allocations: 0 / 481.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1159, allocations: 8 kB / 481.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.1164, allocations: 115.9 kB / 481.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.1174, allocations: 2.364 MB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1176, allocations: 39.61 kB / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1176, allocations: 16 kB / 483.8 MB, free: 15.33 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.0001376/0.1178, allocations: 169.7 kB / 484 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1178, allocations: 7.906 kB / 484 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/0.1185, allocations: 366.4 kB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1185, allocations: 4 kB / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1185, allocations: 0 / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1186, allocations: 7.922 kB / 484.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1189, allocations: 349.3 kB / 484.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1189, allocations: 0 / 484.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.1193, allocations: 103.9 kB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1193, allocations: 0 / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1193, allocations: 11.94 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000957/0.1203, allocations: 2.372 MB / 487.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1203, allocations: 0 / 487.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1208, allocations: 368.3 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.1208, allocations: 92.95 kB / 487.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1209, allocations: 4 kB / 487.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.121, allocations: 16.08 kB / 487.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.1211, allocations: 23.97 kB / 487.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1211, allocations: 11.94 kB / 487.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.1212, allocations: 103.2 kB / 487.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1212, allocations: 0 / 487.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1216, allocations: 175.5 kB / 487.9 MB, free: 10.99 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.001011/0.1226, allocations: 1.029 MB / 489 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.1234, allocations: 351.6 kB / 489.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1234, allocations: 0 / 489.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.1238, allocations: 180.4 kB / 489.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1242, allocations: 16 kB / 489.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.1269, allocations: 2.535 MB / 492 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1272, allocations: 0.7948 MB / 492.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00028/0.1275, allocations: 109.7 kB / 492.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1276, allocations: 91.41 kB / 493 MB, free: 5.703 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1276, allocations: 0 / 493 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.1915, allocations: 6.934 MB / 500 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.76, allocations: 12.47 kB / 500 MB, free: 14.96 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