Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|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.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|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.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2374/0.2374, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 58.86 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.5918, allocations: 95.12 MB / 0.5717 GB, free: 4.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5922, allocations: 101.9 kB / 0.5718 GB, free: 4.66 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227: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 3.2.3+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03704/0.6292, allocations: 11.34 MB / 0.5828 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6293, allocations: 3.938 kB / 0.5828 GB, free: 10.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.6293, allocations: 4 kB / 0.5829 GB, free: 10.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001245/0.6306, allocations: 0.5803 MB / 0.5834 GB, free: 10.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6306, allocations: 12.02 kB / 0.5834 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.6308, allocations: 35.58 kB / 0.5835 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.6312, allocations: 240.1 kB / 0.5837 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.6313, allocations: 19.09 kB / 0.5837 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.6313, allocations: 33.67 kB / 0.5837 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.6322, allocations: 463.5 kB / 0.5842 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6322, allocations: 3.984 kB / 0.5842 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.6323, allocations: 10.62 kB / 0.5842 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.6323, allocations: 40.36 kB / 0.5842 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.6332, allocations: 0.5601 MB / 0.5848 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.6353, allocations: 1.346 MB / 0.5861 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.6359, allocations: 296.5 kB / 0.5864 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.636, allocations: 4 kB / 0.5864 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.636, allocations: 41.73 kB / 0.5864 GB, free: 7.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/0.636, allocations: 0 / 0.5864 GB, free: 7.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007868/0.6368, allocations: 343.9 kB / 0.5868 GB, free: 7.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.6369, allocations: 55.41 kB / 0.5868 GB, free: 7.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.637, allocations: 127.5 kB / 0.5869 GB, free: 7.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.637, allocations: 29.08 kB / 0.587 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6372, allocations: 190.3 kB / 0.5871 GB, free: 6.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.6372, allocations: 95.17 kB / 0.5872 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.6373, allocations: 3.375 kB / 0.5872 GB, free: 6.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6374, allocations: 325.6 kB / 0.5875 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.6376, allocations: 91.55 kB / 0.5876 GB, free: 6.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.6379, allocations: 180.2 kB / 0.5878 GB, free: 6.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.6381, allocations: 119.7 kB / 0.5879 GB, free: 6.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6381, allocations: 0 / 0.5879 GB, free: 6.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006003/0.6387, allocations: 333.3 kB / 0.5882 GB, free: 5.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6387, allocations: 14.59 kB / 0.5882 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.6388, allocations: 352 / 0.5882 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6388, allocations: 12 kB / 0.5883 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.6394, allocations: 127.8 kB / 0.5884 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.641, allocations: 2.365 MB / 0.5907 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.6412, allocations: 34.28 kB / 0.5907 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.6413, allocations: 27.88 kB / 0.5907 GB, free: 3.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.0002408/0.6415, allocations: 179.2 kB / 0.5909 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.6416, allocations: 15.81 kB / 0.5909 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.6425, allocations: 370.3 kB / 0.5913 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6425, allocations: 7.984 kB / 0.5913 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6425, allocations: 4 kB / 0.5913 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6425, allocations: 3.984 kB / 0.5913 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.643, allocations: 349.2 kB / 0.5916 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.643, allocations: 0 / 0.5916 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.6435, allocations: 115.8 kB / 0.5917 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.6435, allocations: 0 / 0.5917 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.6436, allocations: 7.438 kB / 0.5918 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.6451, allocations: 2.368 MB / 0.5941 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6451, allocations: 0 / 0.5941 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.6457, allocations: 386.1 kB / 0.5944 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.6457, allocations: 92.94 kB / 0.5945 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.6458, allocations: 11.38 kB / 0.5945 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.6459, allocations: 7.188 kB / 0.5945 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.646, allocations: 27.3 kB / 0.5946 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6461, allocations: 15.36 kB / 0.5946 GB, free: 15.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.6461, allocations: 95.48 kB / 0.5947 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6462, allocations: 0 / 0.5947 GB, free: 15.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007629/0.6469, allocations: 192.3 kB / 0.5949 GB, free: 14.96 MB / 410.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 (29): * Single equations (assignments): 25 * 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.0007497/0.6477, allocations: 261.7 kB / 0.5951 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007678/0.6485, allocations: 293 kB / 0.5954 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6485, allocations: 4.625 kB / 0.5954 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.6489, allocations: 167.2 kB / 0.5955 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.6492, allocations: 6.312 kB / 0.5956 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6505, allocations: 0.7141 MB / 0.5963 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.651, allocations: 0.8093 MB / 0.597 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.6513, allocations: 97.73 kB / 0.5971 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.6514, allocations: 27.42 kB / 0.5972 GB, free: 12.65 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6514, allocations: 0 / 0.5972 GB, free: 12.65 MB / 410.7 MB Notification: Performance of Templates: time 0.009537/0.661, allocations: 4.301 MB / 0.6014 GB, free: 8.359 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches