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.001639/0.001639, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001744/0.001744, allocations: 181 kB / 18.71 MB, free: 4.207 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2078/0.2078, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3528, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002843/0.3557, allocations: 1.902 MB / 0.5203 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3573, allocations: 1.099 MB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.3574, allocations: 6.062 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3577, allocations: 70.61 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3579, allocations: 77.2 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3583, allocations: 150.1 kB / 0.5217 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3586, allocations: 267 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.3587, allocations: 39.52 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3588, allocations: 104.3 kB / 0.5221 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.359, allocations: 127.4 kB / 0.5222 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.359, allocations: 6.875 kB / 0.5222 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.3597, allocations: 314 kB / 0.5225 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.3598, allocations: 59.73 kB / 0.5226 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.36, allocations: 109.3 kB / 0.5227 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.3605, allocations: 432.8 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3606, allocations: 1.25 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3606, allocations: 0 / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3606, allocations: 4 kB / 0.5231 GB, free: 444 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.0006701/0.3613, allocations: 0.5845 MB / 0.5236 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3613, allocations: 9.781 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.2e-05/0.3614, allocations: 73.77 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.3615, allocations: 36.97 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3618, allocations: 231.4 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3618, allocations: 33.08 kB / 0.524 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.3618, allocations: 29.75 kB / 0.524 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.3626, allocations: 499 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3627, allocations: 3.938 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.3627, allocations: 15.56 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.3628, allocations: 26.64 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.3634, allocations: 424.4 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.365, allocations: 1.176 MB / 0.5261 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3653, allocations: 75.77 kB / 0.5262 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3654, allocations: 46.69 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3654, allocations: 3.109 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3655, allocations: 36.39 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.3655, allocations: 3.984 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005187/0.366, allocations: 157.7 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3661, allocations: 55.34 kB / 0.5265 GB, free: 14.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3662, allocations: 163.3 kB / 0.5266 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3663, allocations: 29.7 kB / 0.5267 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3664, allocations: 226.5 kB / 0.5269 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.3665, allocations: 28.81 kB / 0.5269 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.3665, allocations: 57.16 kB / 0.527 GB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3667, allocations: 317.6 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3668, allocations: 62.98 kB / 0.5273 GB, free: 13.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3671, allocations: 168.7 kB / 0.5275 GB, free: 13.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.3674, allocations: 249.6 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3674, allocations: 1.375 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004589/0.3679, allocations: 250.2 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3679, allocations: 13.52 kB / 0.528 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.368, allocations: 9.438 kB / 0.528 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.368, allocations: 5.5 kB / 0.528 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.3684, allocations: 89.03 kB / 0.5281 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.3694, allocations: 1.784 MB / 0.5298 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3696, allocations: 30.2 kB / 0.5298 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3696, allocations: 17.72 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.0002387/0.3699, allocations: 179 kB / 0.53 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3699, allocations: 9.203 kB / 0.53 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.3704, allocations: 202.2 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3704, allocations: 1.344 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3704, allocations: 1.531 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3704, allocations: 0 / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.3708, allocations: 292.4 kB / 0.5305 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3708, allocations: 4 kB / 0.5305 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.371, allocations: 52.64 kB / 0.5306 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.371, allocations: 5.547 kB / 0.5306 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.371, allocations: 10.66 kB / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3722, allocations: 1.775 MB / 0.5323 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3722, allocations: 3.984 kB / 0.5323 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3726, allocations: 217.3 kB / 0.5325 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3726, allocations: 87.41 kB / 0.5326 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3727, allocations: 5.062 kB / 0.5326 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3728, allocations: 8.172 kB / 0.5326 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.3729, allocations: 13.17 kB / 0.5326 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3729, allocations: 3.938 kB / 0.5326 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.373, allocations: 114.3 kB / 0.5327 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.373, allocations: 1.156 kB / 0.5327 GB, free: 8.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.3736, allocations: 102.2 kB / 0.5328 GB, free: 8.234 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.0009087/0.3745, allocations: 0.8004 MB / 0.5336 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.3751, allocations: 179.7 kB / 0.5338 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3751, allocations: 3.938 kB / 0.5338 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.3754, allocations: 92.91 kB / 0.5339 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3757, allocations: 6.406 kB / 0.5339 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.3784, allocations: 2.216 MB / 0.5361 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3788, allocations: 0.7925 MB / 0.5368 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.379, allocations: 71.17 kB / 0.5369 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.3791, allocations: 72.02 kB / 0.537 GB, free: 4.629 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3791, allocations: 0 / 0.537 GB, free: 4.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.4047, allocations: 5.321 MB / 0.5422 GB, free: 1.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.43, allocations: 9.656 kB / 0.5422 GB, free: 1.984 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