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.0009424/0.0009424, allocations: 183.3 kB / 18.09 MB, free: 3.727 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.348/1.348, allocations: 223.2 MB / 242.1 MB, free: 11.75 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.0008/0.0007999, allocations: 100.8 kB / 293.3 MB, free: 10.79 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.2987/0.2987, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3079, allocations: 61.87 MB / 0.5108 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4197, allocations: 91.24 MB / 0.5999 GB, free: 3.828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.42, allocations: 99.92 kB / 0.5999 GB, free: 3.734 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.01027/0.4303, allocations: 3.61 MB / 0.6035 GB, free: 108 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4303, allocations: 0 / 0.6035 GB, free: 108 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4303, allocations: 7.938 kB / 0.6035 GB, free: 100 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.0005557/0.4309, allocations: 403.1 kB / 0.6039 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4309, allocations: 12.03 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.4312, allocations: 36.8 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.4314, allocations: 192.2 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4314, allocations: 8.375 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.4315, allocations: 4.375 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.4319, allocations: 185.8 kB / 0.6043 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4319, allocations: 192 / 0.6043 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4319, allocations: 11.92 kB / 0.6043 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.4319, allocations: 15.92 kB / 0.6043 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.4322, allocations: 143.9 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.4331, allocations: 0.6448 MB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.4335, allocations: 122.6 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4336, allocations: 40.83 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4336, allocations: 0 / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4336, allocations: 38.5 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4337, allocations: 0 / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004232/0.4341, allocations: 157.5 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4341, allocations: 51.41 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4343, allocations: 133.9 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4343, allocations: 25.7 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.4344, allocations: 124.1 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4344, allocations: 23.55 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4344, allocations: 8 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4345, allocations: 314.8 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4347, allocations: 43.95 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4348, allocations: 92.83 kB / 0.6062 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.4351, allocations: 164.5 kB / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4351, allocations: 0 / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003132/0.4354, allocations: 169.4 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4354, allocations: 4 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4354, allocations: 4 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4355, allocations: 0 / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4356, allocations: 51.91 kB / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4357, allocations: 256 / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4358, allocations: 27.83 kB / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4358, allocations: 4 kB / 0.6066 GB, free: 12.59 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 0.0001108/0.4359, allocations: 129.8 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.4359, allocations: 11.84 kB / 0.6067 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.4363, allocations: 138 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4363, allocations: 3.938 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4363, allocations: 0 / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4363, allocations: 3.938 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4365, allocations: 193.6 kB / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4365, allocations: 0 / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4367, allocations: 39.91 kB / 0.6071 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4367, allocations: 4 kB / 0.6071 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4367, allocations: 4 kB / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4367, allocations: 0 / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4367, allocations: 0 / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.437, allocations: 223.8 kB / 0.6073 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.4371, allocations: 84.95 kB / 0.6074 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4371, allocations: 4 kB / 0.6074 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.4372, allocations: 4 kB / 0.6074 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.4372, allocations: 15.92 kB / 0.6074 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4373, allocations: 0 / 0.6074 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.617e-05/0.4373, allocations: 100.5 kB / 0.6075 GB, free: 11.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4373, allocations: 0 / 0.6075 GB, free: 11.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.4376, allocations: 24 kB / 0.6075 GB, free: 11.52 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.0001704/0.4378, allocations: 125.9 kB / 0.6077 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.4381, allocations: 108 kB / 0.6078 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4381, allocations: 0 / 0.6078 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.4382, allocations: 51.84 kB / 0.6078 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.4385, allocations: 15.92 kB / 0.6078 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.439, allocations: 305.4 kB / 0.6081 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.4393, allocations: 0.716 MB / 0.6088 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.4395, allocations: 24.52 kB / 0.6089 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.4395, allocations: 15.42 kB / 0.6089 GB, free: 10.11 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4395, allocations: 4 kB / 0.6089 GB, free: 10.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003497/0.443, allocations: 1.061 MB / 0.6099 GB, free: 9.082 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/jenkins1/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