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_turbulent_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_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.337/1.337, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008599/0.00086, allocations: 98.53 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3604/0.3604, allocations: 43.48 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.64e-05, allocations: 7.984 kB / 425.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 58.84 MB / 484.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5044, allocations: 95.03 MB / 0.5656 GB, free: 9.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5048, allocations: 102.7 kB / 0.5657 GB, free: 9.887 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03375/0.5386, allocations: 11.32 MB / 0.5768 GB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5386, allocations: 11.88 kB / 0.5768 GB, free: 14.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.5386, allocations: 4 kB / 0.5768 GB, free: 14.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008184/0.5395, allocations: 0.5754 MB / 0.5774 GB, free: 13.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5395, allocations: 12.03 kB / 0.5774 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.5396, allocations: 27.62 kB / 0.5774 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5399, allocations: 246.6 kB / 0.5776 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.5399, allocations: 16.78 kB / 0.5776 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.54, allocations: 32 kB / 0.5777 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.5406, allocations: 435.6 kB / 0.5781 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5406, allocations: 5.375 kB / 0.5781 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.5407, allocations: 8 kB / 0.5781 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.5407, allocations: 44.75 kB / 0.5782 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.5414, allocations: 0.5222 MB / 0.5787 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.5433, allocations: 1.34 MB / 0.58 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.5438, allocations: 272.2 kB / 0.5802 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.5439, allocations: 84.83 kB / 0.5803 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.544, allocations: 8.375 kB / 0.5803 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.544, allocations: 30.56 kB / 0.5803 GB, free: 10.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.527e-06/0.544, allocations: 7.984 kB / 0.5804 GB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004119/0.5444, allocations: 235.1 kB / 0.5806 GB, free: 10.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.5445, allocations: 55.41 kB / 0.5806 GB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5446, allocations: 125.2 kB / 0.5808 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5446, allocations: 33.7 kB / 0.5808 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.5447, allocations: 179.9 kB / 0.581 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.5448, allocations: 86.75 kB / 0.581 GB, free: 9.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.5448, allocations: 8 kB / 0.581 GB, free: 9.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5449, allocations: 330.8 kB / 0.5814 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5451, allocations: 73.44 kB / 0.5814 GB, free: 9.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5452, allocations: 158.1 kB / 0.5816 GB, free: 9.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5454, allocations: 95.92 kB / 0.5817 GB, free: 9.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5454, allocations: 3.953 kB / 0.5817 GB, free: 9.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004074/0.5458, allocations: 297 kB / 0.582 GB, free: 8.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5459, allocations: 8.625 kB / 0.582 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5459, allocations: 0 / 0.582 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5459, allocations: 4 kB / 0.582 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.5465, allocations: 144.1 kB / 0.5821 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.5476, allocations: 2.361 MB / 0.5844 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.5478, allocations: 39.58 kB / 0.5845 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.5479, allocations: 15.98 kB / 0.5845 GB, free: 6.273 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.548, allocations: 125 kB / 0.5846 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.548, allocations: 15.91 kB / 0.5846 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.5487, allocations: 338.3 kB / 0.5849 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.5487, allocations: 4 kB / 0.5849 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5487, allocations: 3.984 kB / 0.5849 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5487, allocations: 0 / 0.5849 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.5491, allocations: 341.3 kB / 0.5853 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5491, allocations: 0 / 0.5853 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.5496, allocations: 123.8 kB / 0.5854 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5496, allocations: 0 / 0.5854 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.5496, allocations: 12 kB / 0.5854 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.5507, allocations: 2.36 MB / 0.5877 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5507, allocations: 0 / 0.5877 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.5511, allocations: 348 kB / 0.588 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.5512, allocations: 96.8 kB / 0.5881 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5512, allocations: 8 kB / 0.5881 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5513, allocations: 24.11 kB / 0.5881 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.5514, allocations: 19.92 kB / 0.5882 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.5514, allocations: 15.98 kB / 0.5882 GB, free: 2.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.5515, allocations: 95.98 kB / 0.5883 GB, free: 2.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5515, allocations: 0 / 0.5883 GB, free: 2.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000651/0.5522, allocations: 187.5 kB / 0.5885 GB, free: 2.016 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004642/0.5526, allocations: 263.8 kB / 0.5887 GB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.5532, allocations: 252.8 kB / 0.5889 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5532, allocations: 4 kB / 0.5889 GB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.5536, allocations: 143.9 kB / 0.5891 GB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5538, allocations: 19.92 kB / 0.5891 GB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.5545, allocations: 392.5 kB / 0.5895 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.5549, allocations: 0.8101 MB / 0.5903 GB, free: 108 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.5552, allocations: 102.7 kB / 0.5904 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.5553, allocations: 27.42 kB / 0.5904 GB, free: 15.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5553, allocations: 0 / 0.5904 GB, free: 15.98 MB / 426.7 MB Notification: Performance of Templates: time 0.008108/0.5634, allocations: 4.387 MB / 0.5947 GB, free: 11.62 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches