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.001338/0.001339, allocations: 104.1 kB / 16.27 MB, free: 6.039 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.00109/0.00109, allocations: 187.6 kB / 17.19 MB, free: 5.684 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.44/1.44, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2239/0.2239, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001964/0.001964, allocations: 63.97 kB / 382.9 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1157, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003954/0.1197, allocations: 1.819 MB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1221, allocations: 1.676 MB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1223, allocations: 7.938 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1225, allocations: 47.75 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.1229, allocations: 83.56 kB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.124, allocations: 402.6 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1243, allocations: 246.8 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1243, allocations: 28.39 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1246, allocations: 99.5 kB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1247, allocations: 111.4 kB / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1248, allocations: 8 kB / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.1257, allocations: 0.7055 MB / 445.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1258, allocations: 71.69 kB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.126, allocations: 115.2 kB / 446 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.127, allocations: 0.6153 MB / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.127, allocations: 0 / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.127, allocations: 0 / 446.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.127, 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.000969/0.128, allocations: 0.6124 MB / 447.3 MB, free: 76 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1281, allocations: 16.03 kB / 447.3 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1282, allocations: 74.7 kB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1283, allocations: 28.56 kB / 447.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1287, allocations: 247 kB / 447.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1287, allocations: 24.55 kB / 447.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.1287, allocations: 20 kB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.1295, allocations: 467.3 kB / 448.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1296, allocations: 0 / 448.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.1296, allocations: 15.98 kB / 448.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.1297, allocations: 48.97 kB / 448.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.1305, allocations: 0.5465 MB / 448.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.1327, allocations: 1.323 MB / 450.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.1333, allocations: 268.8 kB / 450.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1336, allocations: 104.7 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.1336, allocations: 11.94 kB / 450.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1337, allocations: 34.56 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.1337, allocations: 0 / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009059/0.1346, allocations: 337.2 kB / 450.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.1347, allocations: 55.41 kB / 450.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1349, allocations: 141.5 kB / 451 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1349, allocations: 37.64 kB / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1351, allocations: 195.7 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.1352, allocations: 91.12 kB / 451.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1353, allocations: 61.7 kB / 451.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1355, allocations: 322.8 kB / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.1357, allocations: 91.92 kB / 451.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.136, allocations: 170.2 kB / 451.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.1366, allocations: 290 kB / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1366, allocations: 0 / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006143/0.1373, allocations: 333.8 kB / 452.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1373, allocations: 7.984 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1373, allocations: 8 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1373, allocations: 4 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.1378, allocations: 115.9 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.139, allocations: 2.364 MB / 455 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1392, allocations: 35.61 kB / 455.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1393, allocations: 19.94 kB / 455.1 MB, free: 7.824 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.0002093/0.1395, allocations: 177.7 kB / 455.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1396, allocations: 15.81 kB / 455.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008381/0.1404, allocations: 366.4 kB / 455.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/0.1404, allocations: 4 kB / 455.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1405, allocations: 0 / 455.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1405, allocations: 7.922 kB / 455.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.1409, allocations: 341.2 kB / 456 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1409, allocations: 0 / 456 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.1413, allocations: 107.9 kB / 456.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1413, allocations: 0 / 456.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1414, allocations: 12 kB / 456.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1424, allocations: 2.36 MB / 458.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1424, allocations: 0 / 458.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.143, allocations: 380.4 kB / 458.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1431, allocations: 97.05 kB / 458.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1431, allocations: 4 kB / 458.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1433, allocations: 15.98 kB / 459 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1434, allocations: 19.97 kB / 459 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1434, allocations: 12 kB / 459 MB, free: 3.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.1435, allocations: 95.27 kB / 459.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1435, allocations: 4 kB / 459.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.144, allocations: 175.5 kB / 459.3 MB, free: 3.48 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.001196/0.1452, allocations: 1.02 MB / 460.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.146, allocations: 359.5 kB / 460.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1461, allocations: 0.6875 kB / 460.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.1465, 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.0003427/0.1469, allocations: 18.03 kB / 460.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1499, allocations: 2.508 MB / 463.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1502, allocations: 0.7987 MB / 464.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.1505, allocations: 101.7 kB / 464.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1507, allocations: 95.39 kB / 464.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1507, allocations: 0 / 464.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1823, allocations: 6.941 MB / 471.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.6, allocations: 0.875 kB / 471.3 MB, free: 7.328 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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