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_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 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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001326/0.001326, allocations: 99.67 kB / 15.98 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.001338/0.001339, allocations: 194.1 kB / 16.9 MB, free: 6.184 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.452/1.452, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3328/0.3328, allocations: 43.5 MB / 313.6 MB, free: 8.574 MB / 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.00138/0.001381, allocations: 71.91 kB / 382.4 MB, free: 8.477 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 57.78 MB / 440.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003016/0.1132, allocations: 1.879 MB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1154, allocations: 1.673 MB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.1155, allocations: 3.938 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1158, allocations: 43.8 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1161, allocations: 67.66 kB / 443.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.1168, allocations: 367 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.1171, allocations: 242.8 kB / 444.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.1171, allocations: 36.31 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1173, allocations: 99.5 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.1175, allocations: 131.4 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1175, allocations: 11.94 kB / 444.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.1184, allocations: 0.7056 MB / 445.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.1185, allocations: 71.69 kB / 445.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1186, allocations: 111.2 kB / 445.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.1194, allocations: 0.6153 MB / 446.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1195, allocations: 0 / 446.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1195, allocations: 0 / 446.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1195, allocations: 0 / 446.2 MB, free: 8.531 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001138/0.1206, allocations: 0.6163 MB / 446.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.1207, allocations: 12.03 kB / 446.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.1208, allocations: 78.64 kB / 446.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.1209, allocations: 32.56 kB / 446.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1213, allocations: 247 kB / 447.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.1213, allocations: 16.56 kB / 447.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.1214, allocations: 31.98 kB / 447.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.1224, allocations: 467.3 kB / 447.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1224, allocations: 0 / 447.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.1224, allocations: 4 kB / 447.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.1225, allocations: 52.97 kB / 447.7 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1233, allocations: 0.5426 MB / 448.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.125, allocations: 1.315 MB / 449.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.1256, allocations: 278.7 kB / 449.8 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.1258, allocations: 96.8 kB / 449.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.1258, allocations: 15.98 kB / 449.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1259, allocations: 34.55 kB / 450 MB, free: 4.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.1259, allocations: 0 / 450 MB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008901/0.1268, allocations: 333.2 kB / 450.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1269, allocations: 55.34 kB / 450.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.127, allocations: 142 kB / 450.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.127, allocations: 29.7 kB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1272, allocations: 187.9 kB / 450.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.1273, allocations: 90.73 kB / 450.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1274, allocations: 69.61 kB / 450.9 MB, free: 3.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1276, allocations: 330.8 kB / 451.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1278, allocations: 91.78 kB / 451.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.1281, allocations: 178.1 kB / 451.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.1285, allocations: 294.8 kB / 451.7 MB, free: 2.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.1286, allocations: 4 kB / 451.7 MB, free: 2.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000563/0.1291, allocations: 329 kB / 452.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1292, allocations: 8 kB / 452.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1292, allocations: 0 / 452.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1292, allocations: 11.94 kB / 452.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.1297, allocations: 115.9 kB / 452.2 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1966/0.3263, allocations: 2.352 MB / 454.5 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3266, allocations: 41.59 kB / 454.6 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.3266, allocations: 12.95 kB / 454.6 MB, free: 48.58 MB / 382.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.0001724/0.3268, allocations: 175.8 kB / 454.8 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3268, allocations: 16.12 kB / 454.8 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.3275, allocations: 362.2 kB / 455.1 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3275, allocations: 2.844 kB / 455.1 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3276, allocations: 4.531 kB / 455.2 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3276, allocations: 3.328 kB / 455.2 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.3279, allocations: 340.2 kB / 455.5 MB, free: 48.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3279, allocations: 0 / 455.5 MB, free: 48.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.3283, allocations: 108.3 kB / 455.6 MB, free: 48.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3283, allocations: 0 / 455.6 MB, free: 48.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.3283, allocations: 10.81 kB / 455.6 MB, free: 48.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005504/0.3289, allocations: 2.365 MB / 458 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3289, allocations: 2.109 kB / 458 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.3293, allocations: 373.6 kB / 458.3 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.3293, allocations: 95.28 kB / 458.4 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3293, allocations: 7.75 kB / 458.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3295, allocations: 14.47 kB / 458.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3295, allocations: 21.59 kB / 458.5 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3296, allocations: 8.219 kB / 458.5 MB, free: 45.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.3296, allocations: 110.8 kB / 458.6 MB, free: 45.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3296, allocations: 0 / 458.6 MB, free: 45.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.3301, allocations: 162.5 kB / 458.7 MB, free: 45.59 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 (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.0007956/0.3309, allocations: 1.039 MB / 459.8 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.3315, allocations: 359.1 kB / 460.1 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3315, allocations: 0 / 460.1 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.3319, allocations: 179.5 kB / 460.3 MB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3322, allocations: 18.56 kB / 460.3 MB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3343, allocations: 2.648 MB / 463 MB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.3345, allocations: 0.8025 MB / 463.8 MB, free: 42.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.3347, allocations: 100.9 kB / 463.9 MB, free: 42.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3349, allocations: 85.92 kB / 464 MB, free: 42.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3349, allocations: 0 / 464 MB, free: 42.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/1.695, allocations: 6.815 MB / 470.8 MB, free: 41.83 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.695, allocations: 282.5 kB / 471.1 MB, free: 41.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.702, allocations: 4 kB / 471.1 MB, free: 41.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches