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.0009968/0.0009971, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007767/0.0007769, allocations: 94.41 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3742/0.3742, allocations: 44.82 MB / 394.3 MB, free: 35.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 62.95 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.464, allocations: 90.9 MB / 0.6072 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4643, allocations: 99.91 kB / 0.6073 GB, free: 14.34 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.01292/0.4772, allocations: 4.413 MB / 0.6116 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4772, allocations: 0 / 0.6116 GB, free: 9.922 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4773, allocations: 4 kB / 0.6116 GB, free: 9.918 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.0004709/0.4777, allocations: 442.9 kB / 0.612 GB, free: 9.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4778, allocations: 12.03 kB / 0.6121 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.4784, allocations: 104.6 kB / 0.6122 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4787, allocations: 212.1 kB / 0.6124 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4787, allocations: 12.38 kB / 0.6124 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4787, allocations: 12.38 kB / 0.6124 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.4792, allocations: 246.3 kB / 0.6126 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4792, allocations: 4.172 kB / 0.6126 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.4792, allocations: 11.92 kB / 0.6126 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.4792, allocations: 12 kB / 0.6126 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.4797, allocations: 231.8 kB / 0.6129 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4807, allocations: 0.7401 MB / 0.6136 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.4809, allocations: 91.67 kB / 0.6137 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4811, allocations: 52.81 kB / 0.6137 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4811, allocations: 4.141 kB / 0.6137 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4811, allocations: 38.5 kB / 0.6138 GB, free: 7.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4811, allocations: 0 / 0.6138 GB, free: 7.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004683/0.4816, allocations: 181.5 kB / 0.6139 GB, free: 7.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4816, allocations: 55.34 kB / 0.614 GB, free: 7.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.4818, allocations: 187.3 kB / 0.6142 GB, free: 7.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4818, allocations: 25.7 kB / 0.6142 GB, free: 7.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.4819, allocations: 139.5 kB / 0.6143 GB, free: 6.902 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.4819, allocations: 23.66 kB / 0.6144 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.482, allocations: 3.938 kB / 0.6144 GB, free: 6.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.4821, allocations: 322.8 kB / 0.6147 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4822, allocations: 59.94 kB / 0.6147 GB, free: 6.492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4823, allocations: 109.9 kB / 0.6148 GB, free: 6.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.4826, allocations: 175 kB / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4827, allocations: 0 / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003571/0.483, allocations: 197.2 kB / 0.6152 GB, free: 5.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.483, allocations: 4 kB / 0.6152 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4831, allocations: 4 kB / 0.6152 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4831, allocations: 4 kB / 0.6152 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.4839, allocations: 116 kB / 0.6153 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.4855, allocations: 1.828 MB / 0.6171 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4857, allocations: 27.86 kB / 0.6171 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4857, allocations: 8 kB / 0.6171 GB, free: 3.91 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.0001208/0.4859, allocations: 145.8 kB / 0.6173 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4859, allocations: 11.91 kB / 0.6173 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.4864, allocations: 190.8 kB / 0.6175 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4864, allocations: 7.922 kB / 0.6175 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4864, allocations: 0 / 0.6175 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4864, allocations: 4 kB / 0.6175 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.4866, allocations: 221.6 kB / 0.6177 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4867, allocations: 4 kB / 0.6177 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.4873, allocations: 103.8 kB / 0.6178 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4874, allocations: 0 / 0.6178 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4874, allocations: 7.938 kB / 0.6178 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009764/0.4884, allocations: 1.77 MB / 0.6195 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4884, allocations: 0 / 0.6195 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4887, allocations: 247.6 kB / 0.6198 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4888, allocations: 96.84 kB / 0.6198 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4888, allocations: 4 kB / 0.6198 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.489, allocations: 8 kB / 0.6199 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.489, allocations: 11.92 kB / 0.6199 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4891, allocations: 11.94 kB / 0.6199 GB, free: 0.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.4892, allocations: 142 kB / 0.62 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4892, allocations: 0 / 0.62 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000319/0.4895, allocations: 47.84 kB / 0.6201 GB, free: 0.7344 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.0002478/0.4898, allocations: 145.3 kB / 0.6202 GB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.4913, allocations: 240.1 kB / 0.6204 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4913, allocations: 4 kB / 0.6204 GB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.4919, allocations: 111.8 kB / 0.6205 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4924, allocations: 39.91 kB / 0.6206 GB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.4931, allocations: 392.2 kB / 0.6209 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4935, allocations: 0.7436 MB / 0.6217 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.4937, allocations: 33.41 kB / 0.6217 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.4937, allocations: 15.44 kB / 0.6217 GB, free: 14.97 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4937, allocations: 0 / 0.6217 GB, free: 14.97 MB / 442.7 MB Notification: Performance of Templates: time 0.008375/0.5021, allocations: 3.099 MB / 0.6247 GB, free: 11.93 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/jenkins1/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