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.00144/0.001445, allocations: 180.2 kB / 8.366 MB, free: 0.7109 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.074/2.074, 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.001118/0.001117, allocations: 89.72 kB / 262.1 MB, free: 13.87 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.2915/0.2915, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.894e-05, allocations: 0 / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4193, allocations: 58.84 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5906, allocations: 92.18 MB / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/0.591, allocations: 103.9 kB / 0.556 GB, free: 7.02 MB / 395.1 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.04007/0.6311, allocations: 8.836 MB / 0.5647 GB, free: 14.06 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6312, allocations: 0 / 0.5647 GB, free: 14.06 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.6312, allocations: 4 kB / 0.5647 GB, free: 14.05 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009813/0.6322, allocations: 0.5102 MB / 0.5652 GB, free: 13.5 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.6322, allocations: 11.97 kB / 0.5652 GB, free: 13.49 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.6324, allocations: 31.62 kB / 0.5652 GB, free: 13.46 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.6328, allocations: 242.6 kB / 0.5654 GB, free: 13.18 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.6328, allocations: 12 kB / 0.5654 GB, free: 13.17 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.6329, allocations: 20 kB / 0.5655 GB, free: 13.15 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008853/0.6338, allocations: 381.4 kB / 0.5658 GB, free: 12.77 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/0.6347, allocations: 405.3 kB / 0.5662 GB, free: 12.37 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6348, allocations: 3.938 kB / 0.5662 GB, free: 12.37 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.6348, allocations: 0 / 0.5662 GB, free: 12.37 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.6349, allocations: 24.77 kB / 0.5662 GB, free: 12.34 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.6374, allocations: 1.124 MB / 0.5673 GB, free: 11.13 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.6377, allocations: 70.47 kB / 0.5674 GB, free: 11.05 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.6377, allocations: 32.84 kB / 0.5674 GB, free: 11.02 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.6378, allocations: 4 kB / 0.5674 GB, free: 11.02 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6378, allocations: 30.56 kB / 0.5675 GB, free: 10.98 MB / 411.1 MB Notification: Performance of pre-optimization done (n=7): time 2.836e-06/0.6379, allocations: 0 / 0.5675 GB, free: 10.98 MB / 411.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003427/0.6382, allocations: 93.66 kB / 0.5676 GB, free: 10.88 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.6383, allocations: 59.39 kB / 0.5676 GB, free: 10.81 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6385, allocations: 145.4 kB / 0.5678 GB, free: 10.66 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.6385, allocations: 29.7 kB / 0.5678 GB, free: 10.62 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.6387, allocations: 286 kB / 0.5681 GB, free: 10.34 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6388, allocations: 27.64 kB / 0.5681 GB, free: 10.31 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.6388, allocations: 0 / 0.5681 GB, free: 10.31 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6389, allocations: 318.8 kB / 0.5684 GB, free: 9.988 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.6391, allocations: 35.97 kB / 0.5684 GB, free: 9.953 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.6393, allocations: 155 kB / 0.5686 GB, free: 9.746 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.6394, allocations: 64.23 kB / 0.5686 GB, free: 9.684 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6395, allocations: 11.94 kB / 0.5686 GB, free: 9.672 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005061/0.64, allocations: 189.7 kB / 0.5688 GB, free: 9.48 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.64, allocations: 4 kB / 0.5688 GB, free: 9.477 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.64, allocations: 8.031 kB / 0.5688 GB, free: 9.469 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.6401, allocations: 8 kB / 0.5688 GB, free: 9.461 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.6407, allocations: 87.88 kB / 0.5689 GB, free: 9.375 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.642, allocations: 1.785 MB / 0.5707 GB, free: 7.52 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.6423, allocations: 23.78 kB / 0.5707 GB, free: 7.496 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.6424, allocations: 19.98 kB / 0.5707 GB, free: 7.477 MB / 411.1 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.0001496/0.6425, allocations: 121 kB / 0.5708 GB, free: 7.352 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.6426, allocations: 11.91 kB / 0.5708 GB, free: 7.34 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.6433, allocations: 177.8 kB / 0.571 GB, free: 7.164 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6433, allocations: 4 kB / 0.571 GB, free: 7.16 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6433, allocations: 0 / 0.571 GB, free: 7.16 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6433, allocations: 0 / 0.571 GB, free: 7.16 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.6437, allocations: 242 kB / 0.5712 GB, free: 6.887 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6438, allocations: 0 / 0.5712 GB, free: 6.887 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.6442, allocations: 55.95 kB / 0.5713 GB, free: 6.832 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.6442, allocations: 4 kB / 0.5713 GB, free: 6.828 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.6443, allocations: 0 / 0.5713 GB, free: 6.828 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.6455, allocations: 1.785 MB / 0.573 GB, free: 4.973 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6455, allocations: 0 / 0.573 GB, free: 4.973 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.6459, allocations: 191.7 kB / 0.5732 GB, free: 4.77 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.6459, allocations: 92.97 kB / 0.5733 GB, free: 4.66 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.646, allocations: 0 / 0.5733 GB, free: 4.66 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6462, allocations: 4 kB / 0.5733 GB, free: 4.656 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.6462, allocations: 11.98 kB / 0.5733 GB, free: 4.645 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6463, allocations: 7.984 kB / 0.5733 GB, free: 4.637 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.6464, allocations: 103.3 kB / 0.5734 GB, free: 4.535 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6464, allocations: 4 kB / 0.5734 GB, free: 4.531 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006778/0.6471, allocations: 103.5 kB / 0.5735 GB, free: 4.43 MB / 411.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 (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.0004132/0.6475, allocations: 169.5 kB / 0.5737 GB, free: 4.258 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.6482, allocations: 135.7 kB / 0.5738 GB, free: 4.125 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6482, allocations: 4 kB / 0.5738 GB, free: 4.121 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.6485, allocations: 55.95 kB / 0.5739 GB, free: 4.066 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.6488, allocations: 9.125 kB / 0.5739 GB, free: 4.059 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.6497, allocations: 327.8 kB / 0.5742 GB, free: 3.715 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.6502, allocations: 0.7943 MB / 0.575 GB, free: 2.895 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.6503, allocations: 27.36 kB / 0.575 GB, free: 2.867 MB / 411.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6503, allocations: 0 / 0.575 GB, free: 2.867 MB / 411.1 MB Notification: Performance of Templates: time 0.01525/0.6656, allocations: 6.978 MB / 0.5818 GB, free: 11.89 MB / 427.1 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