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.0009938/0.0009939, allocations: 176.1 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007731/0.0007732, allocations: 90.62 kB / 261.8 MB, free: 1.672 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.2048/0.2048, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.752e-05, allocations: 4 kB / 418.3 MB, free: 28.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 58.85 MB / 477.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.4934, allocations: 94.37 MB / 0.5581 GB, free: 1.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4937, allocations: 101.9 kB / 0.5582 GB, free: 1.066 MB / 362.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.03283/0.5266, allocations: 11.22 MB / 0.5692 GB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5266, allocations: 0 / 0.5692 GB, free: 7.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5267, allocations: 4 kB / 0.5692 GB, free: 7.621 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009746/0.5277, allocations: 0.5792 MB / 0.5697 GB, free: 7.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5278, allocations: 8.031 kB / 0.5697 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.5278, allocations: 39.58 kB / 0.5698 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.5282, allocations: 242.1 kB / 0.57 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5282, allocations: 8 kB / 0.57 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.5282, allocations: 16 kB / 0.57 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005644/0.5288, allocations: 397 kB / 0.5704 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.5294, allocations: 403.9 kB / 0.5708 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5294, allocations: 0 / 0.5708 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.5294, allocations: 0 / 0.5708 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.5295, allocations: 47.61 kB / 0.5708 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.5313, allocations: 1.269 MB / 0.5721 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.5318, allocations: 259.6 kB / 0.5723 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.5319, allocations: 73.95 kB / 0.5724 GB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.532, allocations: 8.328 kB / 0.5724 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.532, allocations: 42.23 kB / 0.5724 GB, free: 4.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.532, allocations: 0 / 0.5724 GB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003947/0.5324, allocations: 205 kB / 0.5726 GB, free: 4.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5325, allocations: 55.41 kB / 0.5727 GB, free: 4.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5326, allocations: 131.8 kB / 0.5728 GB, free: 4.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.5326, allocations: 29.64 kB / 0.5728 GB, free: 4.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5327, allocations: 193 kB / 0.573 GB, free: 3.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.5328, allocations: 83.12 kB / 0.5731 GB, free: 3.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.5328, allocations: 0 / 0.5731 GB, free: 3.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.533, allocations: 324.8 kB / 0.5734 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.5331, allocations: 72.39 kB / 0.5735 GB, free: 3.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.5333, allocations: 150.4 kB / 0.5736 GB, free: 3.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5334, allocations: 98.02 kB / 0.5737 GB, free: 3.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5334, allocations: 3.984 kB / 0.5737 GB, free: 3.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003976/0.5338, allocations: 267.3 kB / 0.574 GB, free: 2.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5339, allocations: 8 kB / 0.574 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5339, allocations: 0 / 0.574 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5339, allocations: 8 kB / 0.574 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.5345, allocations: 127 kB / 0.5741 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5358, allocations: 2.374 MB / 0.5764 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.536, allocations: 27.69 kB / 0.5765 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.536, allocations: 19.3 kB / 0.5765 GB, free: 340 kB / 378.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 0.0001253/0.5361, allocations: 108.9 kB / 0.5766 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.5362, allocations: 15.81 kB / 0.5766 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.5369, allocations: 326 kB / 0.5769 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5369, allocations: 0 / 0.5769 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5369, allocations: 4 kB / 0.5769 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5369, allocations: 3.984 kB / 0.5769 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.5372, allocations: 278.9 kB / 0.5772 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5372, allocations: 0 / 0.5772 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.5377, allocations: 115.8 kB / 0.5773 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5377, allocations: 3.984 kB / 0.5773 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5378, allocations: 7.984 kB / 0.5773 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.5391, allocations: 2.362 MB / 0.5796 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5391, allocations: 8 kB / 0.5796 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.5394, allocations: 317.7 kB / 0.5799 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.5395, allocations: 96.84 kB / 0.58 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.5395, allocations: 8 kB / 0.58 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.5397, allocations: 7.938 kB / 0.58 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.5398, allocations: 23.59 kB / 0.5801 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5398, allocations: 11.98 kB / 0.5801 GB, free: 12.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.5398, allocations: 106.3 kB / 0.5802 GB, free: 12.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5398, allocations: 0 / 0.5802 GB, free: 12.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.5405, allocations: 170.8 kB / 0.5803 GB, free: 12.36 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 (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.0004666/0.541, allocations: 262.1 kB / 0.5806 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005102/0.5415, allocations: 229.6 kB / 0.5808 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5415, allocations: 0 / 0.5808 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.5418, allocations: 153.1 kB / 0.5809 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.542, allocations: 3.188 kB / 0.5809 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.5428, allocations: 381.8 kB / 0.5813 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.5432, allocations: 0.8084 MB / 0.5821 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003205/0.5435, allocations: 101.8 kB / 0.5822 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.5436, allocations: 27.42 kB / 0.5822 GB, free: 10.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5436, allocations: 0 / 0.5822 GB, free: 10.45 MB / 394.7 MB Notification: Performance of Templates: time 0.007892/0.5515, allocations: 4.178 MB / 0.5863 GB, free: 6.285 MB / 394.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