Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009613/0.0009613, allocations: 198.7 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.189/1.189, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.0008976, allocations: 102.7 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3204/0.3204, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 4.219 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3137, allocations: 63.24 MB / 0.5192 GB, free: 43.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.4161, allocations: 91.04 MB / 0.6081 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4164, allocations: 95.73 kB / 0.6082 GB, free: 14.53 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5404:11-5405:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5412:11-5413:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.4294, allocations: 4.427 MB / 0.6125 GB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4294, allocations: 0 / 0.6125 GB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4295, allocations: 0 / 0.6125 GB, free: 10.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000463/0.4299, allocations: 448.2 kB / 0.613 GB, free: 9.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.43, allocations: 8.031 kB / 0.613 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.4307, allocations: 103.7 kB / 0.6131 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4309, allocations: 218.7 kB / 0.6133 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.431, allocations: 16 kB / 0.6133 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.431, allocations: 15.94 kB / 0.6133 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.4314, allocations: 230.5 kB / 0.6135 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4314, allocations: 0 / 0.6135 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4314, allocations: 4 kB / 0.6135 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.4315, allocations: 15.98 kB / 0.6135 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.4319, allocations: 232.8 kB / 0.6138 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.433, allocations: 0.7402 MB / 0.6145 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4332, allocations: 95.56 kB / 0.6146 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4332, allocations: 4 kB / 0.6146 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4332, allocations: 38.56 kB / 0.6146 GB, free: 7.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4332, allocations: 0 / 0.6146 GB, free: 7.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004743/0.4337, allocations: 181.6 kB / 0.6148 GB, free: 7.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4338, allocations: 55.39 kB / 0.6148 GB, free: 7.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4339, allocations: 162.5 kB / 0.615 GB, free: 7.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.434, allocations: 29.7 kB / 0.615 GB, free: 7.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.4341, allocations: 135.5 kB / 0.6151 GB, free: 7.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.4341, allocations: 31.58 kB / 0.6152 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.4341, allocations: 4 kB / 0.6152 GB, free: 7.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4342, allocations: 322.8 kB / 0.6155 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4344, allocations: 55.89 kB / 0.6155 GB, free: 6.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4346, allocations: 110.8 kB / 0.6157 GB, free: 6.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4347, allocations: 59.95 kB / 0.6157 GB, free: 6.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4348, allocations: 0 / 0.6157 GB, free: 6.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003814/0.4351, allocations: 201.2 kB / 0.6159 GB, free: 6.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4352, allocations: 4 kB / 0.6159 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4352, allocations: 7.984 kB / 0.6159 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4352, allocations: 8.219 kB / 0.6159 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.4361, allocations: 111.8 kB / 0.616 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4374, allocations: 1.809 MB / 0.6178 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4376, allocations: 35.95 kB / 0.6178 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.4376, allocations: 8 kB / 0.6178 GB, free: 4.336 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.0001169/0.4377, allocations: 149.7 kB / 0.618 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4378, allocations: 15.86 kB / 0.618 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.4382, allocations: 192.5 kB / 0.6182 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4382, allocations: 0 / 0.6182 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4382, allocations: 3.984 kB / 0.6182 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4382, allocations: 4 kB / 0.6182 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4385, allocations: 229.5 kB / 0.6184 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4385, allocations: 0 / 0.6184 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/0.4392, allocations: 95.88 kB / 0.6185 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4392, allocations: 0 / 0.6185 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4392, allocations: 7.891 kB / 0.6185 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/0.4402, allocations: 1.778 MB / 0.6202 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4402, allocations: 4.062 kB / 0.6202 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.4406, allocations: 239.4 kB / 0.6205 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.4406, allocations: 88.92 kB / 0.6206 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4407, allocations: 15.94 kB / 0.6206 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4408, allocations: 11.88 kB / 0.6206 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.4409, allocations: 11.98 kB / 0.6206 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4409, allocations: 4 kB / 0.6206 GB, free: 1.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.441, allocations: 142 kB / 0.6207 GB, free: 1.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.441, allocations: 0 / 0.6207 GB, free: 1.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.4413, allocations: 43.94 kB / 0.6208 GB, free: 1.16 MB / 426.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 (11): * Single equations (assignments): 8 * 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.0002011/0.4415, allocations: 145.8 kB / 0.6209 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.4426, allocations: 192.2 kB / 0.6211 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4426, allocations: 0 / 0.6211 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.4433, allocations: 115.8 kB / 0.6212 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.4435, allocations: 27.97 kB / 0.6212 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.4442, allocations: 408 kB / 0.6216 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4445, allocations: 0.7513 MB / 0.6224 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.4447, allocations: 33.39 kB / 0.6224 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.4447, allocations: 15.44 kB / 0.6224 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4447, allocations: 0 / 0.6224 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Templates: time 0.005851/0.4506, allocations: 3.055 MB / 0.6254 GB, free: 12.46 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches