Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009326/0.0009327, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008518/0.0008516, allocations: 110.9 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.297/0.297, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 8 kB / 468.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2862, allocations: 63.24 MB / 0.5192 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3986, allocations: 95.1 MB / 0.6121 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3988, allocations: 111.1 kB / 0.6122 GB, free: 8.238 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295: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 trunk/Fluid/Dissipation.mo:5297:11-5298: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 trunk/Fluid/Dissipation.mo:5301:11-5313: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 trunk/Fluid/Dissipation.mo:5315:11-5316: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.02457/0.4234, allocations: 9.202 MB / 0.6212 GB, free: 14.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4235, allocations: 0 / 0.6212 GB, free: 14.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.4235, allocations: 4 kB / 0.6212 GB, free: 14.93 MB / 442.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.0006899/0.4242, allocations: 0.5306 MB / 0.6217 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4242, allocations: 12.03 kB / 0.6217 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.4243, allocations: 31.62 kB / 0.6217 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.4246, allocations: 234.7 kB / 0.622 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4247, allocations: 21 kB / 0.622 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.4247, allocations: 36 kB / 0.622 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.4254, allocations: 490 kB / 0.6225 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4255, allocations: 0 / 0.6225 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4255, allocations: 12 kB / 0.6225 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.4255, allocations: 24.98 kB / 0.6225 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.4262, allocations: 439.7 kB / 0.6229 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.4278, allocations: 1.206 MB / 0.6241 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.428, allocations: 86.45 kB / 0.6242 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.428, allocations: 7.984 kB / 0.6242 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.428, allocations: 34.56 kB / 0.6242 GB, free: 11.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.428, allocations: 0 / 0.6242 GB, free: 11.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004721/0.4285, allocations: 165.7 kB / 0.6244 GB, free: 11.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.4286, allocations: 63.33 kB / 0.6244 GB, free: 11.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4287, allocations: 149.2 kB / 0.6246 GB, free: 11.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4287, allocations: 29.7 kB / 0.6246 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4289, allocations: 223.4 kB / 0.6248 GB, free: 10.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.4289, allocations: 27.64 kB / 0.6249 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.4289, allocations: 4 kB / 0.6249 GB, free: 10.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.429, allocations: 322.8 kB / 0.6252 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4292, allocations: 55.95 kB / 0.6252 GB, free: 10.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.4294, allocations: 188.1 kB / 0.6254 GB, free: 10.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4296, allocations: 83.89 kB / 0.6255 GB, free: 10.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4296, allocations: 0 / 0.6255 GB, free: 10.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004649/0.4301, allocations: 261.5 kB / 0.6257 GB, free: 9.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4301, allocations: 8 kB / 0.6257 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4301, allocations: 4 kB / 0.6257 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4302, allocations: 11.92 kB / 0.6258 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.4305, allocations: 87.88 kB / 0.6258 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009694/0.4315, allocations: 1.782 MB / 0.6276 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.4317, allocations: 27.83 kB / 0.6276 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.4317, allocations: 16 kB / 0.6276 GB, free: 7.918 MB / 442.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.0001898/0.4319, allocations: 188 kB / 0.6278 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4319, allocations: 11.81 kB / 0.6278 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.4325, allocations: 206 kB / 0.628 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4325, allocations: 4 kB / 0.628 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4325, allocations: 0 / 0.628 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4325, allocations: 3.938 kB / 0.628 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.4328, allocations: 293.5 kB / 0.6283 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4329, allocations: 8 kB / 0.6283 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.4331, allocations: 63.95 kB / 0.6284 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4331, allocations: 0 / 0.6284 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4331, allocations: 4 kB / 0.6284 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008865/0.434, allocations: 1.774 MB / 0.6301 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.434, allocations: 0 / 0.6301 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.4344, allocations: 231.6 kB / 0.6303 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.4344, allocations: 88.89 kB / 0.6304 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4345, allocations: 4 kB / 0.6304 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.4346, allocations: 7.984 kB / 0.6304 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4346, allocations: 11.94 kB / 0.6304 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4346, allocations: 15.98 kB / 0.6304 GB, free: 4.859 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.303e-05/0.4347, allocations: 111.2 kB / 0.6306 GB, free: 4.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4347, allocations: 0 / 0.6306 GB, free: 4.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.4352, allocations: 103.5 kB / 0.6306 GB, free: 4.648 MB / 442.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.0003294/0.4355, allocations: 173.9 kB / 0.6308 GB, free: 4.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.4361, allocations: 180.8 kB / 0.631 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4361, allocations: 0 / 0.631 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.4363, allocations: 79.94 kB / 0.6311 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.4365, allocations: 19.69 kB / 0.6311 GB, free: 4.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.4374, allocations: 0.5851 MB / 0.6317 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4377, allocations: 0.7946 MB / 0.6324 GB, free: 2.773 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.438, allocations: 69.17 kB / 0.6325 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.438, allocations: 19.44 kB / 0.6325 GB, free: 2.688 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.438, allocations: 0 / 0.6325 GB, free: 2.688 MB / 442.7 MB Notification: Performance of Templates: time 0.006374/0.4444, allocations: 3.083 MB / 0.6355 GB, free: 15.64 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches