Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009686/0.0009686, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007429/0.0007429, allocations: 99.45 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3223/0.3223, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 11.98 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3847, allocations: 62.95 MB / 0.5165 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.5046, allocations: 97.23 MB / 0.6114 GB, free: 8.121 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5049, allocations: 103.9 kB / 0.6115 GB, free: 8.02 MB / 426.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 - DAE generated: time 0.03445/0.5393, allocations: 11.47 MB / 0.6227 GB, free: 12.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5394, allocations: 3.938 kB / 0.6228 GB, free: 12.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.5394, allocations: 4 kB / 0.6228 GB, free: 12.48 MB / 442.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.001122/0.5405, allocations: 0.5891 MB / 0.6233 GB, free: 11.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5406, allocations: 12.03 kB / 0.6233 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.5407, allocations: 28.56 kB / 0.6234 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.5411, allocations: 251.8 kB / 0.6236 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.5411, allocations: 25.02 kB / 0.6236 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.5412, allocations: 28.38 kB / 0.6237 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.542, allocations: 464.5 kB / 0.6241 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.542, allocations: 8.172 kB / 0.6241 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.542, allocations: 15.94 kB / 0.6241 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.5421, allocations: 32.98 kB / 0.6242 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.543, allocations: 0.5582 MB / 0.6247 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.545, allocations: 1.328 MB / 0.626 GB, free: 8.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.5456, allocations: 270.5 kB / 0.6263 GB, free: 8.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.5458, allocations: 112.7 kB / 0.6264 GB, free: 8.559 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.5459, allocations: 12.38 kB / 0.6264 GB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.5459, allocations: 34.56 kB / 0.6264 GB, free: 8.504 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.5459, allocations: 0 / 0.6264 GB, free: 8.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007599/0.5467, allocations: 343.3 kB / 0.6267 GB, free: 8.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.5467, allocations: 55.41 kB / 0.6268 GB, free: 8.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.5468, allocations: 136 kB / 0.6269 GB, free: 7.953 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.5469, allocations: 33.64 kB / 0.627 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.547, allocations: 195.8 kB / 0.6271 GB, free: 7.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.5471, allocations: 90.73 kB / 0.6272 GB, free: 7.629 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.5471, allocations: 8 kB / 0.6272 GB, free: 7.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5472, allocations: 326.8 kB / 0.6275 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5474, allocations: 87.92 kB / 0.6276 GB, free: 7.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.5477, allocations: 181.5 kB / 0.6278 GB, free: 6.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.5482, allocations: 306.7 kB / 0.6281 GB, free: 6.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5482, allocations: 4 kB / 0.6281 GB, free: 6.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005862/0.5488, allocations: 329 kB / 0.6284 GB, free: 6.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5488, allocations: 4 kB / 0.6284 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5488, allocations: 4.344 kB / 0.6284 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5488, allocations: 8 kB / 0.6284 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.5493, allocations: 119.9 kB / 0.6285 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.5506, allocations: 2.367 MB / 0.6309 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.5508, allocations: 31.69 kB / 0.6309 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.5509, allocations: 20.27 kB / 0.6309 GB, free: 3.684 MB / 442.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 () * Number of clocked 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.0001946/0.5511, allocations: 173.7 kB / 0.6311 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.5512, allocations: 23.73 kB / 0.6311 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007917/0.552, allocations: 372.1 kB / 0.6314 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.552, allocations: 4 kB / 0.6314 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.552, allocations: 3.984 kB / 0.6315 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.552, allocations: 0 / 0.6315 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.5524, allocations: 337.4 kB / 0.6318 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5524, allocations: 0 / 0.6318 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.5529, allocations: 115.8 kB / 0.6319 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5529, allocations: 0 / 0.6319 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.5529, allocations: 19.92 kB / 0.6319 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.5541, allocations: 2.356 MB / 0.6342 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5541, allocations: 0 / 0.6342 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.5547, allocations: 387.6 kB / 0.6346 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.5548, allocations: 96.84 kB / 0.6347 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.5548, allocations: 4 kB / 0.6347 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.555, allocations: 16 kB / 0.6347 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.555, allocations: 23.97 kB / 0.6347 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.5551, allocations: 19.92 kB / 0.6347 GB, free: 15.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.5551, allocations: 101.1 kB / 0.6348 GB, free: 15.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5551, allocations: 0 / 0.6348 GB, free: 15.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.5558, allocations: 187.5 kB / 0.635 GB, free: 15.29 MB / 458.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 (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.0006039/0.5564, allocations: 274.8 kB / 0.6353 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.5572, allocations: 308.3 kB / 0.6356 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5572, allocations: 4 kB / 0.6356 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.5576, allocations: 179.8 kB / 0.6357 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.5579, allocations: 16 kB / 0.6358 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5591, allocations: 0.7384 MB / 0.6365 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5594, allocations: 0.7913 MB / 0.6372 GB, free: 12.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.5595, allocations: 35.42 kB / 0.6373 GB, free: 12.89 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5596, allocations: 0 / 0.6373 GB, free: 12.89 MB / 458.7 MB Notification: Performance of Templates: time 0.01315/0.5727, allocations: 9.028 MB / 0.6461 GB, free: 3.871 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches