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.00144/0.00144, allocations: 181 kB / 15.76 MB, free: 6.367 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.437/1.437, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008709/0.0008708, allocations: 82.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 58.86 MB / 490.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.6271, allocations: 90.11 MB / 0.5668 GB, free: 9.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.6275, allocations: 93.81 kB / 0.5669 GB, free: 9.688 MB / 378.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.01056/0.6381, allocations: 3.533 MB / 0.5703 GB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6381, allocations: 0 / 0.5703 GB, free: 6.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.6381, allocations: 0 / 0.5703 GB, free: 6.617 MB / 378.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.0006921/0.6388, allocations: 401.3 kB / 0.5707 GB, free: 6.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6389, allocations: 12.03 kB / 0.5707 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.6393, allocations: 35.69 kB / 0.5708 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.6395, allocations: 194.8 kB / 0.5709 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6396, allocations: 7.438 kB / 0.5709 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.6396, allocations: 13.17 kB / 0.571 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.6401, allocations: 182.2 kB / 0.5711 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6401, allocations: 0 / 0.5711 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6401, allocations: 5.75 kB / 0.5711 GB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.6402, allocations: 8.5 kB / 0.5711 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.6406, allocations: 144.7 kB / 0.5713 GB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6417, allocations: 0.6557 MB / 0.5719 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.6421, allocations: 105.5 kB / 0.572 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.6421, allocations: 4 kB / 0.572 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6422, allocations: 39.38 kB / 0.5721 GB, free: 4.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.6422, allocations: 0 / 0.5721 GB, free: 4.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005059/0.6427, allocations: 152.2 kB / 0.5722 GB, free: 4.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.6428, allocations: 55.41 kB / 0.5723 GB, free: 4.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6429, allocations: 116.4 kB / 0.5724 GB, free: 4.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.6429, allocations: 25.7 kB / 0.5724 GB, free: 4.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.643, allocations: 122.9 kB / 0.5725 GB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.6431, allocations: 31.36 kB / 0.5725 GB, free: 4.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.6431, allocations: 0 / 0.5725 GB, free: 4.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6433, allocations: 314.6 kB / 0.5728 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.6434, allocations: 51.02 kB / 0.5729 GB, free: 3.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.6436, allocations: 94.81 kB / 0.573 GB, free: 3.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.6437, allocations: 58.73 kB / 0.573 GB, free: 3.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6437, allocations: 0 / 0.573 GB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003392/0.6441, allocations: 167.4 kB / 0.5732 GB, free: 3.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6441, allocations: 4 kB / 0.5732 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6441, allocations: 4.25 kB / 0.5732 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6442, allocations: 4 kB / 0.5732 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.6444, allocations: 51.66 kB / 0.5733 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6444, allocations: 3.938 kB / 0.5733 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.6445, allocations: 23.83 kB / 0.5733 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6445, allocations: 7.938 kB / 0.5733 GB, free: 3.516 MB / 378.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.000118/0.6447, allocations: 140.6 kB / 0.5734 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6447, allocations: 11.91 kB / 0.5734 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.645, allocations: 131.3 kB / 0.5736 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.645, allocations: 0 / 0.5736 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6451, allocations: 4 kB / 0.5736 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6451, allocations: 0 / 0.5736 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.6453, allocations: 196 kB / 0.5738 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.6453, allocations: 7.938 kB / 0.5738 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.6455, allocations: 31.97 kB / 0.5738 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6455, allocations: 4 kB / 0.5738 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.6455, allocations: 0 / 0.5738 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6455, allocations: 0 / 0.5738 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6455, allocations: 0 / 0.5738 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.6458, allocations: 225.8 kB / 0.574 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.6459, allocations: 88.91 kB / 0.5741 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.6459, allocations: 4 kB / 0.5741 GB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.646, allocations: 11.98 kB / 0.5741 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.6461, allocations: 7.625 kB / 0.5741 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.6461, allocations: 3.938 kB / 0.5741 GB, free: 2.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.206e-05/0.6462, allocations: 94.64 kB / 0.5742 GB, free: 2.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6462, allocations: 0 / 0.5742 GB, free: 2.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.6465, allocations: 23.62 kB / 0.5742 GB, free: 2.52 MB / 378.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.0001976/0.6467, allocations: 125.6 kB / 0.5744 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.647, allocations: 106.5 kB / 0.5745 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.647, allocations: 0.5 kB / 0.5745 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.6472, allocations: 51.66 kB / 0.5745 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.6473, allocations: 7.688 kB / 0.5745 GB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.6479, allocations: 307.4 kB / 0.5748 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.6483, allocations: 0.7121 MB / 0.5755 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.6484, allocations: 28.83 kB / 0.5755 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.6485, allocations: 15.38 kB / 0.5755 GB, free: 1.148 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.6485, allocations: 0 / 0.5755 GB, free: 1.148 MB / 378.7 MB Notification: Performance of Templates: time 0.00381/0.6523, allocations: 1.068 MB / 0.5766 GB, free: 108 kB / 378.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/jenkins/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