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.001359/0.001359, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2982/0.2982, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 78.12 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.004196/0.1227, allocations: 2.253 MB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005267/0.1281, allocations: 3.381 MB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1283, allocations: 3.938 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1286, allocations: 83.84 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.1291, allocations: 127.3 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.1312, allocations: 0.7907 MB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.1319, allocations: 0.6451 MB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.132, allocations: 81.67 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.1324, allocations: 234.6 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1328, allocations: 286.4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.1329, allocations: 20 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.1355, allocations: 1.969 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1357, allocations: 135.2 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.1359, allocations: 274 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.1384, allocations: 1.679 MB / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1384, allocations: 0 / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1384, allocations: 0 / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1385, allocations: 0 / 491.3 MB, free: 9.621 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.001894/0.1404, allocations: 1.026 MB / 492.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1404, allocations: 16.86 kB / 492.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.1406, allocations: 144.1 kB / 492.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1407, allocations: 76 kB / 492.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.1412, allocations: 358.5 kB / 493 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.1413, allocations: 61.98 kB / 493 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.1414, allocations: 68 kB / 493.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.143, allocations: 1.225 MB / 494.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1431, allocations: 3.938 kB / 494.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.1432, allocations: 27.98 kB / 494.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.949e-05/0.1433, allocations: 85.95 kB / 494.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.1458, allocations: 1.726 MB / 496.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/0.15, allocations: 2.939 MB / 499.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.1509, allocations: 431.7 kB / 499.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.1511, allocations: 141.3 kB / 499.6 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.1512, allocations: 12.27 kB / 499.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1512, allocations: 46.77 kB / 499.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.1512, allocations: 0 / 499.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008852/0.1521, allocations: 483.4 kB / 0.4884 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1522, allocations: 59.34 kB / 0.4885 GB, free: 452 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1523, allocations: 218.8 kB / 0.4887 GB, free: 224 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1524, allocations: 29.7 kB / 0.4887 GB, free: 188 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1526, allocations: 386.2 kB / 0.4891 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.1527, allocations: 122.3 kB / 0.4892 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1528, allocations: 122.1 kB / 0.4893 GB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1529, allocations: 338.8 kB / 0.4897 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1532, allocations: 145 kB / 0.4898 GB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1535, allocations: 342.3 kB / 0.4901 GB, free: 14.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.1542, allocations: 0.5287 MB / 0.4906 GB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.1542, allocations: 4 kB / 0.4907 GB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008392/0.1551, allocations: 0.5481 MB / 0.4912 GB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1551, allocations: 8 kB / 0.4912 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1551, allocations: 8 kB / 0.4912 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1551, allocations: 8 kB / 0.4912 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.1558, allocations: 207.8 kB / 0.4914 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1572, allocations: 2.997 MB / 0.4943 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.1575, allocations: 59.42 kB / 0.4944 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.1575, allocations: 31.98 kB / 0.4944 GB, free: 10.04 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.0003009/0.1578, allocations: 277.4 kB / 0.4947 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.1579, allocations: 23.66 kB / 0.4947 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.159, allocations: 0.554 MB / 0.4953 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.159, allocations: 7.984 kB / 0.4953 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1591, allocations: 0 / 0.4953 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1591, allocations: 3.984 kB / 0.4953 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.1606, allocations: 1.156 MB / 0.4964 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1606, allocations: 0 / 0.4964 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.1612, allocations: 180 kB / 0.4966 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1612, allocations: 8 kB / 0.4966 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1613, allocations: 16 kB / 0.4966 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.1625, allocations: 2.961 MB / 0.4995 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1625, allocations: 3.938 kB / 0.4995 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.1631, allocations: 0.4945 MB / 0.5 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1632, allocations: 108.7 kB / 0.5001 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.1633, allocations: 11.94 kB / 0.5001 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1635, allocations: 19.98 kB / 0.5001 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.1636, allocations: 39.89 kB / 0.5001 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1636, allocations: 20 kB / 0.5002 GB, free: 3.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.959e-05/0.1637, allocations: 136.5 kB / 0.5003 GB, free: 3.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1637, allocations: 0 / 0.5003 GB, free: 3.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009207/0.1646, allocations: 354.8 kB / 0.5006 GB, free: 3.422 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.001545/0.1662, allocations: 1.281 MB / 0.5019 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.1672, allocations: 477.6 kB / 0.5023 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1672, allocations: 0 / 0.5023 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.1677, allocations: 255.7 kB / 0.5026 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1681, allocations: 35.48 kB / 0.5026 GB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2322/0.4003, allocations: 4.292 MB / 0.5068 GB, free: 40.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.401, allocations: 0.9882 MB / 0.5078 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000701/0.4017, allocations: 162.5 kB / 0.5079 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.402, allocations: 208.4 kB / 0.5081 GB, free: 40.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.402, allocations: 0 / 0.5081 GB, free: 40.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.4402, allocations: 12.17 MB / 0.52 GB, free: 36.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.4405, allocations: 301.4 kB / 0.5203 GB, free: 36.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.607, allocations: 1 kB / 0.5203 GB, free: 36.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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