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.001199/0.0012, allocations: 103 kB / 16.27 MB, free: 5.93 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.00131/0.00131, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1911/0.1911, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.002981/0.002981, allocations: 71.39 kB / 382.9 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1147, allocations: 57.79 MB / 440.7 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002864/0.1176, allocations: 1.816 MB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1198, allocations: 1.68 MB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.12, allocations: 4 kB / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1203, allocations: 51.73 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1205, allocations: 83.52 kB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.1214, allocations: 402.5 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1216, allocations: 246.8 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.1216, allocations: 24.41 kB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1218, allocations: 99.5 kB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1219, allocations: 115.4 kB / 445.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1219, allocations: 12 kB / 445.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.1227, allocations: 0.7016 MB / 445.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.1228, allocations: 71.69 kB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.1229, allocations: 111.2 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.1235, allocations: 0.6192 MB / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1235, allocations: 0 / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1235, allocations: 0 / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1236, allocations: 0 / 446.7 MB, free: 0.7344 MB / 318.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.0007486/0.1243, allocations: 0.6124 MB / 447.3 MB, free: 76 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1244, allocations: 16.03 kB / 447.3 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/0.1244, allocations: 70.78 kB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1245, allocations: 32.56 kB / 447.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1248, allocations: 243 kB / 447.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1248, allocations: 20.56 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1248, allocations: 31.89 kB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.1255, allocations: 467.3 kB / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1255, allocations: 0 / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1256, allocations: 8 kB / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.1256, allocations: 48.97 kB / 448.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.1265, allocations: 0.5465 MB / 448.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1283, allocations: 1.323 MB / 450.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.1288, allocations: 272.5 kB / 450.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1291, allocations: 104.7 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.1291, allocations: 7.938 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1291, allocations: 38.56 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.1292, allocations: 3.938 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.000752/0.1299, allocations: 333.2 kB / 450.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.13, allocations: 59.34 kB / 450.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1301, allocations: 138 kB / 451 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1301, allocations: 33.7 kB / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1303, allocations: 191.8 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.1303, allocations: 91.12 kB / 451.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.1304, allocations: 61.7 kB / 451.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1305, allocations: 330.8 kB / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1308, allocations: 87.92 kB / 451.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.131, allocations: 174.1 kB / 451.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.1315, allocations: 286.1 kB / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1315, allocations: 0 / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000576/0.1321, allocations: 333.8 kB / 452.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1321, allocations: 7.984 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1321, allocations: 4 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1321, allocations: 4 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.1326, allocations: 115.9 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1338, allocations: 2.36 MB / 455 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.134, allocations: 39.61 kB / 455.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1341, allocations: 12 kB / 455.1 MB, free: 7.836 MB / 334.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.0002178/0.1343, allocations: 181.6 kB / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.1343, allocations: 19.75 kB / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.1351, allocations: 366.4 kB / 455.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1352, allocations: 4 kB / 455.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1352, allocations: 0 / 455.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1352, allocations: 7.922 kB / 455.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1356, allocations: 341.3 kB / 456 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1356, allocations: 4 kB / 456 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.136, allocations: 103.9 kB / 456.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.136, allocations: 0 / 456.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1361, allocations: 16 kB / 456.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.1373, allocations: 2.36 MB / 458.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1373, allocations: 0 / 458.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.1379, allocations: 380.4 kB / 458.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.138, allocations: 97.05 kB / 458.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.138, allocations: 4 kB / 458.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1382, allocations: 15.98 kB / 459 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.1383, allocations: 19.97 kB / 459 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1383, allocations: 8 kB / 459 MB, free: 3.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.1383, allocations: 106.8 kB / 459.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1384, allocations: 0 / 459.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005435/0.1389, allocations: 171.5 kB / 459.3 MB, free: 3.484 MB / 334.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.001163/0.1401, allocations: 1.024 MB / 460.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.1409, allocations: 359.5 kB / 460.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1409, allocations: 0.6875 kB / 460.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.1414, allocations: 187.7 kB / 460.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1417, allocations: 14.03 kB / 460.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.1451, allocations: 2.512 MB / 463.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1455, allocations: 0.7987 MB / 464.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.1458, allocations: 97.72 kB / 464.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.146, allocations: 95.41 kB / 464.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.146, allocations: 3.938 kB / 464.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1723, allocations: 6.944 MB / 471.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.66, allocations: 0.875 kB / 471.3 MB, free: 7.309 MB / 350.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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