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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008089/0.0008089, allocations: 85.52 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1842/0.1842, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.327e-05, allocations: 0 / 460.4 MB, free: 69.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 63.24 MB / 0.5114 GB, free: 6.754 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.471, allocations: 92.23 MB / 0.6015 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4712, allocations: 100.9 kB / 0.6015 GB, free: 1.652 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 - DAE generated: time 0.0103/0.4815, allocations: 3.656 MB / 0.6051 GB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4815, allocations: 4 kB / 0.6051 GB, free: 14.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4816, allocations: 3.938 kB / 0.6051 GB, free: 14.49 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004282/0.482, allocations: 394.7 kB / 0.6055 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.482, allocations: 15.91 kB / 0.6055 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.4823, allocations: 35.5 kB / 0.6056 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4825, allocations: 194.9 kB / 0.6057 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4825, allocations: 11.12 kB / 0.6057 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.4825, allocations: 15.42 kB / 0.6058 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.4828, allocations: 158.2 kB / 0.6059 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4828, allocations: 0 / 0.6059 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4829, allocations: 7.734 kB / 0.6059 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.4829, allocations: 11.98 kB / 0.6059 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.4831, allocations: 109.7 kB / 0.606 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.4839, allocations: 0.6474 MB / 0.6067 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.4842, allocations: 103.1 kB / 0.6068 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.4842, allocations: 28.34 kB / 0.6068 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4842, allocations: 0 / 0.6068 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4843, allocations: 38.56 kB / 0.6068 GB, free: 12.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4843, allocations: 0 / 0.6068 GB, free: 12.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001837/0.4845, allocations: 80.64 kB / 0.6069 GB, free: 12.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4845, allocations: 51.41 kB / 0.607 GB, free: 12.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.4846, allocations: 122.6 kB / 0.6071 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4846, allocations: 25.7 kB / 0.6071 GB, free: 12.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.4847, allocations: 119.6 kB / 0.6072 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.4847, allocations: 27.61 kB / 0.6072 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4848, allocations: 8 kB / 0.6072 GB, free: 12.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.4849, allocations: 322 kB / 0.6076 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.4849, allocations: 27.05 kB / 0.6076 GB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.485, allocations: 74.97 kB / 0.6076 GB, free: 11.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.4851, allocations: 39.42 kB / 0.6077 GB, free: 11.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4851, allocations: 4 kB / 0.6077 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001859/0.4853, allocations: 135.9 kB / 0.6078 GB, free: 11.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4853, allocations: 4 kB / 0.6078 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4853, allocations: 7.938 kB / 0.6078 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4853, allocations: 4 kB / 0.6078 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4855, allocations: 35.98 kB / 0.6079 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4855, allocations: 7.922 kB / 0.6079 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.4856, allocations: 27.53 kB / 0.6079 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4857, allocations: 4 kB / 0.6079 GB, free: 11.57 MB / 410.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 6.175e-05/0.4857, allocations: 112.4 kB / 0.608 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.4858, allocations: 11.89 kB / 0.608 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.4859, allocations: 98.97 kB / 0.6081 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.486, allocations: 7.938 kB / 0.6081 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.486, allocations: 0 / 0.6081 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.486, allocations: 4 kB / 0.6081 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.4862, allocations: 207.5 kB / 0.6083 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4862, allocations: 0 / 0.6083 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4863, allocations: 27.98 kB / 0.6084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4864, allocations: 0 / 0.6084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4864, allocations: 0 / 0.6084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4864, allocations: 0 / 0.6084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4864, allocations: 0 / 0.6084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.4866, allocations: 193.8 kB / 0.6085 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.4866, allocations: 84.97 kB / 0.6086 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4866, allocations: 4 kB / 0.6086 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.4867, allocations: 15.48 kB / 0.6086 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4868, allocations: 4 kB / 0.6086 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4868, allocations: 0 / 0.6086 GB, free: 10.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.4868, allocations: 97.7 kB / 0.6087 GB, free: 10.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4869, allocations: 4 kB / 0.6087 GB, free: 10.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.4871, allocations: 26.5 kB / 0.6088 GB, free: 10.66 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 (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.000146/0.4872, allocations: 127.3 kB / 0.6089 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.4874, allocations: 72.73 kB / 0.609 GB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4874, allocations: 0 / 0.609 GB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.4875, allocations: 31.48 kB / 0.609 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.4876, allocations: 7.5 kB / 0.609 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.4879, allocations: 148.1 kB / 0.6091 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4882, allocations: 0.7121 MB / 0.6098 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.4883, allocations: 32.52 kB / 0.6099 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.4884, allocations: 11.44 kB / 0.6099 GB, free: 9.508 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4884, allocations: 0 / 0.6099 GB, free: 9.508 MB / 410.7 MB Notification: Performance of Templates: time 0.003366/0.4917, allocations: 1.11 MB / 0.611 GB, free: 8.434 MB / 410.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