Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 195 kB / 16.78 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.1 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007279/0.0007279, allocations: 98.81 kB / 296.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2849/0.2849, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002699, allocations: 8 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4261, allocations: 104.7 MB / 0.6187 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4264, allocations: 99.94 kB / 0.6188 GB, free: 0.5703 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6010:11-6013: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:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6024:11-6027: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.05151/0.4779, allocations: 18.12 MB / 0.6365 GB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.478, allocations: 0 / 0.6365 GB, free: 14.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.478, allocations: 4 kB / 0.6365 GB, free: 14.33 MB / 458.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.001029/0.479, allocations: 0.6395 MB / 0.6371 GB, free: 13.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4791, allocations: 12.03 kB / 0.6371 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.4791, allocations: 32.56 kB / 0.6372 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4794, allocations: 239.9 kB / 0.6374 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.4794, allocations: 21.03 kB / 0.6374 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.4795, allocations: 32.36 kB / 0.6375 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.4801, allocations: 472.4 kB / 0.6379 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4802, allocations: 192 / 0.6379 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.4802, allocations: 15.94 kB / 0.6379 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/0.4803, allocations: 36.98 kB / 0.638 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.4811, allocations: 0.5543 MB / 0.6385 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.4829, allocations: 1.321 MB / 0.6398 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.4833, allocations: 278.4 kB / 0.6401 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.4836, allocations: 108.8 kB / 0.6402 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.4836, allocations: 4.391 kB / 0.6402 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.4836, allocations: 38.56 kB / 0.6402 GB, free: 10.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.4836, allocations: 0 / 0.6402 GB, free: 10.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007021/0.4844, allocations: 342.1 kB / 0.6405 GB, free: 9.973 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4844, allocations: 55.41 kB / 0.6406 GB, free: 9.906 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4845, allocations: 135.7 kB / 0.6407 GB, free: 9.762 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4845, allocations: 33.7 kB / 0.6407 GB, free: 9.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.4846, allocations: 199.7 kB / 0.6409 GB, free: 9.523 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.4847, allocations: 90.69 kB / 0.641 GB, free: 9.434 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.4847, allocations: 8 kB / 0.641 GB, free: 9.426 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.4848, allocations: 330.8 kB / 0.6413 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.485, allocations: 87.92 kB / 0.6414 GB, free: 9.008 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.4853, allocations: 181.7 kB / 0.6416 GB, free: 8.797 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.4857, allocations: 311.8 kB / 0.6419 GB, free: 8.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4858, allocations: 4 kB / 0.6419 GB, free: 8.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000544/0.4863, allocations: 325 kB / 0.6422 GB, free: 8.129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4863, allocations: 4.344 kB / 0.6422 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4864, allocations: 8 kB / 0.6422 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4864, allocations: 4 kB / 0.6422 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.4868, allocations: 119.9 kB / 0.6423 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.4879, allocations: 2.364 MB / 0.6446 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4881, allocations: 35.95 kB / 0.6447 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.4881, allocations: 23.98 kB / 0.6447 GB, free: 5.48 MB / 458.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.0001865/0.4883, allocations: 169.7 kB / 0.6449 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.4883, allocations: 19.75 kB / 0.6449 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.4891, allocations: 372.1 kB / 0.6452 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4891, allocations: 4 kB / 0.6452 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4891, allocations: 7.938 kB / 0.6452 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4891, allocations: 3.984 kB / 0.6452 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.4895, allocations: 341.2 kB / 0.6456 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4895, allocations: 0 / 0.6456 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.4899, allocations: 111.9 kB / 0.6457 GB, free: 4.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.49, allocations: 4 kB / 0.6457 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.49, allocations: 11.98 kB / 0.6457 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009939/0.491, allocations: 2.356 MB / 0.648 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.491, allocations: 0 / 0.648 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.4915, allocations: 387.6 kB / 0.6484 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.4916, allocations: 92.86 kB / 0.6485 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.4916, allocations: 7.984 kB / 0.6485 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4918, allocations: 8 kB / 0.6485 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.4918, allocations: 27.91 kB / 0.6485 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.4919, allocations: 23.86 kB / 0.6485 GB, free: 1.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.4919, allocations: 101.4 kB / 0.6486 GB, free: 1.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4919, allocations: 0 / 0.6486 GB, free: 1.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000841/0.4928, allocations: 279.3 kB / 0.6489 GB, free: 1.004 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.0006896/0.4935, allocations: 413.8 kB / 0.6493 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007171/0.4942, allocations: 303.6 kB / 0.6496 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4942, allocations: 0 / 0.6496 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.4947, allocations: 192.4 kB / 0.6498 GB, free: 108 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4949, allocations: 12 kB / 0.6498 GB, free: 96 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.4959, allocations: 0.7341 MB / 0.6505 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.4962, allocations: 0.7987 MB / 0.6513 GB, free: 14.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.4963, allocations: 31.42 kB / 0.6513 GB, free: 14.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4963, allocations: 0 / 0.6513 GB, free: 14.48 MB / 474.7 MB Notification: Performance of Templates: time 0.0118/0.5081, allocations: 10.23 MB / 0.6613 GB, free: 4.258 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches