Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008185, allocations: 98.41 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.419e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4603, allocations: 94.38 MB / 0.5965 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4606, allocations: 96.92 kB / 0.5966 GB, free: 8.258 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.4907, allocations: 10.55 MB / 0.6069 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.53e-06/0.4907, allocations: 3.984 kB / 0.6069 GB, free: 15.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4907, allocations: 8 kB / 0.607 GB, free: 15.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0007314/0.4915, allocations: 0.6499 MB / 0.6076 GB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4915, allocations: 8.031 kB / 0.6076 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.4916, allocations: 58.84 kB / 0.6077 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.492, allocations: 318.5 kB / 0.608 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.492, allocations: 16 kB / 0.608 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.4921, allocations: 28 kB / 0.608 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007327/0.4928, allocations: 0.6271 MB / 0.6086 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.4935, allocations: 0.5828 MB / 0.6092 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4936, allocations: 7.953 kB / 0.6092 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.4936, allocations: 4 kB / 0.6092 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.4937, allocations: 45.28 kB / 0.6092 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.4957, allocations: 1.583 MB / 0.6108 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.4962, allocations: 335.5 kB / 0.6111 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.4963, allocations: 121 kB / 0.6112 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.4964, allocations: 8.219 kB / 0.6112 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4964, allocations: 33.73 kB / 0.6113 GB, free: 11.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.4964, allocations: 0 / 0.6113 GB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005193/0.4969, allocations: 314.9 kB / 0.6116 GB, free: 10.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.497, allocations: 59.36 kB / 0.6116 GB, free: 10.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4972, allocations: 203.7 kB / 0.6118 GB, free: 10.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.4972, allocations: 29.7 kB / 0.6118 GB, free: 10.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4974, allocations: 281.3 kB / 0.6121 GB, free: 10.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.4975, allocations: 88.41 kB / 0.6122 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.4975, allocations: 0 / 0.6122 GB, free: 10.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4976, allocations: 333.7 kB / 0.6125 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4978, allocations: 121.2 kB / 0.6126 GB, free: 9.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.498, allocations: 224.3 kB / 0.6128 GB, free: 9.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.4983, allocations: 166.8 kB / 0.613 GB, free: 9.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4983, allocations: 0 / 0.613 GB, free: 9.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005501/0.4988, allocations: 399.8 kB / 0.6134 GB, free: 9.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4989, allocations: 4 kB / 0.6134 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4989, allocations: 4 kB / 0.6134 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4989, allocations: 8 kB / 0.6134 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.4995, allocations: 156 kB / 0.6135 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.5014, allocations: 3.634 MB / 0.6171 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.5016, allocations: 35.91 kB / 0.6171 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.5017, allocations: 31.61 kB / 0.6172 GB, free: 5.164 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.5018, allocations: 108.9 kB / 0.6173 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.5019, allocations: 27.7 kB / 0.6173 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.5027, allocations: 492.2 kB / 0.6178 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5028, allocations: 4 kB / 0.6178 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5028, allocations: 0 / 0.6178 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5028, allocations: 3.953 kB / 0.6178 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.5033, allocations: 382.1 kB / 0.6181 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5033, allocations: 4 kB / 0.6181 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.5039, allocations: 127.6 kB / 0.6183 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5039, allocations: 7.922 kB / 0.6183 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.5039, allocations: 8 kB / 0.6183 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.5058, allocations: 3.62 MB / 0.6218 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5058, allocations: 0 / 0.6218 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.5066, allocations: 0.5871 MB / 0.6224 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.5068, allocations: 160.6 kB / 0.6225 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.5068, allocations: 0 / 0.6225 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.507, allocations: 8.938 kB / 0.6225 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.5071, allocations: 30.33 kB / 0.6226 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.5071, allocations: 10.88 kB / 0.6226 GB, free: 15.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.5073, allocations: 172 kB / 0.6227 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5073, allocations: 4 kB / 0.6227 GB, free: 15.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.5079, allocations: 182.2 kB / 0.6229 GB, free: 15.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.5083, allocations: 209.2 kB / 0.6231 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.5092, allocations: 361.7 kB / 0.6235 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5092, allocations: 0 / 0.6235 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.5097, allocations: 218.7 kB / 0.6237 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5099, allocations: 15.81 kB / 0.6237 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.511, allocations: 0.6608 MB / 0.6243 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5115, allocations: 0.9177 MB / 0.6252 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.5118, allocations: 115 kB / 0.6253 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.5119, allocations: 46.53 kB / 0.6254 GB, free: 12.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5119, allocations: 0 / 0.6254 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Templates: time 0.009492/0.5214, allocations: 4.958 MB / 0.6302 GB, free: 7.961 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches