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.001617/0.001617, 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.001716/0.001716, allocations: 183.9 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2225/0.2225, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3388, allocations: 60.82 MB / 0.5185 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003154/0.342, allocations: 2.192 MB / 0.5206 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.3476, allocations: 3.253 MB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.3479, allocations: 5.719 kB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.3484, allocations: 94.58 kB / 0.5239 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.3491, allocations: 137 kB / 0.524 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.3522, allocations: 0.8845 MB / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.3531, allocations: 0.5592 MB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3533, allocations: 80.69 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.3537, allocations: 248.3 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.3541, allocations: 264.2 kB / 0.526 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.3542, allocations: 23.22 kB / 0.526 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.3576, allocations: 1.957 MB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3578, allocations: 139.3 kB / 0.528 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.3582, allocations: 279.7 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.3613, allocations: 1.686 MB / 0.53 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3613, allocations: 0 / 0.53 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3613, allocations: 1.062 kB / 0.53 GB, free: 11.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.3613, allocations: 0 / 0.53 GB, free: 11.86 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.002155/0.3635, allocations: 1.058 MB / 0.531 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3635, allocations: 10.09 kB / 0.531 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.3638, allocations: 139.5 kB / 0.5311 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.364, allocations: 78.23 kB / 0.5312 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.3645, allocations: 359.4 kB / 0.5315 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.3646, allocations: 63.52 kB / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3647, allocations: 69.25 kB / 0.5317 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.3665, allocations: 1.223 MB / 0.5329 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3666, allocations: 0 / 0.5329 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.3666, allocations: 34.11 kB / 0.5329 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-05/0.3667, allocations: 80.05 kB / 0.533 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.3695, allocations: 1.722 MB / 0.5347 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.3742, allocations: 2.937 MB / 0.5375 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.3751, allocations: 433.9 kB / 0.5379 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.3754, allocations: 142.8 kB / 0.5381 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.3754, allocations: 18.03 kB / 0.5381 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3755, allocations: 37.28 kB / 0.5381 GB, free: 6.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.3755, allocations: 0 / 0.5381 GB, free: 6.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001093/0.3766, allocations: 483.6 kB / 0.5386 GB, free: 6.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3766, allocations: 59.88 kB / 0.5386 GB, free: 6.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3769, allocations: 214.4 kB / 0.5389 GB, free: 6.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3769, allocations: 31.08 kB / 0.5389 GB, free: 6.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.3772, allocations: 394.6 kB / 0.5393 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3773, allocations: 131.7 kB / 0.5394 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3775, allocations: 118.7 kB / 0.5395 GB, free: 5.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3777, allocations: 340.8 kB / 0.5398 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.378, allocations: 146.4 kB / 0.54 GB, free: 5.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.3785, allocations: 348.8 kB / 0.5403 GB, free: 4.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.3793, allocations: 0.5322 MB / 0.5408 GB, free: 4.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3793, allocations: 2.5 kB / 0.5408 GB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009601/0.3802, allocations: 0.5446 MB / 0.5413 GB, free: 4.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3803, allocations: 8 kB / 0.5414 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3803, allocations: 8 kB / 0.5414 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3803, allocations: 8 kB / 0.5414 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.381, allocations: 207.8 kB / 0.5416 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3829, allocations: 3.001 MB / 0.5445 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.3832, allocations: 55.62 kB / 0.5446 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.3833, allocations: 39.98 kB / 0.5446 GB, free: 0.5781 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.0004711/0.3838, allocations: 269.4 kB / 0.5448 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.3838, allocations: 23.86 kB / 0.5449 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.385, allocations: 0.5543 MB / 0.5454 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3851, allocations: 4 kB / 0.5454 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3851, allocations: 0 / 0.5454 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3851, allocations: 0 / 0.5454 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3871, allocations: 1.162 MB / 0.5466 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.3872, allocations: 7.984 kB / 0.5466 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.3878, allocations: 171.8 kB / 0.5467 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.3878, allocations: 4.25 kB / 0.5467 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.3879, allocations: 24 kB / 0.5467 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.3898, allocations: 2.957 MB / 0.5496 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.3898, allocations: 7.938 kB / 0.5496 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.3907, allocations: 0.4987 MB / 0.5501 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3908, allocations: 104.9 kB / 0.5502 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.3908, allocations: 11.94 kB / 0.5502 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.391, allocations: 19.91 kB / 0.5503 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.3911, allocations: 35.97 kB / 0.5503 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.3912, allocations: 27.92 kB / 0.5503 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3913, allocations: 131.2 kB / 0.5504 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 4 kB / 0.5505 GB, free: 10.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001098/0.3924, allocations: 362.2 kB / 0.5508 GB, free: 9.957 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.001992/0.3944, allocations: 1.276 MB / 0.552 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3957, allocations: 489.6 kB / 0.5525 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3957, allocations: 0 / 0.5525 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.3963, allocations: 260.5 kB / 0.5528 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3967, allocations: 27.75 kB / 0.5528 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.4024, allocations: 3.974 MB / 0.5567 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.4031, allocations: 0.9907 MB / 0.5576 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.4035, allocations: 166.6 kB / 0.5578 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.4038, allocations: 211.3 kB / 0.558 GB, free: 2.203 MB / 414.1 MB Notification: Performance of SimCode: time 2.384e-06/0.4038, allocations: 0 / 0.558 GB, free: 2.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.4432, allocations: 12.62 MB / 0.5703 GB, free: 5.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.4, allocations: 9.438 kB / 0.5703 GB, free: 5.801 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