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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 198.8 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009537/0.0009536, allocations: 89.94 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1969/0.1969, allocations: 45.14 MB / 383.4 MB, free: 472 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.49e-06, allocations: 0 / 452.6 MB, free: 76.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09758, allocations: 63.24 MB / 0.5038 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.3872, allocations: 90.22 MB / 0.5919 GB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.3875, allocations: 94.56 kB / 0.592 GB, free: 12.36 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: time 0.01291/0.4004, allocations: 4.075 MB / 0.596 GB, free: 8.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4005, allocations: 4 kB / 0.596 GB, free: 8.953 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.0004875/0.401, allocations: 432.4 kB / 0.5964 GB, free: 8.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.401, allocations: 12.02 kB / 0.5964 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.4017, allocations: 102.7 kB / 0.5965 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.402, allocations: 215.2 kB / 0.5967 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.402, allocations: 7.906 kB / 0.5967 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.402, allocations: 8 kB / 0.5967 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003378/0.4024, allocations: 210.1 kB / 0.5969 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.4027, allocations: 203.6 kB / 0.5971 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4027, allocations: 3.938 kB / 0.5971 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4027, allocations: 4 kB / 0.5971 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.4027, allocations: 11.25 kB / 0.5971 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4038, allocations: 0.6916 MB / 0.5978 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.404, allocations: 78.62 kB / 0.5979 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.4041, allocations: 36.33 kB / 0.5979 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4041, allocations: 0 / 0.5979 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4041, allocations: 34.5 kB / 0.598 GB, free: 6.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4041, allocations: 4 kB / 0.598 GB, free: 6.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002634/0.4044, allocations: 108.8 kB / 0.5981 GB, free: 6.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4044, allocations: 51.41 kB / 0.5981 GB, free: 6.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4045, allocations: 120.7 kB / 0.5982 GB, free: 6.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4046, allocations: 25.7 kB / 0.5982 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.4047, allocations: 139.1 kB / 0.5984 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4047, allocations: 27.08 kB / 0.5984 GB, free: 6.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.4047, allocations: 0 / 0.5984 GB, free: 6.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4048, allocations: 326.6 kB / 0.5987 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.4049, allocations: 30.23 kB / 0.5987 GB, free: 6.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.405, allocations: 87.41 kB / 0.5988 GB, free: 6.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.4051, allocations: 58.52 kB / 0.5989 GB, free: 5.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4051, allocations: 4 kB / 0.5989 GB, free: 5.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002298/0.4053, allocations: 142 kB / 0.599 GB, free: 5.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4054, allocations: 4 kB / 0.599 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4054, allocations: 4 kB / 0.599 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4054, allocations: 4.219 kB / 0.599 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.4063, allocations: 111.2 kB / 0.5991 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4078, allocations: 1.854 MB / 0.601 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.408, allocations: 19.83 kB / 0.601 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.408, allocations: 11.94 kB / 0.601 GB, free: 3.758 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 8.255e-05/0.4081, allocations: 108.9 kB / 0.6011 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4082, allocations: 12 kB / 0.6011 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.4085, allocations: 152.5 kB / 0.6012 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4085, allocations: 4 kB / 0.6012 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4085, allocations: 0 / 0.6012 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4085, allocations: 3.984 kB / 0.6013 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.4088, allocations: 199.6 kB / 0.6014 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4088, allocations: 4 kB / 0.6014 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.4095, allocations: 91.89 kB / 0.6015 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4095, allocations: 0 / 0.6015 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4096, allocations: 7.984 kB / 0.6015 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.4106, allocations: 1.792 MB / 0.6033 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4106, allocations: 288 / 0.6033 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002037/0.4108, allocations: 221.1 kB / 0.6035 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.4109, allocations: 89 kB / 0.6036 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4109, allocations: 0 / 0.6036 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.4111, allocations: 11.98 kB / 0.6036 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.4111, allocations: 4 kB / 0.6036 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4111, allocations: 8 kB / 0.6036 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.545e-05/0.4112, allocations: 101 kB / 0.6037 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.4115, allocations: 55.11 kB / 0.6038 GB, free: 0.832 MB / 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.0002545/0.4118, allocations: 129.3 kB / 0.6039 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.413, allocations: 176 kB / 0.604 GB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.413, allocations: 0 / 0.604 GB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.4138, allocations: 110.6 kB / 0.6042 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.414, allocations: 8.656 kB / 0.6042 GB, free: 444 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.4146, allocations: 228.9 kB / 0.6044 GB, free: 200 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.415, allocations: 0.7615 MB / 0.6051 GB, free: 15.41 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.415, allocations: 0 / 0.6051 GB, free: 15.41 MB / 410.7 MB Notification: Performance of Templates: time 0.005608/0.4206, allocations: 2.369 MB / 0.6074 GB, free: 13.1 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