Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 174.8 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008143/0.0008142, allocations: 93.41 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3494/0.3494, allocations: 43.55 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 12 kB / 432.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4885, allocations: 90.15 MB / 0.568 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4888, allocations: 100.6 kB / 0.5681 GB, free: 11.58 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971: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 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976: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 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982: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 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987: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.01034/0.4992, allocations: 3.532 MB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4992, allocations: 0 / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4992, allocations: 0 / 0.5716 GB, free: 8.074 MB / 394.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.0005779/0.4998, allocations: 402.9 kB / 0.5719 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4999, allocations: 8.031 kB / 0.5719 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.5002, allocations: 37.86 kB / 0.572 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.5004, allocations: 196.1 kB / 0.5722 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5005, allocations: 4.375 kB / 0.5722 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.5005, allocations: 20.36 kB / 0.5722 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.5009, allocations: 183.7 kB / 0.5724 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5009, allocations: 192 / 0.5724 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.5009, allocations: 7.938 kB / 0.5724 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.501, allocations: 11.98 kB / 0.5724 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.5013, allocations: 148.8 kB / 0.5725 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.5021, allocations: 0.6448 MB / 0.5732 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.5025, allocations: 112.2 kB / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.5026, allocations: 48.83 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5026, allocations: 0 / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.5027, allocations: 38.5 kB / 0.5733 GB, free: 6.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5027, allocations: 0 / 0.5733 GB, free: 6.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004646/0.5032, allocations: 153.7 kB / 0.5735 GB, free: 5.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5032, allocations: 51.41 kB / 0.5735 GB, free: 5.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5034, allocations: 134 kB / 0.5737 GB, free: 5.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.5034, allocations: 25.7 kB / 0.5737 GB, free: 5.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.5035, allocations: 115.9 kB / 0.5738 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.5035, allocations: 31.55 kB / 0.5738 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.5035, allocations: 4 kB / 0.5738 GB, free: 5.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5037, allocations: 315.9 kB / 0.5741 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5038, allocations: 47.95 kB / 0.5742 GB, free: 5.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.504, allocations: 100.2 kB / 0.5743 GB, free: 5.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.5043, allocations: 156.3 kB / 0.5744 GB, free: 4.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5043, allocations: 0 / 0.5744 GB, free: 4.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003442/0.5046, allocations: 165.4 kB / 0.5746 GB, free: 4.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5046, allocations: 8 kB / 0.5746 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5047, allocations: 0 / 0.5746 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5047, allocations: 4 kB / 0.5746 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5048, allocations: 44.22 kB / 0.5746 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5049, allocations: 19.72 kB / 0.5747 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.505, allocations: 23.83 kB / 0.5747 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.505, allocations: 8 kB / 0.5747 GB, free: 4.562 MB / 394.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 9.992e-05/0.5051, allocations: 121.8 kB / 0.5748 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.5051, allocations: 11.84 kB / 0.5748 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.5054, allocations: 149.9 kB / 0.575 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5055, allocations: 0 / 0.575 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5055, allocations: 3.938 kB / 0.575 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5055, allocations: 0 / 0.575 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.5057, allocations: 193.6 kB / 0.5752 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5057, allocations: 0 / 0.5752 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5059, allocations: 35.91 kB / 0.5752 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5059, allocations: 0 / 0.5752 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.5059, allocations: 0 / 0.5752 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5059, allocations: 4 kB / 0.5752 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5059, allocations: 0 / 0.5752 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.5062, allocations: 223.3 kB / 0.5754 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.5063, allocations: 92.89 kB / 0.5755 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.5063, allocations: 4 kB / 0.5755 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.5064, allocations: 12 kB / 0.5755 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.5064, allocations: 3.984 kB / 0.5755 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5065, allocations: 4 kB / 0.5755 GB, free: 3.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.094e-05/0.5065, allocations: 91.27 kB / 0.5756 GB, free: 3.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5065, allocations: 0 / 0.5756 GB, free: 3.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.5068, allocations: 24 kB / 0.5756 GB, free: 3.512 MB / 394.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.0001599/0.507, allocations: 124.2 kB / 0.5757 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.5073, allocations: 115.8 kB / 0.5759 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5073, allocations: 0 / 0.5759 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5074, allocations: 52.47 kB / 0.5759 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.5076, allocations: 8.5 kB / 0.5759 GB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.5081, allocations: 307.5 kB / 0.5762 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5084, allocations: 0.716 MB / 0.5769 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.5085, allocations: 28.53 kB / 0.5769 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.5086, allocations: 15.42 kB / 0.5769 GB, free: 2.109 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5086, allocations: 0 / 0.5769 GB, free: 2.109 MB / 394.7 MB Notification: Performance of Templates: time 0.003559/0.5122, allocations: 1.07 MB / 0.578 GB, free: 1.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches