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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001206/0.001205, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001171/0.001171, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2172/0.2172, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3529, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003147/0.3561, allocations: 1.905 MB / 0.5203 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3578, allocations: 1.099 MB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.3579, allocations: 2.406 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3583, allocations: 70.62 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3585, allocations: 76.12 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3589, allocations: 157.6 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3592, allocations: 263.1 kB / 0.5219 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.3593, allocations: 34.73 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3594, allocations: 97.7 kB / 0.5221 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.3596, allocations: 126.7 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3596, allocations: 7.375 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.3601, allocations: 322.6 kB / 0.5225 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.3602, allocations: 54.89 kB / 0.5225 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3603, allocations: 114.1 kB / 0.5227 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.361, allocations: 436.3 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.361, allocations: 0 / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.361, allocations: 0 / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.361, allocations: 0 / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007659/0.3618, allocations: 0.5771 MB / 0.5236 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3619, allocations: 14.91 kB / 0.5236 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.362, allocations: 74.72 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.362, allocations: 31.09 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3623, allocations: 242.7 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3624, allocations: 25.72 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.3624, allocations: 34.94 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.3632, allocations: 492.1 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3632, allocations: 1 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.3633, allocations: 16.06 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/0.3633, allocations: 27.36 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.364, allocations: 428.4 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3657, allocations: 1.18 MB / 0.5261 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3659, allocations: 76.61 kB / 0.5262 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.366, allocations: 41.73 kB / 0.5262 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3661, allocations: 3.406 kB / 0.5262 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3661, allocations: 32.59 kB / 0.5263 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3661, allocations: 0 / 0.5263 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000504/0.3666, allocations: 164.4 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3667, allocations: 57.52 kB / 0.5265 GB, free: 14.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3669, allocations: 164.3 kB / 0.5266 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3669, allocations: 27.08 kB / 0.5267 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.367, allocations: 227.1 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3671, allocations: 27.91 kB / 0.5269 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.3671, allocations: 57.03 kB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3673, allocations: 321.6 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3674, allocations: 55.23 kB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.3677, allocations: 177.5 kB / 0.5275 GB, free: 13.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.3681, allocations: 246 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3681, allocations: 5.031 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004863/0.3686, allocations: 246.4 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3687, allocations: 11.03 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3687, allocations: 13.48 kB / 0.528 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3687, allocations: 4.594 kB / 0.528 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.369, allocations: 85.5 kB / 0.5281 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3702, allocations: 1.786 MB / 0.5298 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3703, allocations: 36.39 kB / 0.5298 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3704, allocations: 16.5 kB / 0.5299 GB, free: 11.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003247/0.3707, allocations: 170.7 kB / 0.53 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3708, allocations: 13.55 kB / 0.53 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.3713, allocations: 202.2 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3713, allocations: 5.094 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3713, allocations: 1.312 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3713, allocations: 0 / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.3717, allocations: 296.1 kB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3717, allocations: 0 / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.3719, allocations: 58.02 kB / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3719, allocations: 0 / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.372, allocations: 11.58 kB / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3731, allocations: 1.771 MB / 0.5323 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3731, allocations: 4.062 kB / 0.5323 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3734, allocations: 220.3 kB / 0.5325 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3735, allocations: 88.78 kB / 0.5326 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3735, allocations: 4 kB / 0.5326 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.3736, allocations: 7.641 kB / 0.5326 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3737, allocations: 5.062 kB / 0.5326 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3737, allocations: 16.42 kB / 0.5326 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3738, allocations: 114.7 kB / 0.5327 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3738, allocations: 0 / 0.5327 GB, free: 8.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005524/0.3744, allocations: 99.64 kB / 0.5328 GB, free: 8.23 MB / 398.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.000879/0.3753, allocations: 0.7962 MB / 0.5336 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.3759, allocations: 182.4 kB / 0.5338 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3759, allocations: 3.938 kB / 0.5338 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.3762, allocations: 93.12 kB / 0.5339 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3764, allocations: 11.12 kB / 0.5339 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.3793, allocations: 2.222 MB / 0.5361 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.3798, allocations: 0.8003 MB / 0.5369 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.38, allocations: 68.06 kB / 0.5369 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3801, allocations: 71.8 kB / 0.537 GB, free: 4.617 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3801, allocations: 0 / 0.537 GB, free: 4.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.4097, allocations: 5.307 MB / 0.5422 GB, free: 1.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.27, allocations: 9.969 kB / 0.5422 GB, free: 1.98 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches