Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.9 kB / 18.46 MB, free: 4.598 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.001111/0.001111, allocations: 183 kB / 19.38 MB, free: 3.68 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.372/1.372, allocations: 222.9 MB / 243.1 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.2084/0.2084, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3417, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002752/0.3445, allocations: 1.826 MB / 0.5214 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3467, allocations: 1.638 MB / 0.523 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3468, allocations: 1.25 kB / 0.523 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.3471, allocations: 49.78 kB / 0.523 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3474, allocations: 80.02 kB / 0.5231 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.3482, allocations: 405.8 kB / 0.5235 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3485, allocations: 241.1 kB / 0.5237 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.3486, allocations: 33.89 kB / 0.5238 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3487, allocations: 109.1 kB / 0.5239 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3489, allocations: 114.1 kB / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.3489, allocations: 13.5 kB / 0.524 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.3499, allocations: 0.7023 MB / 0.5247 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.35, allocations: 65.38 kB / 0.5247 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3501, allocations: 112.2 kB / 0.5248 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.351, allocations: 0.6221 MB / 0.5254 GB, free: 464 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.351, allocations: 0 / 0.5254 GB, free: 464 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.351, allocations: 1.438 kB / 0.5254 GB, free: 464 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.351, allocations: 0 / 0.5254 GB, free: 464 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008298/0.3518, allocations: 0.6145 MB / 0.526 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3519, allocations: 9.625 kB / 0.5261 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.352, allocations: 32.84 kB / 0.5261 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3523, allocations: 246.9 kB / 0.5263 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3523, allocations: 23.56 kB / 0.5263 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.3523, allocations: 24.5 kB / 0.5264 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.3531, allocations: 471.1 kB / 0.5268 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3531, allocations: 0 / 0.5268 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3531, allocations: 10.75 kB / 0.5268 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.3532, allocations: 47.33 kB / 0.5269 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.354, allocations: 0.5486 MB / 0.5274 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3559, allocations: 1.301 MB / 0.5287 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.3564, allocations: 273.6 kB / 0.5289 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.3566, allocations: 97.5 kB / 0.529 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.3567, allocations: 8.719 kB / 0.529 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3567, allocations: 40.62 kB / 0.5291 GB, free: 13.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.3567, allocations: 4 kB / 0.5291 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007539/0.3575, allocations: 329.6 kB / 0.5294 GB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3575, allocations: 55.25 kB / 0.5294 GB, free: 13.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3576, allocations: 148.3 kB / 0.5296 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3577, allocations: 26.89 kB / 0.5296 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3578, allocations: 199.1 kB / 0.5298 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3578, allocations: 86.2 kB / 0.5299 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3579, allocations: 70.91 kB / 0.53 GB, free: 13.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3581, allocations: 323.2 kB / 0.5303 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3583, allocations: 87.42 kB / 0.5303 GB, free: 12.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3585, allocations: 173.3 kB / 0.5305 GB, free: 12.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.359, allocations: 292 kB / 0.5308 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.359, allocations: 5.344 kB / 0.5308 GB, free: 12.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005916/0.3596, allocations: 322.2 kB / 0.5311 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3597, allocations: 10.78 kB / 0.5311 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3597, allocations: 2.375 kB / 0.5311 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3597, allocations: 9.062 kB / 0.5311 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3602, allocations: 117.9 kB / 0.5312 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.3614, allocations: 2.364 MB / 0.5335 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3616, allocations: 39.03 kB / 0.5336 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3616, allocations: 19.34 kB / 0.5336 GB, free: 9.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.3619, allocations: 180.8 kB / 0.5338 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.3619, allocations: 10.72 kB / 0.5338 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008662/0.3628, allocations: 361.3 kB / 0.5341 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.3628, allocations: 0 / 0.5341 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3628, allocations: 5.406 kB / 0.5341 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3629, allocations: 90.39 kB / 0.5342 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.363, allocations: 13.2 kB / 0.5342 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3631, allocations: 8.469 kB / 0.5342 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.3632, allocations: 26.59 kB / 0.5343 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001034/0.3643, allocations: 457 kB / 0.5347 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000917/0.3652, allocations: 0.5804 MB / 0.5353 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002371/0.3654, allocations: 117.3 kB / 0.5354 GB, free: 8.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.3655, allocations: 99.48 kB / 0.5355 GB, free: 8.469 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.3655, allocations: 1.219 kB / 0.5355 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.367, allocations: 422.3 kB / 0.5359 GB, free: 8.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.001499/0.3685, allocations: 0.9693 MB / 0.5368 GB, free: 7.445 MB / 398.1 MB Notification: Performance of Templates: time 0.01336/0.3819, allocations: 5.225 MB / 0.5419 GB, free: 4.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches