Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001365/0.001365, allocations: 102.8 kB / 17.63 MB, free: 5.336 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.002457/0.002457, allocations: 192 kB / 18.55 MB, free: 4.43 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.368/1.368, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2058/0.2058, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.92 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002914/0.1248, allocations: 1.82 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.1258, allocations: 0.6308 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.1259, allocations: 3.938 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1262, allocations: 51.73 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1264, allocations: 67.59 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1267, allocations: 123.5 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.127, allocations: 230.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.862e-05/0.127, allocations: 24.31 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.1271, allocations: 79.58 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1273, allocations: 115.4 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1273, allocations: 4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.1277, allocations: 227.7 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.1278, allocations: 51.7 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.1279, allocations: 99.34 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.1283, allocations: 327.1 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1283, allocations: 7.984 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1283, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1283, allocations: 0 / 473.2 MB, free: 10.39 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007594/0.1291, allocations: 0.5227 MB / 473.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1292, allocations: 8.031 kB / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.1292, allocations: 66.72 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.1311, allocations: 200.3 kB / 474 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.1314, allocations: 271.8 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1314, allocations: 24.91 kB / 474.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.1315, allocations: 20.38 kB / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1325, allocations: 0.5006 MB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1325, allocations: 7.938 kB / 474.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.1326, allocations: 7.984 kB / 474.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/0.1327, allocations: 24.55 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.1348, allocations: 0.5837 MB / 475.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.1381, allocations: 1.173 MB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1393, allocations: 170.4 kB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.1399, allocations: 84.77 kB / 476.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1399, allocations: 8.141 kB / 476.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.14, allocations: 30.56 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.404e-06/0.14, allocations: 0 / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.002072/0.1421, allocations: 305.1 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1421, allocations: 51.41 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.1426, allocations: 286.4 kB / 477.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.1427, allocations: 25.7 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1428, allocations: 167.5 kB / 477.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1429, allocations: 27.64 kB / 477.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.143, allocations: 37.69 kB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1432, allocations: 330.8 kB / 478.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.1439, allocations: 87.91 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.1446, allocations: 123.3 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.1459, allocations: 207.1 kB / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1459, allocations: 4 kB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001535/0.1474, allocations: 265.1 kB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1475, allocations: 4 kB / 478.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1475, allocations: 4.094 kB / 478.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1475, allocations: 4 kB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/0.1549, allocations: 471.3 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1578, allocations: 1.945 MB / 481.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.1583, allocations: 39.84 kB / 481.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1583, allocations: 11.98 kB / 481.2 MB, free: 1.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.1585, allocations: 161.7 kB / 481.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.1586, allocations: 19.72 kB / 481.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.1587, allocations: 25.7 kB / 481.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1587, allocations: 4 kB / 481.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1587, allocations: 4 kB / 481.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1587, allocations: 0 / 481.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.1591, allocations: 293.4 kB / 481.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1591, allocations: 7.938 kB / 481.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/0.165, allocations: 447.3 kB / 482.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.165, allocations: 0 / 482.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1651, allocations: 7.984 kB / 482.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/0.168, allocations: 1.942 MB / 484.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.168, allocations: 0 / 484.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.1689, allocations: 331.3 kB / 484.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.169, allocations: 100.8 kB / 484.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.1691, allocations: 0 / 484.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.1695, allocations: 23.91 kB / 484.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.1695, allocations: 11.97 kB / 484.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1696, allocations: 7.922 kB / 484.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.1698, allocations: 209.9 kB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1698, allocations: 0 / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.1702, allocations: 67.92 kB / 484.9 MB, free: 14.21 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.1715, allocations: 0.8644 MB / 485.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00644/0.178, allocations: 0.5966 MB / 486.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.178, allocations: 8.188 kB / 486.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/0.1839, allocations: 495.2 kB / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1844, allocations: 52.25 kB / 486.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.1898, allocations: 2.995 MB / 489.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1901, allocations: 0.7712 MB / 490.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.1904, allocations: 57.84 kB / 490.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1905, allocations: 67.41 kB / 490.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1905, allocations: 0 / 490.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.2177, allocations: 7.835 MB / 498.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 14.95 kB / 498.6 MB, free: 0.5664 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches