Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001455/0.001455, allocations: 196.8 kB / 8.54 MB, free: 1.738 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008454/0.0008454, allocations: 89.84 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.644e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 63.25 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4941, allocations: 91.48 MB / 0.5931 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4944, allocations: 106.8 kB / 0.5932 GB, free: 11.59 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd: time 0.01057/0.505, allocations: 3.312 MB / 0.5965 GB, free: 8.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.505, allocations: 4 kB / 0.5965 GB, free: 8.82 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005802/0.5056, allocations: 400.8 kB / 0.5968 GB, free: 8.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5057, allocations: 8.031 kB / 0.5969 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.506, allocations: 36.8 kB / 0.5969 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.5063, allocations: 194.3 kB / 0.5971 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5063, allocations: 4 kB / 0.5971 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.5064, allocations: 11.98 kB / 0.5971 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002424/0.5066, allocations: 93.64 kB / 0.5972 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5069, allocations: 147.9 kB / 0.5973 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5069, allocations: 4 kB / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.5069, allocations: 0 / 0.5973 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.5069, allocations: 15.92 kB / 0.5973 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009891/0.5079, allocations: 0.6218 MB / 0.5979 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.5082, allocations: 95.02 kB / 0.598 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.5083, allocations: 32.31 kB / 0.5981 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5083, allocations: 4 kB / 0.5981 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5084, allocations: 34.38 kB / 0.5981 GB, free: 7.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5084, allocations: 0 / 0.5981 GB, free: 7.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002285/0.5086, allocations: 80.77 kB / 0.5982 GB, free: 7.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5086, allocations: 51.41 kB / 0.5982 GB, free: 6.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5088, allocations: 113.6 kB / 0.5983 GB, free: 6.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5088, allocations: 29.7 kB / 0.5984 GB, free: 6.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.5089, allocations: 119.2 kB / 0.5985 GB, free: 6.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.5089, allocations: 23.22 kB / 0.5985 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5089, allocations: 0 / 0.5985 GB, free: 6.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.509, allocations: 318.6 kB / 0.5988 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.5091, allocations: 23.86 kB / 0.5988 GB, free: 6.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.5092, allocations: 84.7 kB / 0.5989 GB, free: 6.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.5092, allocations: 35.23 kB / 0.5989 GB, free: 6.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5093, allocations: 0 / 0.5989 GB, free: 6.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002125/0.5095, allocations: 124.6 kB / 0.5991 GB, free: 6.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5095, allocations: 4 kB / 0.5991 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5095, allocations: 4 kB / 0.5991 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5095, allocations: 0 / 0.5991 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.5097, allocations: 52.16 kB / 0.5991 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5097, allocations: 0.9375 kB / 0.5991 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5099, allocations: 23.83 kB / 0.5991 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5099, allocations: 4 kB / 0.5991 GB, free: 5.988 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/0.51, allocations: 116.1 kB / 0.5993 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.51, allocations: 7.906 kB / 0.5993 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.5102, allocations: 99.95 kB / 0.5994 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5102, allocations: 0 / 0.5994 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5103, allocations: 0 / 0.5994 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5103, allocations: 4 kB / 0.5994 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.5105, allocations: 168.7 kB / 0.5995 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5105, allocations: 8 kB / 0.5995 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.5107, allocations: 35.92 kB / 0.5996 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5107, allocations: 0 / 0.5996 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5107, allocations: 0 / 0.5996 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5107, allocations: 3.984 kB / 0.5996 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5107, allocations: 0 / 0.5996 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001954/0.5109, allocations: 182.3 kB / 0.5997 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.511, allocations: 85.02 kB / 0.5998 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.511, allocations: 4 kB / 0.5998 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5111, allocations: 15.92 kB / 0.5998 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.5112, allocations: 3.062 kB / 0.5999 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5112, allocations: 11.89 kB / 0.5999 GB, free: 5.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.767e-05/0.5113, allocations: 91.22 kB / 0.5999 GB, free: 5.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.5115, allocations: 20 kB / 0.6 GB, free: 5.102 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001979/0.5117, allocations: 134.7 kB / 0.6001 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.5119, allocations: 66.41 kB / 0.6002 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.5119, allocations: 0 / 0.6002 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.512, allocations: 30.8 kB / 0.6002 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.5122, allocations: 3.438 kB / 0.6002 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.5126, allocations: 146.5 kB / 0.6003 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.513, allocations: 0.7309 MB / 0.601 GB, free: 3.973 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.513, allocations: 0 / 0.601 GB, free: 3.973 MB / 394.7 MB Notification: Performance of Templates: time 0.003762/0.5168, allocations: 1.108 MB / 0.6021 GB, free: 2.906 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches