Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001148/0.001148, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.00124/0.00124, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.367/1.367, 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.224/0.224, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3641, allocations: 60.81 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002902/0.367, allocations: 2.186 MB / 0.5206 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.371, allocations: 3.256 MB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3711, allocations: 5.125 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.3715, allocations: 95.05 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.372, allocations: 142.3 kB / 0.524 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.374, allocations: 0.8874 MB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.3746, allocations: 0.5587 MB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3747, allocations: 84.81 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.375, allocations: 243.9 kB / 0.5257 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.3754, allocations: 277.4 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.3754, allocations: 21.88 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3782, allocations: 1.946 MB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3783, allocations: 142.6 kB / 0.528 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.3786, allocations: 276 kB / 0.5283 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.3809, allocations: 1.69 MB / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3809, allocations: 4 kB / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3809, allocations: 0 / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3809, allocations: 0 / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001829/0.3827, allocations: 1.055 MB / 0.531 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3828, allocations: 9.531 kB / 0.531 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.383, allocations: 139.1 kB / 0.5311 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3831, allocations: 82.17 kB / 0.5312 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.3836, allocations: 356 kB / 0.5316 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.3837, allocations: 60.73 kB / 0.5316 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3838, allocations: 71.38 kB / 0.5317 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3857, allocations: 1.222 MB / 0.5329 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3858, allocations: 0 / 0.5329 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.3858, allocations: 30.5 kB / 0.5329 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3859, allocations: 80.83 kB / 0.533 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.3888, allocations: 1.726 MB / 0.5347 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.3933, allocations: 2.937 MB / 0.5375 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/0.3941, allocations: 430.8 kB / 0.5379 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.3944, allocations: 143.1 kB / 0.5381 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.3945, allocations: 9.828 kB / 0.5381 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3945, allocations: 40.97 kB / 0.5381 GB, free: 6.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.3945, allocations: 0 / 0.5381 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009978/0.3955, allocations: 484.5 kB / 0.5386 GB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3956, allocations: 63.17 kB / 0.5387 GB, free: 6.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3958, allocations: 202.3 kB / 0.5388 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3958, allocations: 35.77 kB / 0.5389 GB, free: 6.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.396, allocations: 403.1 kB / 0.5393 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.3961, allocations: 123.2 kB / 0.5394 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3963, allocations: 119.2 kB / 0.5395 GB, free: 5.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3964, allocations: 340.7 kB / 0.5398 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.3967, allocations: 145.3 kB / 0.54 GB, free: 5.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.3971, allocations: 349.6 kB / 0.5403 GB, free: 4.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/0.3979, allocations: 0.5316 MB / 0.5408 GB, free: 4.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3979, allocations: 2.188 kB / 0.5408 GB, free: 4.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009711/0.3989, allocations: 0.552 MB / 0.5414 GB, free: 4.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3989, allocations: 4 kB / 0.5414 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3989, allocations: 8 kB / 0.5414 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.399, allocations: 8 kB / 0.5414 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.3997, allocations: 211.8 kB / 0.5416 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.4012, allocations: 3.005 MB / 0.5445 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4015, allocations: 55.62 kB / 0.5446 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.4015, allocations: 31.98 kB / 0.5446 GB, free: 0.7109 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0003565/0.4019, allocations: 273.4 kB / 0.5449 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.402, allocations: 23.86 kB / 0.5449 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4031, allocations: 0.5504 MB / 0.5454 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4031, allocations: 4 kB / 0.5454 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4031, allocations: 0 / 0.5454 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4031, allocations: 3.984 kB / 0.5454 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.4048, allocations: 1.165 MB / 0.5466 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4048, allocations: 4 kB / 0.5466 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.4054, allocations: 179.8 kB / 0.5467 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4054, allocations: 4.25 kB / 0.5467 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.4054, allocations: 16 kB / 0.5468 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.407, allocations: 2.957 MB / 0.5496 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.407, allocations: 11.91 kB / 0.5497 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.4078, allocations: 0.5026 MB / 0.5501 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.4079, allocations: 100.9 kB / 0.5502 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.4079, allocations: 15.94 kB / 0.5503 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4081, allocations: 15.98 kB / 0.5503 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.4082, allocations: 27.97 kB / 0.5503 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.4083, allocations: 23.98 kB / 0.5503 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.4084, allocations: 139.2 kB / 0.5505 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4084, allocations: 4 kB / 0.5505 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0013/0.4097, allocations: 362.2 kB / 0.5508 GB, free: 10.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * 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.001697/0.4114, allocations: 1.28 MB / 0.5521 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.4125, allocations: 485.6 kB / 0.5525 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4125, allocations: 0 / 0.5525 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.4131, allocations: 260.5 kB / 0.5528 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4134, allocations: 27.75 kB / 0.5528 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.4185, allocations: 3.985 MB / 0.5567 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.4191, allocations: 0.9868 MB / 0.5576 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.4196, allocations: 170.5 kB / 0.5578 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.4198, allocations: 211.4 kB / 0.558 GB, free: 2.324 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4198, allocations: 0 / 0.558 GB, free: 2.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.4568, allocations: 12.61 MB / 0.5703 GB, free: 5.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 17.12 kB / 0.5703 GB, free: 5.934 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches