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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 108.2 kB / 18.45 MB, free: 4.602 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.001309/0.001309, allocations: 184.2 kB / 19.38 MB, free: 3.684 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.29/1.29, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2022/0.2022, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3665, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002734/0.3693, allocations: 1.803 MB / 0.5213 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3707, allocations: 0.7984 MB / 0.5221 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.3708, allocations: 1.156 kB / 0.5221 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3711, allocations: 38.34 kB / 0.5222 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.3714, allocations: 82.73 kB / 0.5222 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3716, allocations: 64.77 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3719, allocations: 135.2 kB / 0.5224 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3719, allocations: 10.05 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3721, allocations: 65.14 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3723, allocations: 86.11 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3723, allocations: 3.625 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3725, allocations: 72.11 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3726, allocations: 31.41 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.3726, allocations: 41.62 kB / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.373, allocations: 144 kB / 0.5229 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.373, allocations: 1.766 kB / 0.5229 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.373, allocations: 0 / 0.5229 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.373, allocations: 0 / 0.5229 GB, free: 1.504 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005713/0.3736, allocations: 405.2 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3736, allocations: 10.75 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.374, allocations: 34.66 kB / 0.5233 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3742, allocations: 187.7 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3742, allocations: 5.219 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3742, allocations: 19.48 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.3746, allocations: 173 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3746, allocations: 1.25 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.3747, allocations: 14.09 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.3747, allocations: 9.109 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.375, allocations: 140.2 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.3758, allocations: 0.6386 MB / 0.5244 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3762, allocations: 109.8 kB / 0.5245 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3763, allocations: 45.16 kB / 0.5246 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3763, allocations: 1.25 kB / 0.5246 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3763, allocations: 35.11 kB / 0.5246 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3763, allocations: 1.125 kB / 0.5246 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004429/0.3768, allocations: 131.6 kB / 0.5247 GB, free: 24 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3769, allocations: 52.72 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.377, allocations: 138.7 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.377, allocations: 25.7 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.3771, allocations: 118.7 kB / 0.5251 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3771, allocations: 29.52 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.3772, allocations: 30.06 kB / 0.5251 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3773, allocations: 320.5 kB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3774, allocations: 34.34 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3776, allocations: 93.16 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.3779, allocations: 154.7 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3779, allocations: 1.219 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003395/0.3782, allocations: 158.7 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3783, allocations: 8.859 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3783, allocations: 3.594 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3783, allocations: 2.578 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3785, allocations: 45.66 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3785, allocations: 7.594 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3786, allocations: 16.83 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3787, allocations: 6.297 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3788, allocations: 138.1 kB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3789, allocations: 7 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.3793, allocations: 127.5 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3793, allocations: 1.625 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3793, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3793, allocations: 4.547 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3796, allocations: 195.5 kB / 0.5264 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3796, allocations: 4 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3798, allocations: 30.42 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3798, allocations: 1.375 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3798, allocations: 4.797 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3798, allocations: 5.375 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3798, allocations: 0 / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.3801, allocations: 207.9 kB / 0.5266 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.3802, allocations: 83.77 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3802, allocations: 2.312 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.3803, allocations: 5.141 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3804, allocations: 13.23 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3804, allocations: 2.75 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.3805, allocations: 100.5 kB / 0.5268 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3805, allocations: 0 / 0.5268 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3807, allocations: 27.94 kB / 0.5269 GB, free: 14.27 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.3809, allocations: 106.5 kB / 0.527 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.3812, allocations: 96.81 kB / 0.5271 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3812, allocations: 0 / 0.5271 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3814, allocations: 46.36 kB / 0.5271 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3816, allocations: 15.52 kB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.3822, allocations: 281.9 kB / 0.5274 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3827, allocations: 0.7136 MB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.3828, allocations: 13.41 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3828, allocations: 0 / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.003345/0.3861, allocations: 1.314 MB / 0.5294 GB, free: 12.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches