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.001411/0.001411, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 91.5 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.807e-05, allocations: 4 kB / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3963, allocations: 58.85 MB / 477.1 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5679, allocations: 94.37 MB / 0.5581 GB, free: 4.922 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.5683, allocations: 111.3 kB / 0.5582 GB, free: 4.816 MB / 395.1 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.05838/0.6267, allocations: 11.21 MB / 0.5691 GB, free: 9.531 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6268, allocations: 0 / 0.5691 GB, free: 9.531 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.6268, allocations: 8 kB / 0.5691 GB, free: 9.523 MB / 411.1 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.001291/0.6281, allocations: 0.5762 MB / 0.5697 GB, free: 8.902 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6282, allocations: 8.031 kB / 0.5697 GB, free: 8.895 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.6283, allocations: 35.58 kB / 0.5697 GB, free: 8.859 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.6288, allocations: 238.6 kB / 0.57 GB, free: 8.586 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.6288, allocations: 11.98 kB / 0.57 GB, free: 8.574 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.6289, allocations: 16 kB / 0.57 GB, free: 8.559 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009426/0.6299, allocations: 401.4 kB / 0.5704 GB, free: 8.168 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.6308, allocations: 402 kB / 0.5708 GB, free: 7.77 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6308, allocations: 0 / 0.5708 GB, free: 7.77 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.6309, allocations: 4 kB / 0.5708 GB, free: 7.766 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.481e-05/0.631, allocations: 32.77 kB / 0.5708 GB, free: 7.734 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.6344, allocations: 1.278 MB / 0.572 GB, free: 6.348 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.6353, allocations: 257.3 kB / 0.5723 GB, free: 6.09 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.6355, allocations: 84.75 kB / 0.5724 GB, free: 6.004 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.6356, allocations: 4 kB / 0.5724 GB, free: 6 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6356, allocations: 34.56 kB / 0.5724 GB, free: 5.957 MB / 411.1 MB Notification: Performance of pre-optimization done (n=25): time 2.805e-06/0.6356, allocations: 0 / 0.5724 GB, free: 5.957 MB / 411.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006428/0.6363, allocations: 209.8 kB / 0.5726 GB, free: 5.746 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6363, allocations: 55.41 kB / 0.5727 GB, free: 5.68 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.6365, allocations: 121.2 kB / 0.5728 GB, free: 5.551 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.6366, allocations: 29.64 kB / 0.5728 GB, free: 5.516 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.6368, allocations: 266.5 kB / 0.5731 GB, free: 5.254 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.6369, allocations: 86.75 kB / 0.5731 GB, free: 5.168 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.6369, allocations: 0 / 0.5731 GB, free: 5.168 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6371, allocations: 322.8 kB / 0.5735 GB, free: 4.844 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.6373, allocations: 71.97 kB / 0.5735 GB, free: 4.773 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.6376, allocations: 150.1 kB / 0.5737 GB, free: 4.59 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.6378, allocations: 96.08 kB / 0.5738 GB, free: 4.496 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6379, allocations: 3.938 kB / 0.5738 GB, free: 4.492 MB / 411.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007008/0.6386, allocations: 269.1 kB / 0.574 GB, free: 4.223 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6386, allocations: 4 kB / 0.574 GB, free: 4.219 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6386, allocations: 4 kB / 0.574 GB, free: 4.215 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.6387, allocations: 4 kB / 0.574 GB, free: 4.211 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6398, allocations: 135.8 kB / 0.5742 GB, free: 4.078 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.6416, allocations: 2.364 MB / 0.5765 GB, free: 1.621 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.6419, allocations: 31.67 kB / 0.5765 GB, free: 1.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.642, allocations: 20 kB / 0.5765 GB, free: 1.57 MB / 411.1 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.000152/0.6422, allocations: 112.9 kB / 0.5766 GB, free: 1.453 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.6422, allocations: 11.91 kB / 0.5766 GB, free: 1.441 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.6434, allocations: 322 kB / 0.5769 GB, free: 1.121 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-06/0.6434, allocations: 4 kB / 0.5769 GB, free: 1.117 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6434, allocations: 0 / 0.5769 GB, free: 1.117 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.6434, allocations: 4 kB / 0.577 GB, free: 1.113 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.644, allocations: 278.2 kB / 0.5772 GB, free: 0.8047 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.644, allocations: 7.875 kB / 0.5772 GB, free: 0.7969 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6451, allocations: 115.9 kB / 0.5773 GB, free: 0.6836 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6451, allocations: 0 / 0.5773 GB, free: 0.6836 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.6452, allocations: 7.984 kB / 0.5773 GB, free: 0.6758 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.6468, allocations: 2.364 MB / 0.5796 GB, free: 14.22 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.6469, allocations: 0 / 0.5796 GB, free: 14.22 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.6476, allocations: 327.2 kB / 0.58 GB, free: 13.88 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.6477, allocations: 92.86 kB / 0.5801 GB, free: 13.77 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.6477, allocations: 0 / 0.5801 GB, free: 13.77 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.648, allocations: 15.92 kB / 0.5801 GB, free: 13.76 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.6481, allocations: 28.06 kB / 0.5801 GB, free: 13.73 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.6482, allocations: 4 kB / 0.5801 GB, free: 13.73 MB / 427.1 MB Notification: Performance of sorting global known variables: time 9.873e-05/0.6483, allocations: 107 kB / 0.5802 GB, free: 13.62 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6483, allocations: 0 / 0.5802 GB, free: 13.62 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.6492, allocations: 175.5 kB / 0.5804 GB, free: 13.45 MB / 427.1 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.0007281/0.65, allocations: 261.5 kB / 0.5806 GB, free: 13.19 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.6509, allocations: 239.7 kB / 0.5808 GB, free: 12.96 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.651, allocations: 0 / 0.5808 GB, free: 12.96 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.6516, allocations: 136.5 kB / 0.581 GB, free: 12.82 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6519, allocations: 12 kB / 0.581 GB, free: 12.81 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.6531, allocations: 411.5 kB / 0.5814 GB, free: 12.38 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.6536, allocations: 0.8024 MB / 0.5822 GB, free: 11.55 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6538, allocations: 35.42 kB / 0.5822 GB, free: 11.52 MB / 427.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6538, allocations: 0 / 0.5822 GB, free: 11.52 MB / 427.1 MB Notification: Performance of Templates: time 0.02/0.6739, allocations: 8.865 MB / 0.5909 GB, free: 2.652 MB / 427.1 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