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.001259/0.00126, allocations: 202.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008682/0.0008682, allocations: 94.5 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.567e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09673, allocations: 63.25 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.46, allocations: 90.29 MB / 0.5926 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4603, allocations: 97.44 kB / 0.5927 GB, free: 12.21 MB / 394.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.01225/0.4726, allocations: 4.371 MB / 0.5969 GB, free: 8.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4726, allocations: 0 / 0.5969 GB, free: 8.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.4726, allocations: 0 / 0.5969 GB, free: 8.504 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.0004245/0.473, allocations: 435.9 kB / 0.5973 GB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4731, allocations: 8.031 kB / 0.5973 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.4738, allocations: 101.8 kB / 0.5974 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.474, allocations: 221.4 kB / 0.5977 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.474, allocations: 12 kB / 0.5977 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.474, allocations: 8 kB / 0.5977 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002951/0.4743, allocations: 195.8 kB / 0.5979 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.4746, allocations: 194.8 kB / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4746, allocations: 0 / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.4747, allocations: 0 / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.4747, allocations: 15.98 kB / 0.5981 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.4757, allocations: 0.6793 MB / 0.5987 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4758, allocations: 79.19 kB / 0.5988 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.4759, allocations: 33.77 kB / 0.5988 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4759, allocations: 8 kB / 0.5988 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4759, allocations: 34.5 kB / 0.5989 GB, free: 6.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4759, allocations: 0 / 0.5989 GB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.4762, allocations: 96.55 kB / 0.599 GB, free: 6.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4762, allocations: 51.41 kB / 0.599 GB, free: 6.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.4763, allocations: 124.9 kB / 0.5991 GB, free: 6.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4763, allocations: 29.7 kB / 0.5992 GB, free: 6.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.4764, allocations: 143.5 kB / 0.5993 GB, free: 6.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.4764, allocations: 23.59 kB / 0.5993 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.4765, allocations: 0 / 0.5993 GB, free: 6.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4766, allocations: 318.7 kB / 0.5996 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.4766, allocations: 35.73 kB / 0.5997 GB, free: 5.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.4767, allocations: 90.33 kB / 0.5997 GB, free: 5.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.4768, allocations: 51.97 kB / 0.5998 GB, free: 5.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4768, allocations: 0 / 0.5998 GB, free: 5.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002132/0.477, allocations: 145.2 kB / 0.5999 GB, free: 5.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4771, allocations: 7.953 kB / 0.5999 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4771, allocations: 4 kB / 0.5999 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4771, allocations: 4 kB / 0.5999 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.4779, allocations: 111.7 kB / 0.6001 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.4793, allocations: 1.823 MB / 0.6018 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4794, allocations: 19.83 kB / 0.6019 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4794, allocations: 11.88 kB / 0.6019 GB, free: 3.375 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 () * 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 9.156e-05/0.4795, allocations: 104.9 kB / 0.602 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.4796, allocations: 11.86 kB / 0.602 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4799, allocations: 149.3 kB / 0.6021 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4799, allocations: 4 kB / 0.6021 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4799, allocations: 0 / 0.6021 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4799, allocations: 0 / 0.6021 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4801, allocations: 197 kB / 0.6023 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4801, allocations: 4 kB / 0.6023 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/0.4808, allocations: 95.83 kB / 0.6024 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4808, allocations: 0 / 0.6024 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4808, allocations: 0 / 0.6024 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009421/0.4818, allocations: 1.788 MB / 0.6042 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4818, allocations: 3.938 kB / 0.6042 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.482, allocations: 202.8 kB / 0.6043 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.4821, allocations: 84.58 kB / 0.6044 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4821, allocations: 4 kB / 0.6044 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4822, allocations: 11.98 kB / 0.6044 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.4823, allocations: 7.953 kB / 0.6045 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4823, allocations: 4 kB / 0.6045 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.4824, allocations: 100.8 kB / 0.6046 GB, free: 0.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4824, allocations: 0 / 0.6046 GB, free: 0.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.4827, allocations: 55.77 kB / 0.6046 GB, free: 500 kB / 394.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 () * 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.0002107/0.4829, allocations: 127.9 kB / 0.6047 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.4838, allocations: 155.8 kB / 0.6049 GB, free: 220 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4838, allocations: 0 / 0.6049 GB, free: 220 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.4843, allocations: 91.02 kB / 0.605 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4846, allocations: 8.656 kB / 0.605 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.4851, allocations: 205 kB / 0.6052 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4854, allocations: 0.7425 MB / 0.6059 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.4855, allocations: 32.47 kB / 0.6059 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.4855, allocations: 11.44 kB / 0.6059 GB, free: 15.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4855, allocations: 0 / 0.6059 GB, free: 15.11 MB / 410.7 MB Notification: Performance of Templates: time 0.004932/0.4905, allocations: 2.301 MB / 0.6082 GB, free: 12.86 MB / 410.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