Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001193/0.001193, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001154/0.001154, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.202/0.202, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.66 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003618/0.1444, allocations: 2.191 MB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.1494, allocations: 3.252 MB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1496, allocations: 0 / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.1501, allocations: 95.77 kB / 474.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.1506, allocations: 143.2 kB / 475 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1528, allocations: 0.8758 MB / 475.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.1534, allocations: 0.5593 MB / 476.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1536, allocations: 85.72 kB / 476.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.1539, allocations: 238.6 kB / 476.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.1543, allocations: 278.5 kB / 477.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.1544, allocations: 19.94 kB / 477.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.1574, allocations: 1.953 MB / 479 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1576, allocations: 139.2 kB / 479.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1579, allocations: 281.9 kB / 479.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.16, allocations: 1.667 MB / 481.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.16, allocations: 3.938 kB / 481.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.16, allocations: 0 / 481.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1601, allocations: 4 kB / 481.1 MB, free: 2.449 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001707/0.1618, allocations: 1.03 MB / 482.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1618, allocations: 12.03 kB / 482.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.162, allocations: 140.1 kB / 482.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1621, allocations: 72 kB / 482.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.1626, allocations: 362.4 kB / 482.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.1627, allocations: 58 kB / 482.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1628, allocations: 71.98 kB / 482.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.1646, allocations: 1.229 MB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1646, allocations: 0 / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.1647, allocations: 28 kB / 484.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.1648, allocations: 77.95 kB / 484.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.1673, allocations: 1.722 MB / 485.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.1715, allocations: 2.954 MB / 488.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.1723, allocations: 427.8 kB / 489.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1726, allocations: 141.3 kB / 489.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.1727, allocations: 8.266 kB / 489.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1727, allocations: 42.84 kB / 489.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1727, allocations: 0 / 489.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001013/0.1737, allocations: 479.3 kB / 489.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1738, allocations: 59.34 kB / 490 MB, free: 9.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.174, allocations: 210.3 kB / 490.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.174, allocations: 33.7 kB / 490.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.1743, allocations: 390.2 kB / 490.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.1744, allocations: 126.3 kB / 490.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1746, allocations: 122.1 kB / 490.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1747, allocations: 338.7 kB / 491.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.175, allocations: 141 kB / 491.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.1754, allocations: 354.3 kB / 491.7 MB, free: 7.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.1762, allocations: 0.5248 MB / 492.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1762, allocations: 8 kB / 492.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009253/0.1771, allocations: 0.5398 MB / 492.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1771, allocations: 8 kB / 492.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1772, allocations: 4 kB / 492.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.1772, allocations: 15.94 kB / 492.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.1779, allocations: 208.4 kB / 493 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.1795, allocations: 3 MB / 496 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1797, allocations: 55.44 kB / 496 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.1798, allocations: 31.98 kB / 496.1 MB, free: 2.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003412/0.1801, allocations: 277.6 kB / 496.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.1802, allocations: 23.72 kB / 496.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1814, allocations: 0.5423 MB / 496.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1814, allocations: 4 kB / 496.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1814, allocations: 0 / 496.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1814, allocations: 11.98 kB / 496.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1831, allocations: 1.158 MB / 498.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1831, allocations: 7.984 kB / 498.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.1837, allocations: 179.8 kB / 498.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1837, allocations: 4 kB / 498.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.1837, allocations: 16 kB / 498.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.1852, allocations: 2.966 MB / 0.4895 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1852, allocations: 4 kB / 0.4895 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.1859, allocations: 0.4984 MB / 0.49 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.186, allocations: 100.8 kB / 0.4901 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.1861, allocations: 11.94 kB / 0.4901 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1863, allocations: 15.98 kB / 0.4901 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.1864, allocations: 43.91 kB / 0.4902 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.1864, allocations: 19.98 kB / 0.4902 GB, free: 12.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1865, allocations: 135.2 kB / 0.4903 GB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1865, allocations: 0 / 0.4903 GB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001035/0.1876, allocations: 350.8 kB / 0.4906 GB, free: 12.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/0.1891, allocations: 1.288 MB / 0.4919 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.1903, allocations: 0.5314 MB / 0.4924 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1903, allocations: 1.5 kB / 0.4924 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.1909, allocations: 261 kB / 0.4927 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1913, allocations: 31.98 kB / 0.4927 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.196, allocations: 3.944 MB / 0.4965 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.1965, allocations: 0.9907 MB / 0.4975 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004938/0.197, allocations: 174.5 kB / 0.4977 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.1973, allocations: 207.4 kB / 0.4979 GB, free: 4.469 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1973, allocations: 0 / 0.4979 GB, free: 4.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2204/0.4177, allocations: 12.37 MB / 0.51 GB, free: 47.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 14.28 kB / 0.51 GB, free: 47.51 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches