Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002593/0.002593, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.565/3.565, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003447/0.003447, allocations: 213.2 kB / 397.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6223/0.6223, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006478, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08582, allocations: 48.7 MB / 0.6068 GB, free: 4.621 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002122/0.088, allocations: 1.458 MB / 0.6082 GB, free: 3.148 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.08941, allocations: 0.7485 MB / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.0895, allocations: 4 kB / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.08971, allocations: 31.83 kB / 0.609 GB, free: 2.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.09, allocations: 67.66 kB / 0.609 GB, free: 2.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.09021, allocations: 55.81 kB / 0.6091 GB, free: 2.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.09042, allocations: 167.3 kB / 0.6092 GB, free: 2.078 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.09048, allocations: 16.2 kB / 0.6092 GB, free: 2.062 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.09062, allocations: 47.78 kB / 0.6093 GB, free: 2.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.09078, allocations: 71.78 kB / 0.6094 GB, free: 1.945 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.09082, allocations: 7.938 kB / 0.6094 GB, free: 1.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.09102, allocations: 63.89 kB / 0.6094 GB, free: 1.875 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.09109, allocations: 35.88 kB / 0.6095 GB, free: 1.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.09117, allocations: 37.7 kB / 0.6095 GB, free: 1.797 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.09136, allocations: 83.75 kB / 0.6096 GB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.09138, allocations: 7.938 kB / 0.6096 GB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.09139, allocations: 0 / 0.6096 GB, free: 1.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09141, allocations: 0 / 0.6096 GB, free: 1.707 MB / 362.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.000593/0.09201, allocations: 399 kB / 0.61 GB, free: 1.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.09207, allocations: 8.031 kB / 0.61 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.0925, allocations: 39.88 kB / 0.61 GB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.09268, allocations: 175 kB / 0.6102 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.09271, allocations: 12 kB / 0.6102 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.09275, allocations: 8 kB / 0.6102 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.322/0.4148, allocations: 192.4 kB / 0.6104 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.4149, allocations: 0 / 0.6104 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.415, allocations: 6.438 kB / 0.6104 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/0.4151, allocations: 13.42 kB / 0.6104 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.416, allocations: 144.7 kB / 0.6105 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.4177, allocations: 0.6501 MB / 0.6112 GB, free: 90.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.4185, allocations: 113 kB / 0.6113 GB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.4189, allocations: 46.56 kB / 0.6113 GB, free: 90.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4189, allocations: 1.094 kB / 0.6113 GB, free: 90.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.419, allocations: 36.39 kB / 0.6114 GB, free: 90.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 5.15e-06/0.419, allocations: 0 / 0.6114 GB, free: 90.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001109/0.4201, allocations: 156.8 kB / 0.6115 GB, free: 90.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.4202, allocations: 55.98 kB / 0.6116 GB, free: 90.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4204, allocations: 128.3 kB / 0.6117 GB, free: 90.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4204, allocations: 26.33 kB / 0.6117 GB, free: 90.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.4206, allocations: 121.2 kB / 0.6118 GB, free: 90 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.4206, allocations: 27.75 kB / 0.6119 GB, free: 89.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.4207, allocations: 4.875 kB / 0.6119 GB, free: 89.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.4208, allocations: 324.8 kB / 0.6122 GB, free: 89.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.4211, allocations: 43.36 kB / 0.6122 GB, free: 89.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.4215, allocations: 99.7 kB / 0.6123 GB, free: 89.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4219, allocations: 57.48 kB / 0.6124 GB, free: 89.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.4219, allocations: 4.062 kB / 0.6124 GB, free: 89.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008652/0.4228, allocations: 167.4 kB / 0.6125 GB, free: 89.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4229, allocations: 6.031 kB / 0.6125 GB, free: 89.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4229, allocations: 1.656 kB / 0.6125 GB, free: 89.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.4229, allocations: 4.844 kB / 0.6125 GB, free: 89.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.4235, allocations: 45.38 kB / 0.6126 GB, free: 89.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.4235, allocations: 4.188 kB / 0.6126 GB, free: 89.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.4238, allocations: 21.5 kB / 0.6126 GB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.4238, allocations: 5.875 kB / 0.6126 GB, free: 89.54 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.424, allocations: 133.3 kB / 0.6127 GB, free: 89.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4241, allocations: 7 kB / 0.6127 GB, free: 89.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.425, allocations: 131.8 kB / 0.6129 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.425, allocations: 2.875 kB / 0.6129 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.425, allocations: 0.6094 kB / 0.6129 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4251, allocations: 87.92 kB / 0.613 GB, free: 89.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.4251, allocations: 4.844 kB / 0.613 GB, free: 89.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.4254, allocations: 12.56 kB / 0.613 GB, free: 89.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.4255, allocations: 9.766 kB / 0.613 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009625/0.4265, allocations: 219.9 kB / 0.6132 GB, free: 89.18 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007522/0.4273, allocations: 293.6 kB / 0.6135 GB, free: 88.97 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002961/0.4276, allocations: 47.33 kB / 0.6135 GB, free: 88.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.4277, allocations: 95.98 kB / 0.6136 GB, free: 88.89 MB / 362.7 MB Notification: Performance of Backend: time 1.122e-06/0.4277, allocations: 1.344 kB / 0.6136 GB, free: 88.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.4289, allocations: 179.4 kB / 0.6138 GB, free: 88.82 MB / 362.7 MB Notification: Performance of SimCode: time 0.001003/0.4299, allocations: 0.737 MB / 0.6145 GB, free: 88.17 MB / 362.7 MB Notification: Performance of Templates: time 0.009587/0.4396, allocations: 1.272 MB / 0.6157 GB, free: 88.16 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[10102]=1.010000 File[20005]=2.000100 " Variables in the reference: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 Variables in the result:A_cross,DP[1],DP_plot[1],K[1],L,MIN,M_FLOW[1],Re[1],d_hyd,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_mdot[1],lambda_FRI[1],n,rho,roughness,time,velocity[1],zeta_TOT[1]