Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 96.62 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3281/0.3281, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005041, allocations: 12 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3615, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.476, allocations: 91.24 MB / 0.5987 GB, free: 3.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4763, allocations: 99.67 kB / 0.5988 GB, free: 3.793 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.01023/0.4866, allocations: 3.606 MB / 0.6023 GB, free: 168 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4866, allocations: 4 kB / 0.6023 GB, free: 164 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4866, allocations: 0 / 0.6023 GB, free: 164 kB / 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.000487/0.4871, allocations: 402.9 kB / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4872, allocations: 8.031 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.4874, allocations: 43.86 kB / 0.6027 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4876, allocations: 186.9 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4876, allocations: 8 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4877, allocations: 19.94 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.4881, allocations: 169.2 kB / 0.6031 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4881, allocations: 7.938 kB / 0.6031 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4881, allocations: 7.984 kB / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4881, allocations: 11.98 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.4884, allocations: 139.8 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.4893, allocations: 0.6526 MB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.4896, allocations: 110.6 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.4896, allocations: 0 / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4897, allocations: 42.52 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.4897, allocations: 0 / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004158/0.4901, allocations: 149.7 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.4901, allocations: 59.39 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.4902, allocations: 122.4 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4903, allocations: 29.7 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.4903, allocations: 115.9 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.4904, allocations: 27.64 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.4904, allocations: 3.938 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.4905, allocations: 318.8 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4906, allocations: 43.95 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.4907, allocations: 99.7 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4909, allocations: 51.91 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4909, allocations: 4 kB / 0.605 GB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003173/0.4912, allocations: 165.3 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4912, allocations: 8.25 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4912, allocations: 7.953 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4913, allocations: 4 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4914, allocations: 39.97 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4914, allocations: 4 kB / 0.6052 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4916, allocations: 23.83 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4916, allocations: 11.94 kB / 0.6053 GB, free: 12.84 MB / 426.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 () * Number of clocked 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 8.536e-05/0.4917, allocations: 126.4 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.4917, allocations: 11.91 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.492, allocations: 133.9 kB / 0.6055 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4921, allocations: 7.953 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4921, allocations: 0 / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4921, allocations: 3.984 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4923, allocations: 197.6 kB / 0.6057 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4923, allocations: 0 / 0.6057 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4924, allocations: 31.97 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4924, allocations: 0 / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4924, allocations: 0 / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4924, allocations: 8 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4925, allocations: 7.891 kB / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.4928, allocations: 219.3 kB / 0.606 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.4928, allocations: 93 kB / 0.6061 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4928, allocations: 0 / 0.6061 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.4929, allocations: 8 kB / 0.6061 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.493, allocations: 11.94 kB / 0.6061 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.493, allocations: 4 kB / 0.6061 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.493, allocations: 92.02 kB / 0.6062 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.493, allocations: 0 / 0.6062 GB, free: 11.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.4933, allocations: 28 kB / 0.6062 GB, free: 11.78 MB / 426.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 (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.0001445/0.4934, allocations: 123.7 kB / 0.6063 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4937, allocations: 112.3 kB / 0.6064 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4937, allocations: 4 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4939, allocations: 47.95 kB / 0.6065 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.494, allocations: 7.984 kB / 0.6065 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.4945, allocations: 305.1 kB / 0.6068 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4947, allocations: 0.7121 MB / 0.6075 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.738e-05/0.4948, allocations: 28.53 kB / 0.6075 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.4949, allocations: 15.44 kB / 0.6075 GB, free: 10.36 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4949, allocations: 0 / 0.6075 GB, free: 10.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003022/0.4979, allocations: 1.064 MB / 0.6086 GB, free: 9.336 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches