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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 97.69 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3578/0.3578, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 457.8 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3687, allocations: 60.8 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002923/0.3717, allocations: 1.85 MB / 0.5082 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3728, allocations: 0.7945 MB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.3729, allocations: 0 / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.3731, allocations: 45.55 kB / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.3734, allocations: 63.05 kB / 0.5091 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.3735, allocations: 60.2 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3737, allocations: 202.2 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.3738, allocations: 9.844 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3739, allocations: 65.52 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.374, allocations: 81.69 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.374, allocations: 2.875 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3742, allocations: 71.88 kB / 0.5096 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.3743, allocations: 30.47 kB / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3743, allocations: 37.72 kB / 0.5096 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3745, allocations: 140.2 kB / 0.5098 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3745, allocations: 2.938 kB / 0.5098 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3745, allocations: 0 / 0.5098 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3745, allocations: 4 kB / 0.5098 GB, free: 36.14 MB / 378.7 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.0005161/0.375, allocations: 404.6 kB / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3751, allocations: 8.406 kB / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.3754, allocations: 36.28 kB / 0.5102 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3756, allocations: 186.3 kB / 0.5104 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3756, allocations: 13.95 kB / 0.5104 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3756, allocations: 9.969 kB / 0.5104 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3759, allocations: 183.1 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3759, allocations: 3.984 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.376, allocations: 2.969 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.376, allocations: 9.922 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.3763, allocations: 137.1 kB / 0.5107 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.377, allocations: 0.6462 MB / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.3773, allocations: 105.7 kB / 0.5115 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3774, allocations: 39.25 kB / 0.5115 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3774, allocations: 3.938 kB / 0.5115 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3775, allocations: 37.62 kB / 0.5115 GB, free: 34.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.3775, allocations: 0 / 0.5115 GB, free: 34.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003842/0.3779, allocations: 144.3 kB / 0.5117 GB, free: 34.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.3779, allocations: 51.41 kB / 0.5117 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.378, allocations: 127.7 kB / 0.5118 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.378, allocations: 29.17 kB / 0.5119 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.378, allocations: 120.9 kB / 0.512 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.378, allocations: 25.95 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3781, allocations: 29.47 kB / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.3781, allocations: 318.1 kB / 0.5123 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3782, allocations: 41.66 kB / 0.5124 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3784, allocations: 96.19 kB / 0.5125 GB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.3786, allocations: 152.8 kB / 0.5126 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3786, allocations: 0 / 0.5126 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002803/0.3789, allocations: 165.3 kB / 0.5128 GB, free: 33.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3789, allocations: 5.344 kB / 0.5128 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3789, allocations: 2.781 kB / 0.5128 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3789, allocations: 2.875 kB / 0.5128 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3791, allocations: 42.31 kB / 0.5128 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3791, allocations: 6.688 kB / 0.5128 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.982e-05/0.3792, allocations: 19.2 kB / 0.5129 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3792, allocations: 13.38 kB / 0.5129 GB, free: 33.67 MB / 378.7 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 6.572e-05/0.3793, allocations: 129.3 kB / 0.513 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3793, allocations: 6.625 kB / 0.513 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.3796, allocations: 128.9 kB / 0.5131 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3796, allocations: 0 / 0.5131 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3796, allocations: 0 / 0.5131 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3797, allocations: 4 kB / 0.5131 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3798, allocations: 202.1 kB / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3798, allocations: 6.125 kB / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.38, allocations: 22.38 kB / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.38, allocations: 0 / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.38, allocations: 2.594 kB / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.38, allocations: 3.281 kB / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.38, allocations: 0 / 0.5133 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3805, allocations: 0.795 MB / 0.5141 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.3805, allocations: 87.08 kB / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3805, allocations: 4 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.3806, allocations: 6.156 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3806, allocations: 10.66 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3807, allocations: 3.031 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.3807, allocations: 96.28 kB / 0.5143 GB, free: 32.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3807, allocations: 0 / 0.5143 GB, free: 32.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.3811, allocations: 28.28 kB / 0.5143 GB, free: 32.32 MB / 378.7 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.0001089/0.3812, allocations: 108.8 kB / 0.5145 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.3815, allocations: 103.5 kB / 0.5145 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3815, allocations: 0 / 0.5145 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3816, allocations: 41.84 kB / 0.5146 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3818, allocations: 6.188 kB / 0.5146 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.3823, allocations: 424.7 kB / 0.515 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3824, allocations: 0.7133 MB / 0.5157 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.241e-05/0.3825, allocations: 27.28 kB / 0.5157 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.3825, allocations: 15.95 kB / 0.5157 GB, free: 31.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3825, allocations: 7.938 kB / 0.5157 GB, free: 31.14 MB / 378.7 MB Notification: Performance of Templates: time 0.002755/0.3853, allocations: 0.866 MB / 0.5166 GB, free: 31.06 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../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