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.001453/0.001453, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001619/0.001619, allocations: 194 kB / 18.12 MB, free: 5.383 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 / 241.8 MB, free: 15.52 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.2579/0.2579, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 68.84 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.106, allocations: 60.84 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003158/0.1092, allocations: 1.868 MB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1114, allocations: 1.641 MB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.1115, allocations: 4 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.1118, allocations: 43.8 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.112, allocations: 67.66 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.1127, allocations: 359 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.113, allocations: 310.6 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.1131, allocations: 28.39 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1133, allocations: 99.45 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1134, allocations: 131.4 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1135, allocations: 4 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.1144, allocations: 0.6938 MB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.1145, allocations: 71.67 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1146, allocations: 119.1 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.1154, allocations: 0.6079 MB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1154, allocations: 3.938 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1154, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1154, allocations: 0 / 474.7 MB, free: 8.668 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.000972/0.1164, allocations: 0.624 MB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1165, allocations: 8.031 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.479e-05/0.1165, allocations: 66.72 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.1166, allocations: 36.56 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1169, allocations: 243.1 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1169, allocations: 20.55 kB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.117, allocations: 28 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.1177, allocations: 463.3 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1177, allocations: 3.938 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.1178, allocations: 11.98 kB / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.1178, allocations: 52.97 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.1187, allocations: 0.5543 MB / 476.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1207, allocations: 1.307 MB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.1212, allocations: 274.5 kB / 478.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1214, allocations: 104.8 kB / 478.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.1215, allocations: 11.92 kB / 478.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1215, allocations: 34.56 kB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.1215, allocations: 0 / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007615/0.1223, allocations: 325.9 kB / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1224, allocations: 59.39 kB / 478.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1225, allocations: 144.8 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1225, allocations: 29.7 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1226, allocations: 196.2 kB / 479.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.1227, allocations: 86.75 kB / 479.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1228, allocations: 73.48 kB / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.123, allocations: 326.8 kB / 479.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1232, allocations: 91.86 kB / 479.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1234, allocations: 174.2 kB / 480 MB, free: 3.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.1239, allocations: 290.2 kB / 480.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1239, allocations: 7.875 kB / 480.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000586/0.1245, allocations: 329.1 kB / 480.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1245, allocations: 4 kB / 480.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1245, allocations: 4 kB / 480.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1246, allocations: 4 kB / 480.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.1251, allocations: 119.9 kB / 480.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1265, allocations: 2.36 MB / 483.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1267, allocations: 43.91 kB / 483.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1267, allocations: 15.98 kB / 483.1 MB, free: 15.75 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.0001846/0.1269, allocations: 169.7 kB / 483.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1269, allocations: 11.91 kB / 483.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.1277, allocations: 362.4 kB / 483.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1278, allocations: 8 kB / 483.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1278, allocations: 0 / 483.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1278, allocations: 3.938 kB / 483.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1282, allocations: 345.3 kB / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1282, allocations: 0 / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.1286, allocations: 103.9 kB / 484.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1286, allocations: 0 / 484.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1287, allocations: 15.98 kB / 484.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.13, allocations: 2.36 MB / 486.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.13, allocations: 0 / 486.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.1306, allocations: 376.7 kB / 486.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1306, allocations: 92.94 kB / 487 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1307, allocations: 8 kB / 487 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1308, allocations: 8.094 kB / 487 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.1309, allocations: 27.97 kB / 487 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.1309, allocations: 15.98 kB / 487 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.573e-05/0.131, allocations: 103.2 kB / 487.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.131, allocations: 3.938 kB / 487.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.1316, allocations: 163.5 kB / 487.3 MB, free: 11.42 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.001177/0.1327, allocations: 1.025 MB / 488.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007171/0.1335, allocations: 295.7 kB / 488.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1335, allocations: 0 / 488.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.1339, allocations: 180.5 kB / 488.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1343, allocations: 19.98 kB / 488.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1374, allocations: 2.686 MB / 491.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1378, allocations: 0.7986 MB / 492.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.1381, allocations: 93.75 kB / 492.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1383, allocations: 87.39 kB / 492.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1383, allocations: 0 / 492.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.1583, allocations: 6.683 MB / 499.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/0.1587, allocations: 292.5 kB / 499.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.254, allocations: 3.938 kB / 499.4 MB, free: 15.21 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