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.001669/0.001669, allocations: 113.2 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.00183/0.00183, allocations: 185 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.369/1.369, 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.2042/0.2042, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3825, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002947/0.3855, allocations: 2.185 MB / 0.5206 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.3896, allocations: 3.257 MB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3898, allocations: 1.125 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.3903, allocations: 94.39 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.3907, allocations: 143 kB / 0.524 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.3927, allocations: 0.8869 MB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.3933, allocations: 0.5588 MB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3934, allocations: 79.84 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.3937, allocations: 249.7 kB / 0.5257 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.3941, allocations: 279.8 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3941, allocations: 18.53 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.397, allocations: 1.947 MB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3972, allocations: 138 kB / 0.528 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.3976, allocations: 280.8 kB / 0.5283 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.4002, allocations: 1.69 MB / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4002, allocations: 4 kB / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4002, allocations: 0 / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4003, allocations: 0 / 0.53 GB, free: 12 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.001891/0.4022, allocations: 1.048 MB / 0.531 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4022, allocations: 8.844 kB / 0.531 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.4024, allocations: 148.7 kB / 0.5311 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4026, allocations: 77.52 kB / 0.5312 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4032, allocations: 352 kB / 0.5315 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.4032, allocations: 60.08 kB / 0.5316 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.4034, allocations: 76.48 kB / 0.5317 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.4053, allocations: 1.221 MB / 0.5329 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4053, allocations: 1.312 kB / 0.5329 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.4054, allocations: 29.81 kB / 0.5329 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.4055, allocations: 80.98 kB / 0.533 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.4081, allocations: 1.726 MB / 0.5347 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.4128, allocations: 2.933 MB / 0.5375 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.4138, allocations: 438.8 kB / 0.5379 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.4141, allocations: 147.8 kB / 0.5381 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.4141, allocations: 8.984 kB / 0.5381 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4142, allocations: 37.09 kB / 0.5381 GB, free: 6.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/0.4142, allocations: 4 kB / 0.5381 GB, free: 6.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009908/0.4152, allocations: 480.7 kB / 0.5386 GB, free: 6.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4152, allocations: 67.44 kB / 0.5387 GB, free: 6.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4154, allocations: 205.7 kB / 0.5389 GB, free: 6.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4154, allocations: 34.92 kB / 0.5389 GB, free: 6.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.4157, allocations: 403.9 kB / 0.5393 GB, free: 5.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.4157, allocations: 122.9 kB / 0.5394 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4159, allocations: 122.4 kB / 0.5395 GB, free: 5.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.416, allocations: 333.5 kB / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.4163, allocations: 150.3 kB / 0.54 GB, free: 5.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.4168, allocations: 352.4 kB / 0.5403 GB, free: 4.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.4175, allocations: 0.5284 MB / 0.5408 GB, free: 4.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.4176, allocations: 6.938 kB / 0.5408 GB, free: 4.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009161/0.4185, allocations: 0.5446 MB / 0.5414 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4185, allocations: 10.81 kB / 0.5414 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4185, allocations: 8 kB / 0.5414 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4186, allocations: 8 kB / 0.5414 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.4193, allocations: 207.8 kB / 0.5416 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4207, allocations: 3.001 MB / 0.5445 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.421, allocations: 55.61 kB / 0.5446 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.421, allocations: 32 kB / 0.5446 GB, free: 0.6992 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.0003475/0.4214, allocations: 273.6 kB / 0.5449 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.4215, allocations: 27.84 kB / 0.5449 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4225, allocations: 0.5503 MB / 0.5454 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4225, allocations: 4 kB / 0.5454 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4225, allocations: 0 / 0.5454 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4225, allocations: 0 / 0.5454 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4243, allocations: 1.165 MB / 0.5466 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4243, allocations: 0 / 0.5466 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.4249, allocations: 180 kB / 0.5467 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4249, allocations: 4 kB / 0.5467 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.4249, allocations: 23.98 kB / 0.5468 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.4262, allocations: 2.957 MB / 0.5496 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4263, allocations: 7.938 kB / 0.5497 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.4269, allocations: 0.4987 MB / 0.5501 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.427, allocations: 108.9 kB / 0.5502 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4271, allocations: 11.94 kB / 0.5503 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4273, allocations: 15.98 kB / 0.5503 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.4273, allocations: 31.97 kB / 0.5503 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.4274, allocations: 20 kB / 0.5503 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.4275, allocations: 139.2 kB / 0.5505 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4275, allocations: 0 / 0.5505 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4285, allocations: 366.2 kB / 0.5508 GB, free: 10.07 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.001534/0.4301, allocations: 1.276 MB / 0.5521 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.4311, allocations: 485.6 kB / 0.5525 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4311, allocations: 0 / 0.5525 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.4317, allocations: 260.5 kB / 0.5528 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4321, allocations: 36.23 kB / 0.5528 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.4368, allocations: 3.978 MB / 0.5567 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.4373, allocations: 0.9868 MB / 0.5576 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000387/0.4377, allocations: 170.5 kB / 0.5578 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.438, allocations: 207.4 kB / 0.558 GB, free: 2.316 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.438, allocations: 0 / 0.558 GB, free: 2.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4701, allocations: 12.62 MB / 0.5703 GB, free: 5.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.78, allocations: 12.09 kB / 0.5703 GB, free: 5.918 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