Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001751/0.001751, allocations: 194.9 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008893/0.0008893, allocations: 95.2 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.785e-06, allocations: 4 kB / 452.6 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 63.25 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.5007, allocations: 96.53 MB / 0.5981 GB, free: 6.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.501, allocations: 102.1 kB / 0.5982 GB, free: 6.309 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.03708/0.5381, allocations: 11.1 MB / 0.609 GB, free: 12.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5381, allocations: 4 kB / 0.609 GB, free: 12.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001101/0.5393, allocations: 0.5936 MB / 0.6096 GB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5393, allocations: 8.031 kB / 0.6096 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.5394, allocations: 27.62 kB / 0.6096 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5398, allocations: 241.8 kB / 0.6099 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5398, allocations: 8 kB / 0.6099 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.5399, allocations: 19.91 kB / 0.6099 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006033/0.5405, allocations: 425 kB / 0.6103 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.541, allocations: 400.8 kB / 0.6107 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5411, allocations: 3.938 kB / 0.6107 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.5411, allocations: 0 / 0.6107 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.5412, allocations: 42.75 kB / 0.6107 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.5432, allocations: 1.285 MB / 0.612 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.5437, allocations: 259.5 kB / 0.6122 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.5439, allocations: 83.31 kB / 0.6123 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.5439, allocations: 15.5 kB / 0.6123 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.544, allocations: 38.56 kB / 0.6123 GB, free: 9.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/0.544, allocations: 0 / 0.6123 GB, free: 9.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004947/0.5445, allocations: 215.9 kB / 0.6126 GB, free: 9.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5445, allocations: 59.34 kB / 0.6126 GB, free: 9.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5447, allocations: 118.5 kB / 0.6127 GB, free: 9.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.5447, allocations: 25.7 kB / 0.6127 GB, free: 9.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5449, allocations: 202.3 kB / 0.6129 GB, free: 9.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.545, allocations: 85.12 kB / 0.613 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.545, allocations: 4 kB / 0.613 GB, free: 9.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5451, allocations: 322.7 kB / 0.6133 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5453, allocations: 70.72 kB / 0.6134 GB, free: 8.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.5455, allocations: 154.2 kB / 0.6135 GB, free: 8.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.5456, allocations: 106.2 kB / 0.6136 GB, free: 8.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5457, allocations: 4 kB / 0.6137 GB, free: 8.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004533/0.5461, allocations: 268.2 kB / 0.6139 GB, free: 8.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5461, allocations: 7.984 kB / 0.6139 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5462, allocations: 4 kB / 0.6139 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5462, allocations: 7.906 kB / 0.6139 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.5468, allocations: 136 kB / 0.6141 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.5485, allocations: 2.377 MB / 0.6164 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5487, allocations: 35.95 kB / 0.6164 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.5488, allocations: 23.86 kB / 0.6164 GB, free: 5.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5489, allocations: 104.9 kB / 0.6165 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.5489, allocations: 15.81 kB / 0.6166 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/0.5498, allocations: 377.4 kB / 0.6169 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5498, allocations: 7.891 kB / 0.6169 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5498, allocations: 0 / 0.6169 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5498, allocations: 4 kB / 0.6169 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.5503, allocations: 273.6 kB / 0.6172 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5503, allocations: 0 / 0.6172 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.5508, allocations: 115.9 kB / 0.6173 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.5509, allocations: 0 / 0.6173 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.5509, allocations: 15.55 kB / 0.6173 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.5524, allocations: 2.38 MB / 0.6196 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5524, allocations: 3.938 kB / 0.6196 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004207/0.5529, allocations: 335.1 kB / 0.62 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.5529, allocations: 96.84 kB / 0.62 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.553, allocations: 0 / 0.62 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.5532, allocations: 8 kB / 0.6201 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.5533, allocations: 23.66 kB / 0.6201 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.5533, allocations: 19.98 kB / 0.6201 GB, free: 1.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.595e-05/0.5534, allocations: 98.39 kB / 0.6202 GB, free: 1.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008425/0.5543, allocations: 183.2 kB / 0.6204 GB, free: 1.492 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007346/0.555, allocations: 272.8 kB / 0.6206 GB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.5557, allocations: 259 kB / 0.6209 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5557, allocations: 0 / 0.6209 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.5562, allocations: 159.7 kB / 0.621 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.5564, allocations: 11.44 kB / 0.621 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/0.5573, allocations: 396.9 kB / 0.6214 GB, free: 476 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/0.5579, allocations: 0.8349 MB / 0.6222 GB, free: 15.61 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5579, allocations: 4 kB / 0.6222 GB, free: 15.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01093/0.5688, allocations: 4.865 MB / 0.627 GB, free: 10.77 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches