Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.00119/0.00119, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.001052/0.001052, allocations: 187.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2216/0.2216, allocations: 43.52 MB / 314 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 71.58 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1232, allocations: 57.79 MB / 440.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003257/0.1265, allocations: 2.115 MB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.129, allocations: 1.89 MB / 444.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1291, allocations: 3.938 kB / 444.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1294, allocations: 63.64 kB / 444.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1297, allocations: 147.3 kB / 444.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.1307, allocations: 0.58 MB / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.1311, allocations: 378.2 kB / 445.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.1311, allocations: 40.67 kB / 445.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1313, allocations: 159.3 kB / 446 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1316, allocations: 195.1 kB / 446.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1316, allocations: 12 kB / 446.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.1334, allocations: 1.614 MB / 447.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1336, allocations: 91.64 kB / 447.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1338, allocations: 147 kB / 448.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1352, allocations: 1.044 MB / 449.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1352, allocations: 0 / 449.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1352, allocations: 0 / 449.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1352, allocations: 0 / 449.1 MB, free: 14.26 MB / 334.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.001127/0.1363, allocations: 0.6785 MB / 449.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1364, allocations: 8.031 kB / 449.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.1365, allocations: 78.7 kB / 449.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.1366, allocations: 36.47 kB / 449.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.137, allocations: 271.3 kB / 450.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.137, allocations: 21.03 kB / 450.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1371, allocations: 35.92 kB / 450.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.1378, allocations: 0.496 MB / 450.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1378, allocations: 0 / 450.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1379, allocations: 19.97 kB / 450.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/0.138, allocations: 52.95 kB / 450.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.1388, allocations: 0.5231 MB / 451.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1407, allocations: 1.309 MB / 452.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.1415, allocations: 371.5 kB / 453 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1417, allocations: 128.6 kB / 453.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.1418, allocations: 15.97 kB / 453.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1418, allocations: 38.56 kB / 453.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1418, allocations: 0 / 453.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009451/0.1428, allocations: 425.9 kB / 453.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1429, allocations: 59.34 kB / 453.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1432, allocations: 306.5 kB / 453.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1432, allocations: 29.7 kB / 454 MB, free: 9.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1433, allocations: 204 kB / 454.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.1434, allocations: 98.59 kB / 454.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1436, allocations: 65.69 kB / 454.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.1438, allocations: 338.8 kB / 454.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.1441, allocations: 123.9 kB / 454.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.1444, allocations: 154.6 kB / 454.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.1449, allocations: 296 kB / 455.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1449, allocations: 0 / 455.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006585/0.1456, allocations: 374 kB / 455.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1456, allocations: 4 kB / 455.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1456, allocations: 8.062 kB / 455.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1456, allocations: 0 / 455.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.1462, allocations: 127.9 kB / 455.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.1479, allocations: 3 MB / 458.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1481, allocations: 51.7 kB / 458.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1482, allocations: 15.98 kB / 458.8 MB, free: 4.145 MB / 334.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.0002107/0.1484, allocations: 181.7 kB / 459 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.1485, allocations: 27.66 kB / 459 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009709/0.1494, allocations: 455.3 kB / 459.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.1495, allocations: 4 kB / 459.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1495, allocations: 0 / 459.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1495, allocations: 0 / 459.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.15, allocations: 377.2 kB / 459.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.15, allocations: 0 / 459.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.1505, allocations: 119.8 kB / 459.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1505, allocations: 0 / 459.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1506, allocations: 15.98 kB / 459.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.1523, allocations: 3.004 MB / 462.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1523, allocations: 0 / 462.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.153, allocations: 443.6 kB / 463.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1532, allocations: 112.7 kB / 463.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.1532, allocations: 11.92 kB / 463.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1534, allocations: 15.98 kB / 463.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.1535, allocations: 31.84 kB / 463.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1535, allocations: 12 kB / 463.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1538, allocations: 229.9 kB / 463.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1538, allocations: 4 kB / 463.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006574/0.1544, allocations: 183.7 kB / 464 MB, free: 14.75 MB / 350.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.001484/0.1559, allocations: 1.098 MB / 465.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.157, allocations: 435.8 kB / 465.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1571, allocations: 4.062 kB / 465.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.1576, allocations: 220.2 kB / 465.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1581, allocations: 66.48 kB / 465.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.1629, allocations: 3.54 MB / 469.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.1633, allocations: 0.838 MB / 470.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003418/0.1637, allocations: 122.8 kB / 470.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.1638, allocations: 107.4 kB / 470.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1638, allocations: 3.938 kB / 470.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.1978, allocations: 10.81 MB / 481.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.3, allocations: 4.344 kB / 481.2 MB, free: 13.42 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches