Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008351/0.0008352, allocations: 103 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/2e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09492, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4763, allocations: 91.56 MB / 0.5938 GB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4765, allocations: 94.31 kB / 0.5939 GB, free: 10.96 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.009936/0.4865, allocations: 3.625 MB / 0.5974 GB, free: 7.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4865, allocations: 0 / 0.5974 GB, free: 7.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4865, allocations: 0 / 0.5974 GB, free: 7.883 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.0004857/0.487, allocations: 393.2 kB / 0.5978 GB, free: 7.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4871, allocations: 15.97 kB / 0.5978 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.4873, allocations: 34.98 kB / 0.5978 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.4875, allocations: 186.9 kB / 0.598 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4875, allocations: 4 kB / 0.598 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4876, allocations: 8 kB / 0.598 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002227/0.4878, allocations: 90.95 kB / 0.5981 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.488, allocations: 150.1 kB / 0.5983 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4881, allocations: 4 kB / 0.5983 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.4881, allocations: 0 / 0.5983 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.4881, allocations: 15.97 kB / 0.5983 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.4889, allocations: 0.6093 MB / 0.5989 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.4892, allocations: 95.77 kB / 0.599 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.4892, allocations: 22.8 kB / 0.599 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4892, allocations: 3.984 kB / 0.599 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4893, allocations: 37.88 kB / 0.599 GB, free: 6.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4893, allocations: 0 / 0.599 GB, free: 6.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001832/0.4895, allocations: 72.73 kB / 0.5991 GB, free: 6.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.4895, allocations: 59.39 kB / 0.5992 GB, free: 6.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.4896, allocations: 115.9 kB / 0.5993 GB, free: 5.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4896, allocations: 29.69 kB / 0.5993 GB, free: 5.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.4897, allocations: 118.4 kB / 0.5994 GB, free: 5.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.4897, allocations: 22.22 kB / 0.5994 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.4897, allocations: 0 / 0.5994 GB, free: 5.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.4898, allocations: 328.2 kB / 0.5997 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.4898, allocations: 19.31 kB / 0.5998 GB, free: 5.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.4899, allocations: 86.95 kB / 0.5998 GB, free: 5.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.49, allocations: 27.55 kB / 0.5999 GB, free: 5.277 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.49, allocations: 0 / 0.5999 GB, free: 5.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001656/0.4902, allocations: 124.4 kB / 0.6 GB, free: 5.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4902, allocations: 4 kB / 0.6 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4902, allocations: 7.938 kB / 0.6 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4902, allocations: 8 kB / 0.6 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4904, allocations: 47.47 kB / 0.6001 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4904, allocations: 7.938 kB / 0.6001 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.4905, allocations: 19.83 kB / 0.6001 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.4905, allocations: 4 kB / 0.6001 GB, free: 5.066 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 () * 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 7.546e-05/0.4906, allocations: 105 kB / 0.6002 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.4906, allocations: 15.36 kB / 0.6002 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.4908, allocations: 100.3 kB / 0.6003 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4908, allocations: 4 kB / 0.6003 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4909, allocations: 0 / 0.6003 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4909, allocations: 0 / 0.6003 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.491, allocations: 168.1 kB / 0.6005 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.491, allocations: 0 / 0.6005 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4912, allocations: 27.98 kB / 0.6005 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4912, allocations: 4 kB / 0.6005 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4912, allocations: 3.953 kB / 0.6005 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4912, allocations: 80 / 0.6005 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4912, allocations: 3.984 kB / 0.6005 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.4914, allocations: 188 kB / 0.6007 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.4914, allocations: 85.02 kB / 0.6008 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.4915, allocations: 0 / 0.6008 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4916, allocations: 15.94 kB / 0.6008 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.4916, allocations: 4 kB / 0.6008 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4916, allocations: 0 / 0.6008 GB, free: 4.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.4917, allocations: 98.39 kB / 0.6009 GB, free: 4.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4917, allocations: 0 / 0.6009 GB, free: 4.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.4919, allocations: 16 kB / 0.6009 GB, free: 4.199 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 () * 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.0001562/0.4921, allocations: 124.2 kB / 0.601 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.4923, allocations: 69.05 kB / 0.6011 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4923, allocations: 0 / 0.6011 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.4923, allocations: 30.98 kB / 0.6011 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4925, allocations: 4 kB / 0.6011 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.4928, allocations: 142.4 kB / 0.6012 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.493, allocations: 0.7157 MB / 0.6019 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.4931, allocations: 28.52 kB / 0.602 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.4932, allocations: 11.44 kB / 0.602 GB, free: 3.059 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4932, allocations: 0 / 0.602 GB, free: 3.059 MB / 394.7 MB Notification: Performance of Templates: time 0.002931/0.4961, allocations: 0.9487 MB / 0.6029 GB, free: 2.152 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches