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.00113/0.00113, allocations: 96.09 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002493, allocations: 11.98 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 63.56 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003124/0.1301, allocations: 1.911 MB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.1357, allocations: 3.319 MB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.136, allocations: 0 / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.1365, allocations: 91.77 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.137, allocations: 127.4 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.1392, allocations: 0.7868 MB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.1399, allocations: 0.6451 MB / 490.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1401, allocations: 85.67 kB / 490.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.1405, allocations: 230.5 kB / 490.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.141, allocations: 294.4 kB / 490.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.141, allocations: 20 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.1437, allocations: 1.961 MB / 492.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.1439, allocations: 143.2 kB / 492.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.1443, allocations: 299.7 kB / 493.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.1466, allocations: 1.671 MB / 494.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1466, allocations: 0 / 494.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1467, allocations: 0 / 494.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.1467, allocations: 0 / 494.8 MB, free: 8.414 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.001712/0.1484, allocations: 0.9092 MB / 495.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1485, allocations: 8.875 kB / 495.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.1487, allocations: 148.1 kB / 495.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1489, allocations: 80 kB / 495.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.1494, allocations: 350.6 kB / 496.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.1494, allocations: 54 kB / 496.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1496, allocations: 75.98 kB / 496.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.1513, allocations: 1.225 MB / 497.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1514, allocations: 3.984 kB / 497.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/0.1515, allocations: 35.98 kB / 497.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/0.1516, allocations: 81.89 kB / 497.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.1541, allocations: 1.73 MB / 499.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.159, allocations: 2.935 MB / 0.4906 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/0.1599, allocations: 437.6 kB / 0.491 GB, free: 108 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1602, allocations: 153.3 kB / 0.4912 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.1603, allocations: 12.28 kB / 0.4912 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1603, allocations: 30.84 kB / 0.4912 GB, free: 15.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.1603, allocations: 0 / 0.4912 GB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009689/0.1613, allocations: 0.4915 MB / 0.4917 GB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1613, allocations: 59.34 kB / 0.4917 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1616, allocations: 214.9 kB / 0.4919 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1616, allocations: 29.7 kB / 0.492 GB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.1619, allocations: 394.2 kB / 0.4923 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.162, allocations: 118.3 kB / 0.4925 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.1621, allocations: 57.69 kB / 0.4925 GB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1622, allocations: 342.8 kB / 0.4928 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.1625, allocations: 153 kB / 0.493 GB, free: 14.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.163, allocations: 354.3 kB / 0.4933 GB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.1637, allocations: 0.5365 MB / 0.4939 GB, free: 12.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1638, allocations: 0 / 0.4939 GB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009878/0.1648, allocations: 0.5597 MB / 0.4944 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1648, allocations: 10.5 kB / 0.4944 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1648, allocations: 8 kB / 0.4944 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1648, allocations: 8 kB / 0.4944 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.1656, allocations: 211.8 kB / 0.4946 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.1675, allocations: 3.001 MB / 0.4976 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1679, allocations: 63.42 kB / 0.4976 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.1679, allocations: 35.97 kB / 0.4976 GB, free: 8.941 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.0003844/0.1683, allocations: 277.6 kB / 0.4979 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1684, allocations: 19.81 kB / 0.4979 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1696, allocations: 0.5503 MB / 0.4985 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.1696, allocations: 15.92 kB / 0.4985 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1696, allocations: 3.938 kB / 0.4985 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1696, allocations: 0 / 0.4985 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1714, allocations: 1.16 MB / 0.4996 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1714, allocations: 3.984 kB / 0.4996 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.172, allocations: 184 kB / 0.4998 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.172, allocations: 8 kB / 0.4998 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.172, allocations: 12 kB / 0.4998 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.1736, allocations: 2.973 MB / 0.5027 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1736, allocations: 4 kB / 0.5027 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.1744, allocations: 0.5062 MB / 0.5032 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.1745, allocations: 100.8 kB / 0.5033 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.1745, allocations: 15.94 kB / 0.5033 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1747, allocations: 19.98 kB / 0.5034 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.1748, allocations: 35.91 kB / 0.5034 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.1749, allocations: 23.98 kB / 0.5034 GB, free: 2.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.175, allocations: 132.5 kB / 0.5035 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.175, allocations: 4 kB / 0.5035 GB, free: 2.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.176, allocations: 350.7 kB / 0.5039 GB, free: 2.297 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.001843/0.1778, allocations: 1.288 MB / 0.5051 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1789, allocations: 497.6 kB / 0.5056 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.179, allocations: 0 / 0.5056 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.1795, allocations: 264.2 kB / 0.5059 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1799, allocations: 32 kB / 0.5059 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2335/0.4135, allocations: 4.316 MB / 0.5101 GB, free: 33.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.4142, allocations: 0.9937 MB / 0.5111 GB, free: 32.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.4149, allocations: 167 kB / 0.5112 GB, free: 32.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.4152, allocations: 207 kB / 0.5114 GB, free: 32.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4153, allocations: 3.938 kB / 0.5114 GB, free: 32.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4449, allocations: 12.04 MB / 0.5232 GB, free: 30.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.4452, allocations: 296.3 kB / 0.5235 GB, free: 29.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.468, allocations: 0 / 0.5235 GB, free: 29.8 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