Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001114/0.001114, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001286/0.001286, allocations: 192 kB / 18.56 MB, free: 4.434 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.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2289/0.2289, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.8 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003836/0.1325, allocations: 2.07 MB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.1355, allocations: 1.912 MB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1357, allocations: 0 / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.136, allocations: 75.59 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1364, allocations: 143.3 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1376, allocations: 0.5676 MB / 474.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.1381, allocations: 386.1 kB / 474.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.1382, allocations: 36.72 kB / 474.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1384, allocations: 155.3 kB / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.1388, allocations: 191.1 kB / 474.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1388, allocations: 12 kB / 474.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.141, allocations: 1.614 MB / 476.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1412, allocations: 95.64 kB / 476.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1414, allocations: 155 kB / 476.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1429, allocations: 1.044 MB / 477.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.143, allocations: 0 / 477.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.143, allocations: 0 / 477.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.143, allocations: 0 / 477.8 MB, free: 5.781 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001429/0.1444, allocations: 0.6746 MB / 478.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.1445, allocations: 8.031 kB / 478.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.1446, allocations: 78.7 kB / 478.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1447, allocations: 36.55 kB / 478.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1452, allocations: 263.7 kB / 478.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1452, allocations: 28.95 kB / 478.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.1453, allocations: 39.86 kB / 478.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/0.1461, allocations: 0.4999 MB / 479.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1461, allocations: 0 / 479.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.1462, allocations: 11.98 kB / 479.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.839e-05/0.1463, allocations: 52.89 kB / 479.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.1471, allocations: 0.5231 MB / 480 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1493, allocations: 1.305 MB / 481.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1503, allocations: 366.4 kB / 481.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1506, allocations: 140.6 kB / 481.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.1506, allocations: 7.984 kB / 481.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.1507, allocations: 42.56 kB / 481.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.1507, allocations: 0 / 481.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001004/0.1517, allocations: 424.9 kB / 482.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.1518, allocations: 51.41 kB / 482.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.1521, allocations: 310.5 kB / 482.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1522, allocations: 25.7 kB / 482.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1523, allocations: 200 kB / 482.9 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.1524, allocations: 94.73 kB / 482.9 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1525, allocations: 73.59 kB / 483 MB, free: 300 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1527, allocations: 342.8 kB / 483.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.153, allocations: 119.8 kB / 483.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.1533, allocations: 154.7 kB / 483.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.1538, allocations: 292 kB / 483.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1538, allocations: 0 / 483.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006971/0.1545, allocations: 374.9 kB / 484.3 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1546, allocations: 8 kB / 484.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1546, allocations: 4.062 kB / 484.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1546, allocations: 3.938 kB / 484.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.1552, allocations: 119.9 kB / 484.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.1575, allocations: 3.004 MB / 487.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1577, allocations: 55.77 kB / 487.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.1578, allocations: 23.92 kB / 487.5 MB, free: 11.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (36): * Single equations (assignments): 31 * 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.0002366/0.158, allocations: 170.7 kB / 487.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.1581, allocations: 27.66 kB / 487.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.1591, allocations: 463.1 kB / 488.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1591, allocations: 4 kB / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1591, allocations: 0 / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1591, allocations: 0 / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1597, allocations: 373.3 kB / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1597, allocations: 0 / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.1602, allocations: 119.8 kB / 488.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.1602, allocations: 3.984 kB / 488.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.1603, allocations: 16 kB / 488.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.1621, allocations: 3.004 MB / 491.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1621, allocations: 0 / 491.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.1628, allocations: 443.5 kB / 492.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.1629, allocations: 104.8 kB / 492.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.1629, allocations: 7.938 kB / 492.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1631, allocations: 15.98 kB / 492.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.1632, allocations: 27.97 kB / 492.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.1633, allocations: 15.94 kB / 492.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1635, allocations: 225.9 kB / 492.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1635, allocations: 4 kB / 492.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.1642, allocations: 187.7 kB / 492.6 MB, free: 6.293 MB / 366.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 (31): * Single equations (assignments): 26 * 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.001549/0.1657, allocations: 1.095 MB / 493.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1669, allocations: 435.6 kB / 494.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1669, allocations: 0 / 494.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.1675, allocations: 223.7 kB / 494.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.168, allocations: 62.2 kB / 494.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.1725, allocations: 3.559 MB / 498 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.173, allocations: 0.8379 MB / 498.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.1733, allocations: 122.7 kB / 499 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1735, allocations: 115.4 kB / 499.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1735, allocations: 0 / 499.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.2063, allocations: 10.81 MB / 0.4979 GB, free: 5.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.42, allocations: 19.81 kB / 0.498 GB, free: 5.121 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches