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.000926/0.000926, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 94.8 kB / 281.6 MB, free: 5.328 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.182/0.182, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.471e-05, allocations: 4.219 kB / 444.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.6167, allocations: 90.5 MB / 0.5831 GB, free: 6.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.6171, allocations: 95.22 kB / 0.5832 GB, free: 5.938 MB / 394.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.01526/0.6324, allocations: 3.567 MB / 0.5866 GB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6324, allocations: 4 kB / 0.5866 GB, free: 2.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.6325, allocations: 0 / 0.5866 GB, free: 2.363 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.0006886/0.6332, allocations: 390.2 kB / 0.587 GB, free: 1.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6332, allocations: 11.98 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004111/0.6336, allocations: 39.86 kB / 0.5871 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.634, allocations: 187 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.634, allocations: 4 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.6341, allocations: 11.95 kB / 0.5873 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003348/0.6344, allocations: 100.4 kB / 0.5874 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.6348, allocations: 144.1 kB / 0.5875 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6348, allocations: 0 / 0.5875 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.6349, allocations: 4 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.6349, allocations: 4 kB / 0.5875 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.6362, allocations: 0.6139 MB / 0.5881 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.6366, allocations: 98.64 kB / 0.5882 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.6367, allocations: 24.84 kB / 0.5882 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.6368, allocations: 0 / 0.5882 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6368, allocations: 42.52 kB / 0.5883 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.6368, allocations: 0 / 0.5883 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003082/0.6371, allocations: 77.72 kB / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.6372, allocations: 51.41 kB / 0.5884 GB, free: 396 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.6374, allocations: 113.2 kB / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.6374, allocations: 33.58 kB / 0.5885 GB, free: 232 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6376, allocations: 123.8 kB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.6376, allocations: 23.64 kB / 0.5887 GB, free: 76 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.6376, allocations: 4 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.6379, allocations: 318.8 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.638, allocations: 23.98 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6381, allocations: 77.12 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.6382, allocations: 35.91 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6382, allocations: 0 / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002991/0.6385, allocations: 117.7 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.6385, allocations: 8 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6386, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.6386, allocations: 7.953 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6389, allocations: 43.91 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6389, allocations: 4 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6391, allocations: 15.84 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.6391, allocations: 12 kB / 0.5893 GB, free: 15.38 MB / 410.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 () * 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.0001193/0.6393, allocations: 109 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.6393, allocations: 15.78 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6396, allocations: 90.27 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6396, allocations: 4 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6396, allocations: 3.953 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6396, allocations: 0 / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.6399, allocations: 162.2 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6399, allocations: 4 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.6401, allocations: 35.95 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6402, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6402, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6402, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6402, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.6405, allocations: 191.3 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.6406, allocations: 84.95 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.6406, allocations: 4 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.6408, allocations: 7.984 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.6409, allocations: 7.984 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.6409, allocations: 4 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.175e-05/0.641, allocations: 89.53 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.641, allocations: 4 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.6415, allocations: 20 kB / 0.5901 GB, free: 14.47 MB / 410.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 () * 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.0001991/0.6417, allocations: 123.1 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.6419, allocations: 68.95 kB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.642, allocations: 0 / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.642, allocations: 27.98 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.6423, allocations: 4.5 kB / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.6428, allocations: 141.5 kB / 0.5905 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6432, allocations: 0.7157 MB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000173/0.6434, allocations: 32.39 kB / 0.5912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.6434, allocations: 11.44 kB / 0.5912 GB, free: 13.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6435, allocations: 0 / 0.5912 GB, free: 13.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004568/0.648, allocations: 0.946 MB / 0.5921 GB, free: 12.38 MB / 410.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