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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009476/0.0009477, allocations: 179.4 kB / 8.517 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008967/0.0008967, allocations: 98.03 kB / 281.2 MB, free: 5.434 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.1715/0.1715, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.432e-06, allocations: 224 / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.5047, allocations: 90.42 MB / 0.5824 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5051, allocations: 101.7 kB / 0.5825 GB, free: 6.25 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: time 0.01121/0.5163, allocations: 3.261 MB / 0.5857 GB, free: 2.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5164, allocations: 0 / 0.5857 GB, free: 2.988 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.0005513/0.5169, allocations: 398.1 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.517, allocations: 15.97 kB / 0.5861 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.5174, allocations: 35.86 kB / 0.5861 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.5176, allocations: 190.8 kB / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5176, allocations: 8 kB / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.5177, allocations: 8 kB / 0.5863 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002401/0.5179, allocations: 91.95 kB / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5182, allocations: 148.1 kB / 0.5865 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5182, allocations: 3.938 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5182, allocations: 0 / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.5183, allocations: 15.98 kB / 0.5866 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009899/0.5193, allocations: 0.6216 MB / 0.5872 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.5196, allocations: 90.7 kB / 0.5873 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.5196, allocations: 24.86 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5197, allocations: 0 / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5197, allocations: 46.45 kB / 0.5873 GB, free: 1.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5197, allocations: 3.938 kB / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002741/0.52, allocations: 73.75 kB / 0.5874 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.5201, allocations: 51.41 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.5202, allocations: 109.2 kB / 0.5876 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5202, allocations: 25.7 kB / 0.5876 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.5203, allocations: 131.8 kB / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.5203, allocations: 23.66 kB / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.5203, allocations: 0 / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5204, allocations: 318.8 kB / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.5205, allocations: 20 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.5206, allocations: 91.58 kB / 0.5881 GB, free: 228 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.5207, allocations: 27.97 kB / 0.5882 GB, free: 200 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5207, allocations: 4 kB / 0.5882 GB, free: 196 kB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002005/0.5209, allocations: 117.4 kB / 0.5883 GB, free: 72 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5209, allocations: 8 kB / 0.5883 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5209, allocations: 0 / 0.5883 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5209, allocations: 4 kB / 0.5883 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.5211, allocations: 48.16 kB / 0.5883 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5211, allocations: 8 kB / 0.5883 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5213, allocations: 23.83 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5213, allocations: 4 kB / 0.5884 GB, free: 15.98 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 6.496e-05/0.5214, allocations: 108.9 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.5214, allocations: 3.906 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.5216, allocations: 101.9 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5216, allocations: 3.984 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5216, allocations: 0 / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5216, allocations: 4 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5218, allocations: 166.2 kB / 0.5887 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5218, allocations: 0 / 0.5887 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.5219, allocations: 39.83 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.522, allocations: 7.938 kB / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.522, allocations: 0 / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.522, allocations: 0 / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.522, allocations: 0 / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001562/0.5222, allocations: 180.4 kB / 0.589 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.5222, allocations: 88.95 kB / 0.589 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.5222, allocations: 0 / 0.589 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5223, allocations: 15.98 kB / 0.5891 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.5224, allocations: 7.984 kB / 0.5891 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.5224, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.105e-05/0.5225, allocations: 91.27 kB / 0.5892 GB, free: 15.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.5227, allocations: 23.91 kB / 0.5892 GB, free: 15.06 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.0001682/0.5229, allocations: 127.2 kB / 0.5893 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.5231, allocations: 67.92 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5231, allocations: 0 / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.5231, allocations: 31.92 kB / 0.5894 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.5233, allocations: 4.938 kB / 0.5894 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.5236, allocations: 135.8 kB / 0.5895 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.524, allocations: 0.7353 MB / 0.5903 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.524, allocations: 0 / 0.5903 GB, free: 13.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003206/0.5272, allocations: 1.109 MB / 0.5913 GB, free: 12.84 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