Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001521/0.001521, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001131/0.00113, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2769/0.2769, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.435e-05, allocations: 7.984 kB / 425.3 MB, free: 23.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 58.84 MB / 484.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6112, allocations: 95.03 MB / 0.5656 GB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/0.6117, allocations: 98.81 kB / 0.5657 GB, free: 8.543 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.05805/0.6697, allocations: 11.33 MB / 0.5768 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6698, allocations: 0 / 0.5768 GB, free: 14.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.6698, allocations: 4 kB / 0.5768 GB, free: 14.79 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.001316/0.6712, allocations: 0.5766 MB / 0.5773 GB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6712, allocations: 8.031 kB / 0.5773 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.6713, allocations: 35.58 kB / 0.5774 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.6717, allocations: 238.4 kB / 0.5776 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.6718, allocations: 26.28 kB / 0.5776 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.6719, allocations: 27.61 kB / 0.5777 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.6729, allocations: 445.4 kB / 0.5781 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6729, allocations: 0 / 0.5781 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.673, allocations: 7.438 kB / 0.5781 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/0.6731, allocations: 44.25 kB / 0.5781 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6742, allocations: 0.5152 MB / 0.5786 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.6773, allocations: 1.347 MB / 0.58 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.6782, allocations: 271.8 kB / 0.5802 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.6784, allocations: 84.5 kB / 0.5803 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.6785, allocations: 4 kB / 0.5803 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.6786, allocations: 42.06 kB / 0.5803 GB, free: 11.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.797e-06/0.6786, allocations: 4 kB / 0.5803 GB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006734/0.6793, allocations: 222.2 kB / 0.5806 GB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.6793, allocations: 55.41 kB / 0.5806 GB, free: 11.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6795, allocations: 127.2 kB / 0.5807 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.6795, allocations: 33.2 kB / 0.5808 GB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6797, allocations: 269 kB / 0.581 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.6798, allocations: 86 kB / 0.5811 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.6799, allocations: 15.12 kB / 0.5811 GB, free: 10.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.68, allocations: 326.3 kB / 0.5814 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.6802, allocations: 70.41 kB / 0.5815 GB, free: 10.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.6805, allocations: 155.7 kB / 0.5816 GB, free: 10.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6808, allocations: 106.2 kB / 0.5817 GB, free: 10.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6809, allocations: 3.953 kB / 0.5817 GB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007428/0.6816, allocations: 283.2 kB / 0.582 GB, free: 9.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6816, allocations: 7.984 kB / 0.582 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6817, allocations: 4 kB / 0.582 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6817, allocations: 4.344 kB / 0.582 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.6828, allocations: 135.3 kB / 0.5822 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.6844, allocations: 2.365 MB / 0.5845 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.6847, allocations: 39.31 kB / 0.5845 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.6848, allocations: 16.28 kB / 0.5845 GB, free: 7.168 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 () * 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.0001358/0.6849, allocations: 123.2 kB / 0.5846 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.685, allocations: 15.89 kB / 0.5847 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.6861, allocations: 339.2 kB / 0.585 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6862, allocations: 3.938 kB / 0.585 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6862, allocations: 0 / 0.585 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6862, allocations: 4 kB / 0.585 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.6868, allocations: 343.7 kB / 0.5853 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6868, allocations: 0 / 0.5853 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/0.6878, allocations: 119.6 kB / 0.5854 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.6878, allocations: 4 kB / 0.5854 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.6879, allocations: 11.42 kB / 0.5854 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.6894, allocations: 2.362 MB / 0.5877 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6894, allocations: 0 / 0.5877 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.6901, allocations: 335.8 kB / 0.5881 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.6902, allocations: 112.2 kB / 0.5882 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.6903, allocations: 7.375 kB / 0.5882 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.6906, allocations: 11.12 kB / 0.5882 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.6907, allocations: 23.86 kB / 0.5882 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.6907, allocations: 15.17 kB / 0.5882 GB, free: 3.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.345e-05/0.6908, allocations: 102.4 kB / 0.5883 GB, free: 3.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6909, allocations: 0 / 0.5883 GB, free: 3.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008363/0.6917, allocations: 180.7 kB / 0.5885 GB, free: 3.105 MB / 394.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 (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.0006766/0.6924, allocations: 264 kB / 0.5888 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.6934, allocations: 251 kB / 0.589 GB, free: 2.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6935, allocations: 2.438 kB / 0.589 GB, free: 2.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.6941, allocations: 150.2 kB / 0.5891 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6944, allocations: 11.31 kB / 0.5891 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.6956, allocations: 427.7 kB / 0.5896 GB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.696, allocations: 0.8116 MB / 0.5903 GB, free: 1.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6962, allocations: 34.3 kB / 0.5904 GB, free: 1.227 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6962, allocations: 0 / 0.5904 GB, free: 1.227 MB / 394.7 MB Notification: Performance of Templates: time 0.01868/0.7149, allocations: 8.83 MB / 0.599 GB, free: 8.406 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches