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_pressureLossCoefficient_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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 176.7 kB / 16.76 MB, free: 5.047 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.36/1.36, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007969/0.000797, allocations: 82.42 kB / 271.3 MB, free: 8.254 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.3859/0.3859, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003972, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4646, allocations: 88.91 MB / 0.5668 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.465, allocations: 95.92 kB / 0.5669 GB, free: 12.98 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489: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 3.2.3+maint.om/Fluid/Dissipation.mo:5496:11-5497: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.01311/0.4781, allocations: 4.277 MB / 0.5711 GB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4782, allocations: 0 / 0.5711 GB, free: 8.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4782, allocations: 2.906 kB / 0.5711 GB, free: 8.734 MB / 394.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.000583/0.4788, allocations: 438.6 kB / 0.5715 GB, free: 8.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4788, allocations: 16.03 kB / 0.5715 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/0.4795, allocations: 100.6 kB / 0.5716 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.4798, allocations: 220.1 kB / 0.5718 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4799, allocations: 13.84 kB / 0.5718 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4799, allocations: 16.38 kB / 0.5718 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.4804, allocations: 234.8 kB / 0.5721 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4804, allocations: 192 / 0.5721 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4804, allocations: 11.94 kB / 0.5721 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.4804, allocations: 11.78 kB / 0.5721 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.4809, allocations: 239.8 kB / 0.5723 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.4821, allocations: 0.7395 MB / 0.573 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.4823, allocations: 94.44 kB / 0.5731 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.4825, allocations: 48.83 kB / 0.5732 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4825, allocations: 8 kB / 0.5732 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4825, allocations: 34.55 kB / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4825, allocations: 0 / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005111/0.483, allocations: 181.6 kB / 0.5734 GB, free: 6.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4831, allocations: 59.34 kB / 0.5735 GB, free: 6.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.4833, allocations: 185.5 kB / 0.5736 GB, free: 5.895 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4833, allocations: 29.7 kB / 0.5737 GB, free: 5.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.4834, allocations: 139.6 kB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.4835, allocations: 31.55 kB / 0.5738 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.4835, allocations: 4 kB / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4836, allocations: 322.8 kB / 0.5741 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4838, allocations: 51.95 kB / 0.5742 GB, free: 5.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4839, allocations: 108.8 kB / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.4843, allocations: 167.3 kB / 0.5744 GB, free: 4.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4843, allocations: 0 / 0.5744 GB, free: 4.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003884/0.4847, allocations: 190.3 kB / 0.5746 GB, free: 4.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4847, allocations: 8 kB / 0.5746 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4847, allocations: 0 / 0.5746 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4847, allocations: 4 kB / 0.5746 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009113/0.4856, allocations: 117.1 kB / 0.5748 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4872, allocations: 1.832 MB / 0.5765 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.4874, allocations: 19.84 kB / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4875, allocations: 11.98 kB / 0.5766 GB, free: 2.742 MB / 394.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.0001455/0.4876, allocations: 141.9 kB / 0.5767 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4877, allocations: 11.91 kB / 0.5767 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.4881, allocations: 197.6 kB / 0.5769 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4881, allocations: 4 kB / 0.5769 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4882, allocations: 0 / 0.5769 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4882, allocations: 0 / 0.5769 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.4884, allocations: 233.5 kB / 0.5771 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4885, allocations: 3.125 kB / 0.5771 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.4891, allocations: 91.89 kB / 0.5772 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4891, allocations: 4 kB / 0.5772 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4891, allocations: 7.938 kB / 0.5772 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.4904, allocations: 1.774 MB / 0.579 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4904, allocations: 3.984 kB / 0.579 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.4908, allocations: 251.6 kB / 0.5792 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.4909, allocations: 96.84 kB / 0.5793 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.491, allocations: 4 kB / 0.5793 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.4911, allocations: 11.98 kB / 0.5793 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.4912, allocations: 8 kB / 0.5793 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4912, allocations: 7.984 kB / 0.5793 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4914, allocations: 140.9 kB / 0.5795 GB, free: 15.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4914, allocations: 3.938 kB / 0.5795 GB, free: 15.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.4917, allocations: 47.84 kB / 0.5795 GB, free: 15.56 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 (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.0003111/0.4921, allocations: 141.7 kB / 0.5797 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.4935, allocations: 249.9 kB / 0.5799 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4936, allocations: 0 / 0.5799 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.4942, allocations: 115.8 kB / 0.58 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.4946, allocations: 44.88 kB / 0.58 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.4953, allocations: 394.1 kB / 0.5804 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.4957, allocations: 0.7474 MB / 0.5811 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.4959, allocations: 37.38 kB / 0.5812 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.4959, allocations: 15.44 kB / 0.5812 GB, free: 13.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4959, allocations: 0 / 0.5812 GB, free: 13.8 MB / 410.7 MB Notification: Performance of Templates: time 0.006836/0.5028, allocations: 3.08 MB / 0.5842 GB, free: 10.78 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches