Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 179.5 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.4 MB / 230.3 MB, free: 7.656 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001121, allocations: 95.97 kB / 281.2 MB, free: 5.473 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.1753/0.1753, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.494e-06, allocations: 224 / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4322, allocations: 98.35 MB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.4326, allocations: 95.92 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4725:11-4728:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.05042/0.4831, allocations: 15.06 MB / 0.605 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4831, allocations: 4 kB / 0.605 GB, free: 15.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001147/0.4843, allocations: 0.5604 MB / 0.6055 GB, free: 14.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4843, allocations: 11.97 kB / 0.6055 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4845, allocations: 27.62 kB / 0.6056 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.4848, allocations: 230.6 kB / 0.6058 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4848, allocations: 8 kB / 0.6058 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.4849, allocations: 12 kB / 0.6058 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004888/0.4854, allocations: 332.9 kB / 0.6061 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.4859, allocations: 323.9 kB / 0.6064 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4859, allocations: 4 kB / 0.6064 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.4859, allocations: 0 / 0.6064 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.486, allocations: 32.62 kB / 0.6065 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.4875, allocations: 0.9685 MB / 0.6074 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.4881, allocations: 267.5 kB / 0.6077 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4883, allocations: 81.19 kB / 0.6077 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.4883, allocations: 4.188 kB / 0.6077 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4884, allocations: 30.75 kB / 0.6078 GB, free: 12.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.4884, allocations: 0 / 0.6078 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004376/0.4888, allocations: 212.2 kB / 0.608 GB, free: 11.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.4888, allocations: 59.41 kB / 0.608 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.489, allocations: 111.9 kB / 0.6081 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.489, allocations: 25.7 kB / 0.6082 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.4891, allocations: 164 kB / 0.6083 GB, free: 11.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.4891, allocations: 67.02 kB / 0.6084 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.4892, allocations: 0 / 0.6084 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4893, allocations: 318.8 kB / 0.6087 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4894, allocations: 79.69 kB / 0.6088 GB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4895, allocations: 95.14 kB / 0.6088 GB, free: 10.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4897, allocations: 83.48 kB / 0.6089 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4897, allocations: 0 / 0.6089 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003933/0.4901, allocations: 221.3 kB / 0.6091 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4901, allocations: 8 kB / 0.6091 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4901, allocations: 0 / 0.6091 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4901, allocations: 64 / 0.6091 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.4907, allocations: 95.86 kB / 0.6092 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.4925, allocations: 2.406 MB / 0.6116 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.4927, allocations: 28.14 kB / 0.6116 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4927, allocations: 8 kB / 0.6116 GB, free: 8.023 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.4929, allocations: 105 kB / 0.6117 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4929, allocations: 19.81 kB / 0.6117 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.4937, allocations: 345.9 kB / 0.6121 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4937, allocations: 0 / 0.6121 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4937, allocations: 0 / 0.6121 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4937, allocations: 3.906 kB / 0.6121 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.4941, allocations: 274 kB / 0.6123 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4942, allocations: 4 kB / 0.6123 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.4946, allocations: 95.86 kB / 0.6124 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4946, allocations: 0 / 0.6124 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4947, allocations: 4 kB / 0.6124 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.496, allocations: 2.403 MB / 0.6148 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4961, allocations: 0 / 0.6148 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004788/0.4965, allocations: 323.8 kB / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.4967, allocations: 128.8 kB / 0.6152 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.4968, allocations: 4 kB / 0.6152 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4969, allocations: 12.08 kB / 0.6152 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.497, allocations: 19.97 kB / 0.6152 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.4971, allocations: 11.94 kB / 0.6153 GB, free: 4.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-05/0.4971, allocations: 95.27 kB / 0.6153 GB, free: 4.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008348/0.498, allocations: 179.4 kB / 0.6155 GB, free: 3.844 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008396/0.4988, allocations: 258.9 kB / 0.6158 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.4995, allocations: 223.8 kB / 0.616 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4995, allocations: 0 / 0.616 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.5, allocations: 159.9 kB / 0.6161 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5002, allocations: 17.31 kB / 0.6161 GB, free: 3.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.5011, allocations: 360.4 kB / 0.6165 GB, free: 2.809 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.5016, allocations: 0.829 MB / 0.6173 GB, free: 1.949 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5016, allocations: 0 / 0.6173 GB, free: 1.949 MB / 426.7 MB Notification: Performance of Templates: time 0.01056/0.5122, allocations: 5.202 MB / 0.6224 GB, free: 12.78 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]