Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001584/0.001584, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002347, allocations: 75.34 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.004074/0.1409, allocations: 1.827 MB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.146, allocations: 2.952 MB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1461, allocations: 0 / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1465, allocations: 39.75 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1468, allocations: 91.5 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.1488, allocations: 0.7199 MB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1491, allocations: 246.8 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.1492, allocations: 36.39 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1495, allocations: 107.5 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1496, allocations: 115.4 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.1497, allocations: 8 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.1516, allocations: 1.232 MB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1517, allocations: 67.69 kB / 487.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1519, allocations: 111.2 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1535, allocations: 0.9313 MB / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1536, allocations: 0 / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1536, allocations: 0 / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1536, allocations: 0 / 488.6 MB, free: 12.66 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001218/0.1548, allocations: 0.6668 MB / 489.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1549, allocations: 12.03 kB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.332e-05/0.155, allocations: 86.62 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.1551, allocations: 32.56 kB / 489.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1553, allocations: 239.1 kB / 489.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1554, allocations: 24.56 kB / 489.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1554, allocations: 23.98 kB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.1561, allocations: 467.3 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1561, allocations: 0 / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.1562, allocations: 12 kB / 490.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.1563, allocations: 44.97 kB / 490.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.1571, allocations: 0.5542 MB / 490.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1591, allocations: 1.307 MB / 492.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.1597, allocations: 285 kB / 492.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1599, allocations: 96.8 kB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.1599, allocations: 16.31 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.16, allocations: 34.55 kB / 492.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.16, allocations: 7.875 kB / 492.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007479/0.1607, allocations: 337.2 kB / 492.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1608, allocations: 55.41 kB / 492.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1609, allocations: 144.5 kB / 493 MB, free: 7.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1609, allocations: 29.7 kB / 493.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1611, allocations: 191.8 kB / 493.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.1611, allocations: 86.75 kB / 493.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.1612, allocations: 61.7 kB / 493.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1614, allocations: 330.8 kB / 493.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1616, allocations: 95.78 kB / 493.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1619, allocations: 174 kB / 494 MB, free: 6.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.1623, allocations: 286.1 kB / 494.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1623, allocations: 0 / 494.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006657/0.163, allocations: 329.8 kB / 494.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.163, allocations: 4 kB / 494.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1631, allocations: 4 kB / 494.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1631, allocations: 4 kB / 494.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.1637, allocations: 123.8 kB / 494.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.165, allocations: 2.36 MB / 497.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1652, allocations: 39.61 kB / 497.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1653, allocations: 19.94 kB / 497.1 MB, free: 3.68 MB / 366.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.0002057/0.1655, allocations: 169.7 kB / 497.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1655, allocations: 11.91 kB / 497.3 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/0.1663, allocations: 370.5 kB / 497.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1664, allocations: 0 / 497.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1664, allocations: 4 kB / 497.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1664, allocations: 7.922 kB / 497.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1668, allocations: 333.3 kB / 498 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1668, allocations: 0 / 498 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.1672, allocations: 107.9 kB / 498.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1672, allocations: 4 kB / 498.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1672, allocations: 8 kB / 498.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1684, allocations: 2.368 MB / 0.4888 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1685, allocations: 3.938 kB / 0.4888 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.169, allocations: 371.2 kB / 0.4891 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1691, allocations: 92.89 kB / 0.4892 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1691, allocations: 12 kB / 0.4892 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1693, allocations: 12.08 kB / 0.4892 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.1694, allocations: 23.97 kB / 0.4893 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1694, allocations: 8 kB / 0.4893 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.1695, allocations: 103.2 kB / 0.4894 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1695, allocations: 0 / 0.4894 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007273/0.1702, allocations: 251.4 kB / 0.4896 GB, free: 15.27 MB / 382.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.001618/0.1718, allocations: 1.157 MB / 0.4907 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.1728, allocations: 356 kB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1728, allocations: 0 / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1732, allocations: 183.8 kB / 0.4912 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1736, allocations: 19.94 kB / 0.4913 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.1773, allocations: 2.564 MB / 0.4938 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1776, allocations: 0.8026 MB / 0.4946 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.178, allocations: 105.7 kB / 0.4947 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1781, allocations: 95.39 kB / 0.4947 GB, free: 9.805 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1781, allocations: 0 / 0.4947 GB, free: 9.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2074, allocations: 8.768 MB / 0.5033 GB, free: 1.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.63, allocations: 9.766 kB / 0.5033 GB, free: 1.23 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches