Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001338/0.001338, allocations: 174.2 kB / 16.76 MB, free: 4.809 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.39/1.39, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007168/0.0007167, allocations: 101.3 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3228/0.3228, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005142, allocations: 12 kB / 432.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 58.85 MB / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3653/0.5082, allocations: 92.98 MB / 0.5708 GB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.5086, allocations: 99.94 kB / 0.5709 GB, free: 8.707 MB / 394.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.02467/0.5333, allocations: 8.96 MB / 0.5796 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5334, allocations: 0 / 0.5796 GB, free: 15.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5334, allocations: 8 kB / 0.5796 GB, free: 15.69 MB / 410.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.000784/0.5342, allocations: 0.5187 MB / 0.5801 GB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5342, allocations: 12.03 kB / 0.5802 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.5343, allocations: 36.55 kB / 0.5802 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.5346, allocations: 236 kB / 0.5804 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.5347, allocations: 29.3 kB / 0.5804 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.5347, allocations: 36.38 kB / 0.5805 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.5355, allocations: 482.6 kB / 0.5809 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5356, allocations: 3.938 kB / 0.5809 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.5356, allocations: 16 kB / 0.581 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.5356, allocations: 24.98 kB / 0.581 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.5363, allocations: 439.6 kB / 0.5814 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.5379, allocations: 1.186 MB / 0.5826 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.5382, allocations: 79.39 kB / 0.5826 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5383, allocations: 52.83 kB / 0.5827 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.5383, allocations: 4.141 kB / 0.5827 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5384, allocations: 30.56 kB / 0.5827 GB, free: 12.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.5384, allocations: 3.984 kB / 0.5827 GB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004597/0.5388, allocations: 178.1 kB / 0.5829 GB, free: 12.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5389, allocations: 51.41 kB / 0.5829 GB, free: 12.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.539, allocations: 162.4 kB / 0.5831 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.5391, allocations: 29.7 kB / 0.5831 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5392, allocations: 215.2 kB / 0.5833 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.5392, allocations: 35.62 kB / 0.5834 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.5392, allocations: 0 / 0.5834 GB, free: 11.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5394, allocations: 334.8 kB / 0.5837 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5395, allocations: 55.89 kB / 0.5837 GB, free: 11.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.5397, allocations: 172.3 kB / 0.5839 GB, free: 11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.5401, allocations: 256.7 kB / 0.5841 GB, free: 10.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.5401, allocations: 4 kB / 0.5841 GB, free: 10.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004785/0.5406, allocations: 261.5 kB / 0.5844 GB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5406, allocations: 12.06 kB / 0.5844 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.5407, allocations: 4 kB / 0.5844 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5407, allocations: 4 kB / 0.5844 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.541, allocations: 91.89 kB / 0.5845 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/0.542, allocations: 1.778 MB / 0.5862 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.5421, allocations: 27.69 kB / 0.5863 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.5422, allocations: 27.92 kB / 0.5863 GB, free: 8.418 MB / 410.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 () * Number of clocked 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.0002019/0.5424, allocations: 181.9 kB / 0.5865 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.5424, allocations: 7.906 kB / 0.5865 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.5429, allocations: 201.8 kB / 0.5867 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.543, allocations: 7.984 kB / 0.5867 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.543, allocations: 3.984 kB / 0.5867 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.543, allocations: 4 kB / 0.5867 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5433, allocations: 289.5 kB / 0.587 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5433, allocations: 4 kB / 0.587 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.5435, allocations: 59.97 kB / 0.587 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5435, allocations: 0 / 0.587 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5435, allocations: 8 kB / 0.587 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009038/0.5445, allocations: 1.77 MB / 0.5888 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5445, allocations: 7.875 kB / 0.5888 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.5448, allocations: 231.7 kB / 0.589 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.5449, allocations: 81.02 kB / 0.5891 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5449, allocations: 4 kB / 0.5891 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.545, allocations: 7.984 kB / 0.5891 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.545, allocations: 23.88 kB / 0.5891 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5451, allocations: 4 kB / 0.5891 GB, free: 5.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.203e-05/0.5451, allocations: 113.7 kB / 0.5892 GB, free: 5.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5452, allocations: 0 / 0.5892 GB, free: 5.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004812/0.5456, allocations: 111.5 kB / 0.5893 GB, free: 5.164 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 (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.0003302/0.546, allocations: 175.1 kB / 0.5895 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.5466, allocations: 192.7 kB / 0.5897 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5466, allocations: 0 / 0.5897 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.5469, allocations: 107.8 kB / 0.5898 GB, free: 4.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5471, allocations: 12.12 kB / 0.5898 GB, free: 4.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.548, allocations: 0.5746 MB / 0.5903 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.5484, allocations: 0.7946 MB / 0.5911 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.5487, allocations: 65.17 kB / 0.5912 GB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.5487, allocations: 19.44 kB / 0.5912 GB, free: 3.184 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5487, allocations: 0 / 0.5912 GB, free: 3.184 MB / 410.7 MB Notification: Performance of Templates: time 0.007514/0.5562, allocations: 3.275 MB / 0.5944 GB, free: 15.95 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches