Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002324/0.002324, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001119/0.001118, allocations: 92.42 kB / 270.9 MB, free: 8.371 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.5563/0.5563, allocations: 43.54 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005216, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/0.6308, allocations: 90.11 MB / 0.5668 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/0.6312, allocations: 95.94 kB / 0.5668 GB, free: 12.5 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.01638/0.6476, allocations: 3.528 MB / 0.5703 GB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6477, allocations: 0 / 0.5703 GB, free: 8.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.6477, allocations: 4 kB / 0.5703 GB, free: 8.984 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.0006927/0.6484, allocations: 406.6 kB / 0.5707 GB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6485, allocations: 8.031 kB / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.6489, allocations: 43.25 kB / 0.5707 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.6492, allocations: 190.9 kB / 0.5709 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6492, allocations: 4 kB / 0.5709 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.6492, allocations: 11.98 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.6498, allocations: 183.1 kB / 0.5711 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6498, allocations: 0 / 0.5711 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.6499, allocations: 11.98 kB / 0.5711 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.6499, allocations: 4 kB / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.6505, allocations: 149.9 kB / 0.5713 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.6517, allocations: 0.6449 MB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.6523, allocations: 114.7 kB / 0.572 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.6524, allocations: 3.984 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.6524, allocations: 34.5 kB / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.6524, allocations: 0 / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007209/0.6532, allocations: 157.7 kB / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6532, allocations: 59.39 kB / 0.5722 GB, free: 6.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.6534, allocations: 109.9 kB / 0.5723 GB, free: 6.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.6534, allocations: 29.7 kB / 0.5724 GB, free: 6.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6535, allocations: 190.3 kB / 0.5726 GB, free: 6.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.6536, allocations: 31.64 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.6536, allocations: 0 / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6537, allocations: 314.8 kB / 0.5729 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.6539, allocations: 39.97 kB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.6542, allocations: 99.62 kB / 0.573 GB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.6545, allocations: 62.42 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6545, allocations: 0 / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005756/0.6551, allocations: 173.3 kB / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6551, allocations: 11.94 kB / 0.5733 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6551, allocations: 4 kB / 0.5733 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.6551, allocations: 0 / 0.5733 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.6555, allocations: 47.84 kB / 0.5733 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.6555, allocations: 4 kB / 0.5733 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.6557, allocations: 32.08 kB / 0.5733 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.6557, allocations: 4 kB / 0.5733 GB, free: 5.598 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 0.0001487/0.6559, allocations: 133.7 kB / 0.5735 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.6559, allocations: 7.906 kB / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.6565, allocations: 131.9 kB / 0.5736 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6566, allocations: 0 / 0.5736 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6566, allocations: 0 / 0.5736 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6566, allocations: 3.984 kB / 0.5736 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.6569, allocations: 197.6 kB / 0.5738 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6569, allocations: 3.953 kB / 0.5738 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6572, allocations: 31.98 kB / 0.5738 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.6572, allocations: 3.984 kB / 0.5738 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.6572, allocations: 4 kB / 0.5738 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6572, allocations: 0 / 0.5738 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6573, allocations: 0 / 0.5738 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.6578, allocations: 219.4 kB / 0.574 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.6579, allocations: 88.91 kB / 0.5741 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.6579, allocations: 7.984 kB / 0.5741 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.6581, allocations: 9.75 kB / 0.5741 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.6581, allocations: 7.984 kB / 0.5742 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6582, allocations: 3.938 kB / 0.5742 GB, free: 4.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.6582, allocations: 102.3 kB / 0.5743 GB, free: 4.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6583, allocations: 0 / 0.5743 GB, free: 4.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.6586, allocations: 24 kB / 0.5743 GB, free: 4.547 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.00022/0.6589, allocations: 120.8 kB / 0.5744 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.6594, allocations: 104.2 kB / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6594, allocations: 0 / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.6597, allocations: 55.89 kB / 0.5745 GB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.6599, allocations: 11.22 kB / 0.5746 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.6607, allocations: 329.5 kB / 0.5749 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.661, allocations: 0.7121 MB / 0.5756 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.6611, allocations: 19.42 kB / 0.5756 GB, free: 3.148 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6611, allocations: 0 / 0.5756 GB, free: 3.148 MB / 394.7 MB Notification: Performance of Templates: time 0.004403/0.6655, allocations: 1.47 MB / 0.577 GB, free: 1.691 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches