Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001662/0.001662, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 74.72 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1477, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.004273/0.152, allocations: 2.211 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.1575, allocations: 3.326 MB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1578, allocations: 3.938 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.1582, allocations: 91.78 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.1588, allocations: 139.2 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.1609, allocations: 0.8987 MB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.1615, allocations: 0.567 MB / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1616, allocations: 77.73 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.162, allocations: 242.6 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.1624, allocations: 278.4 kB / 488 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.1624, allocations: 20 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.1653, allocations: 1.981 MB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1655, allocations: 143.2 kB / 490.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.1658, allocations: 274 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.1682, allocations: 1.69 MB / 492.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1683, allocations: 0 / 492.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1683, allocations: 4 kB / 492.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1683, allocations: 0 / 492.1 MB, free: 9.199 MB / 366.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.001757/0.1701, allocations: 1.026 MB / 493.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1701, allocations: 12.03 kB / 493.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.1703, allocations: 152.1 kB / 493.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1704, allocations: 72 kB / 493.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1708, allocations: 354.5 kB / 493.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.1709, allocations: 57.94 kB / 493.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.171, allocations: 83.97 kB / 493.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1727, allocations: 1.225 MB / 495 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1727, allocations: 0 / 495 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.1728, allocations: 31.98 kB / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.772e-05/0.1729, allocations: 77.95 kB / 495.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.1753, allocations: 1.726 MB / 496.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.1797, allocations: 2.943 MB / 499.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.1806, allocations: 435 kB / 0.4885 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1809, allocations: 141.3 kB / 0.4886 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.181, allocations: 24.19 kB / 0.4887 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.181, allocations: 34.84 kB / 0.4887 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.181, allocations: 0 / 0.4887 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001065/0.1821, allocations: 475.4 kB / 0.4891 GB, free: 96 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1822, allocations: 63.28 kB / 0.4892 GB, free: 20 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1824, allocations: 214.4 kB / 0.4894 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1825, allocations: 37.7 kB / 0.4894 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.1827, allocations: 386.2 kB / 0.4898 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1829, allocations: 122.2 kB / 0.4899 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.1831, allocations: 118.1 kB / 0.49 GB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1832, allocations: 334.8 kB / 0.4904 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.1836, allocations: 149 kB / 0.4905 GB, free: 14.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.184, allocations: 347.6 kB / 0.4908 GB, free: 14.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.1848, allocations: 0.5288 MB / 0.4914 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.1848, allocations: 4 kB / 0.4914 GB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009197/0.1858, allocations: 0.5358 MB / 0.4919 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1858, allocations: 10.34 kB / 0.4919 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1858, allocations: 7.938 kB / 0.4919 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1858, allocations: 12.75 kB / 0.4919 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.1866, allocations: 211.8 kB / 0.4921 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.1883, allocations: 2.989 MB / 0.495 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.1887, allocations: 63.36 kB / 0.4951 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.1887, allocations: 28 kB / 0.4951 GB, free: 9.625 MB / 382.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.0003646/0.1891, allocations: 281.7 kB / 0.4954 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.1892, allocations: 27.7 kB / 0.4954 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1903, allocations: 0.5423 MB / 0.4959 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1903, allocations: 7.984 kB / 0.496 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1904, allocations: 4 kB / 0.496 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1904, allocations: 4 kB / 0.496 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1921, allocations: 1.158 MB / 0.4971 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1921, allocations: 0 / 0.4971 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.1927, allocations: 183.7 kB / 0.4973 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.1927, allocations: 8 kB / 0.4973 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.1928, allocations: 15.98 kB / 0.4973 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.1942, allocations: 2.966 MB / 0.5002 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1943, allocations: 0 / 0.5002 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.195, allocations: 0.4906 MB / 0.5007 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.195, allocations: 108.7 kB / 0.5008 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.1951, allocations: 15.94 kB / 0.5008 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.1953, allocations: 15.98 kB / 0.5008 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.1954, allocations: 35.97 kB / 0.5008 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.1954, allocations: 20 kB / 0.5008 GB, free: 3.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.1955, allocations: 131.2 kB / 0.501 GB, free: 3.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1955, allocations: 0 / 0.501 GB, free: 3.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009379/0.1965, allocations: 358.8 kB / 0.5013 GB, free: 3.008 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.001699/0.1982, allocations: 1.292 MB / 0.5026 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.1994, allocations: 0.5316 MB / 0.5031 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1995, allocations: 4 kB / 0.5031 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.2001, allocations: 254.3 kB / 0.5033 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2005, allocations: 35.92 kB / 0.5034 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1754/0.3758, allocations: 3.943 MB / 0.5072 GB, free: 41.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.3765, allocations: 0.9922 MB / 0.5082 GB, free: 40.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005548/0.377, allocations: 172 kB / 0.5084 GB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.3773, allocations: 208.8 kB / 0.5086 GB, free: 40.15 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3773, allocations: 0 / 0.5086 GB, free: 40.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.4125, allocations: 12.49 MB / 0.5208 GB, free: 36.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 14.41 kB / 0.5208 GB, free: 36.57 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches