Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00401/0.004015, allocations: 367.3 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.027/4.027, allocations: 388.9 MB / 405.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003582/0.003581, allocations: 232.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5555/0.5555, allocations: 80.02 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004726, allocations: 13.38 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09579, allocations: 54.88 MB / 0.6801 GB, free: 41.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002184/0.09803, allocations: 1.459 MB / 0.6815 GB, free: 40.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.09954, allocations: 0.7535 MB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.09966, allocations: 0 / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.09993, allocations: 43.73 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1003, allocations: 67.66 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1005, allocations: 51.81 kB / 0.6824 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1007, allocations: 159.4 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.1008, allocations: 16.27 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1009, allocations: 55.77 kB / 0.6827 GB, free: 38.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1011, allocations: 71.73 kB / 0.6827 GB, free: 38.92 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1011, allocations: 4 kB / 0.6827 GB, free: 38.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1014, allocations: 63.88 kB / 0.6828 GB, free: 38.85 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.1014, allocations: 31.89 kB / 0.6828 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.1015, allocations: 37.64 kB / 0.6829 GB, free: 38.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1017, allocations: 95.73 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1017, allocations: 0 / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1017, allocations: 4 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1017, allocations: 0 / 0.683 GB, free: 38.68 MB / 346.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.0005836/0.1023, allocations: 395 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1024, allocations: 8.031 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.1028, allocations: 27.88 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1031, allocations: 198.8 kB / 0.6836 GB, free: 37.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.1032, allocations: 15.94 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1033, allocations: 11.94 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.104, allocations: 179.9 kB / 0.6838 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1041, allocations: 0 / 0.6838 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.1041, allocations: 11.97 kB / 0.6838 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.1042, allocations: 15.95 kB / 0.6838 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.105, allocations: 139.9 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1067, allocations: 0.6523 MB / 0.6846 GB, free: 36.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.1077, allocations: 106.7 kB / 0.6847 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1081, allocations: 44.83 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1081, allocations: 8 kB / 0.6847 GB, free: 36.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1081, allocations: 30.56 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.368e-06/0.1082, allocations: 0 / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001008/0.1092, allocations: 153.5 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1093, allocations: 63.34 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1095, allocations: 122.6 kB / 0.6851 GB, free: 36.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1095, allocations: 29.7 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.1096, allocations: 120 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.1097, allocations: 27.64 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.1097, allocations: 4 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.1099, allocations: 322.8 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1102, allocations: 39.97 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.1106, allocations: 103.6 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.1111, allocations: 51.97 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.1111, allocations: 0 / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001001/0.1121, allocations: 165.5 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.1122, allocations: 4 kB / 0.6859 GB, free: 35.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.1122, allocations: 7.984 kB / 0.6859 GB, free: 35.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.1123, allocations: 4 kB / 0.6859 GB, free: 35.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1127, allocations: 43.92 kB / 0.6859 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.1127, allocations: 7.984 kB / 0.6859 GB, free: 35.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.113, allocations: 19.89 kB / 0.686 GB, free: 35.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.113, allocations: 16 kB / 0.686 GB, free: 35.3 MB / 346.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.0001546/0.1132, allocations: 126.6 kB / 0.6861 GB, free: 35.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.1132, allocations: 7.906 kB / 0.6861 GB, free: 35.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/0.1142, allocations: 134 kB / 0.6862 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1142, allocations: 4 kB / 0.6862 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1142, allocations: 0 / 0.6862 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1143, allocations: 81.02 kB / 0.6863 GB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.1144, allocations: 3.953 kB / 0.6863 GB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.1147, allocations: 19.92 kB / 0.6863 GB, free: 34.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1148, allocations: 7.984 kB / 0.6863 GB, free: 34.89 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008975/0.1157, allocations: 224.8 kB / 0.6866 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006806/0.1164, allocations: 290.7 kB / 0.6868 GB, free: 34.36 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000269/0.1167, allocations: 47.95 kB / 0.6869 GB, free: 34.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.1167, allocations: 106.7 kB / 0.687 GB, free: 34.21 MB / 346.7 MB Notification: Performance of Backend: time 6.51e-07/0.1168, allocations: 0 / 0.687 GB, free: 34.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007578/0.1175, allocations: 190.1 kB / 0.6872 GB, free: 34.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005959/0.1181, allocations: 0.7294 MB / 0.6879 GB, free: 33.25 MB / 346.7 MB Notification: Performance of Templates: time 0.005149/0.1233, allocations: 1.268 MB / 0.6891 GB, free: 32.02 MB / 346.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]