Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.9 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.045/2.045, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001069/0.001069, allocations: 90.69 kB / 267.5 MB, free: 14.11 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.2778/0.2778, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.454e-05/5.468e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5941, allocations: 92.83 MB / 0.5635 GB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.5945, allocations: 96.67 kB / 0.5636 GB, free: 10.76 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.0404/0.6349, allocations: 8.948 MB / 0.5723 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.635, allocations: 4 kB / 0.5723 GB, free: 2.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.635, allocations: 4 kB / 0.5723 GB, free: 2.918 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009522/0.636, allocations: 0.515 MB / 0.5728 GB, free: 2.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/0.6361, allocations: 8.031 kB / 0.5728 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.6362, allocations: 31.62 kB / 0.5729 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.6366, allocations: 241.3 kB / 0.5731 GB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.6366, allocations: 27.47 kB / 0.5731 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.6367, allocations: 38.36 kB / 0.5731 GB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6377, allocations: 452.8 kB / 0.5736 GB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.6378, allocations: 0 / 0.5736 GB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.6379, allocations: 18.44 kB / 0.5736 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.397e-05/0.638, allocations: 28.02 kB / 0.5736 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.6388, allocations: 387.1 kB / 0.574 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.6414, allocations: 1.205 MB / 0.5752 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.6416, allocations: 68.48 kB / 0.5752 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.6417, allocations: 35.28 kB / 0.5753 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.6418, allocations: 4 kB / 0.5753 GB, free: 152 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6418, allocations: 34.56 kB / 0.5753 GB, free: 108 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.106e-06/0.6418, allocations: 0 / 0.5753 GB, free: 108 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003704/0.6422, allocations: 95.27 kB / 0.5754 GB, free: 16 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.6423, allocations: 59.39 kB / 0.5755 GB, free: 15.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.6425, allocations: 146.3 kB / 0.5756 GB, free: 15.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.6425, allocations: 25.7 kB / 0.5756 GB, free: 15.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6427, allocations: 290.5 kB / 0.5759 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.6428, allocations: 30.64 kB / 0.5759 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.6428, allocations: 3.312 kB / 0.5759 GB, free: 15.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.643, allocations: 326.2 kB / 0.5762 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6431, allocations: 38.66 kB / 0.5763 GB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.6433, allocations: 155.4 kB / 0.5764 GB, free: 14.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.6435, allocations: 66.83 kB / 0.5765 GB, free: 14.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.6436, allocations: 7.984 kB / 0.5765 GB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006065/0.6442, allocations: 219.4 kB / 0.5767 GB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.6442, allocations: 15.28 kB / 0.5767 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6443, allocations: 4 kB / 0.5767 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6443, allocations: 4 kB / 0.5767 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.6449, allocations: 95.25 kB / 0.5768 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.6463, allocations: 1.779 MB / 0.5786 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.6467, allocations: 27.77 kB / 0.5786 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.6467, allocations: 23.31 kB / 0.5786 GB, free: 12.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.6469, allocations: 130.5 kB / 0.5787 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.647, allocations: 7.906 kB / 0.5787 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/0.6477, allocations: 179.7 kB / 0.5789 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6478, allocations: 0 / 0.5789 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6478, allocations: 0 / 0.5789 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.6478, allocations: 0 / 0.5789 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.6483, allocations: 300.9 kB / 0.5792 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6484, allocations: 0 / 0.5792 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.6488, allocations: 63.52 kB / 0.5793 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.6489, allocations: 0 / 0.5793 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.6489, allocations: 4 kB / 0.5793 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.6501, allocations: 1.772 MB / 0.581 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6502, allocations: 8.016 kB / 0.581 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.6505, allocations: 198.2 kB / 0.5812 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.6506, allocations: 81.02 kB / 0.5813 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.6506, allocations: 7.984 kB / 0.5813 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6508, allocations: 4 kB / 0.5813 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.6509, allocations: 15.97 kB / 0.5813 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6509, allocations: 4 kB / 0.5813 GB, free: 9.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.6511, allocations: 122.4 kB / 0.5814 GB, free: 9.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6511, allocations: 0 / 0.5814 GB, free: 9.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006584/0.6517, allocations: 110.7 kB / 0.5815 GB, free: 9.629 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004549/0.6522, allocations: 182.1 kB / 0.5817 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.6529, allocations: 141.8 kB / 0.5818 GB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.653, allocations: 1.125 kB / 0.5818 GB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.6534, allocations: 63.98 kB / 0.5819 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.6537, allocations: 10.95 kB / 0.5819 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.6546, allocations: 333 kB / 0.5822 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.6552, allocations: 0.801 MB / 0.583 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.6553, allocations: 23.42 kB / 0.583 GB, free: 8.078 MB / 394.7 MB Notification: Performance of SimCode: time 3.897e-06/0.6553, allocations: 0 / 0.583 GB, free: 8.078 MB / 394.7 MB Notification: Performance of Templates: time 0.01627/0.6716, allocations: 6.981 MB / 0.5898 GB, free: 1.109 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches