Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|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.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|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.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 182.1 kB / 17.41 MB, free: 4.289 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.299/1.299, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007844/0.0007844, allocations: 98.34 kB / 271.9 MB, free: 8.25 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.2933/0.2933, allocations: 43.55 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 16 kB / 432.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1047, allocations: 58.84 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.4037, allocations: 98.13 MB / 0.5758 GB, free: 4.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.404, allocations: 99.94 kB / 0.5759 GB, free: 4 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812: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:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04643/0.4505, allocations: 15.2 MB / 0.5907 GB, free: 4.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4505, allocations: 0 / 0.5907 GB, free: 4.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4505, allocations: 4 kB / 0.5907 GB, free: 4.75 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009971/0.4515, allocations: 0.5539 MB / 0.5913 GB, free: 4.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4516, allocations: 12.03 kB / 0.5913 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.4517, allocations: 36.5 kB / 0.5913 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.452, allocations: 239.9 kB / 0.5915 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4521, allocations: 24.88 kB / 0.5916 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.4521, allocations: 16.38 kB / 0.5916 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.4528, allocations: 381.8 kB / 0.5919 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4529, allocations: 3.938 kB / 0.5919 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.4529, allocations: 8 kB / 0.5919 GB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.453, allocations: 32.64 kB / 0.592 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.4536, allocations: 398.3 kB / 0.5924 GB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.4552, allocations: 1.035 MB / 0.5934 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.4558, allocations: 275 kB / 0.5936 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.456, allocations: 96.78 kB / 0.5937 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.4561, allocations: 15.94 kB / 0.5937 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4561, allocations: 30.56 kB / 0.5938 GB, free: 1.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.4561, allocations: 0 / 0.5938 GB, free: 1.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007379/0.4568, allocations: 348.5 kB / 0.5941 GB, free: 1.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4569, allocations: 51.41 kB / 0.5942 GB, free: 1.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4571, allocations: 223.8 kB / 0.5944 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.4572, allocations: 29.7 kB / 0.5944 GB, free: 0.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4573, allocations: 148.4 kB / 0.5945 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.4574, allocations: 79.02 kB / 0.5946 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.4574, allocations: 0 / 0.5946 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4575, allocations: 334.8 kB / 0.5949 GB, free: 188 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4577, allocations: 87.92 kB / 0.595 GB, free: 100 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4579, allocations: 110.4 kB / 0.5951 GB, free: 15.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.4583, allocations: 214.3 kB / 0.5953 GB, free: 15.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4583, allocations: 3.938 kB / 0.5953 GB, free: 15.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005057/0.4589, allocations: 277.8 kB / 0.5956 GB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4589, allocations: 8 kB / 0.5956 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4589, allocations: 0 / 0.5956 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4589, allocations: 0 / 0.5956 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.4593, allocations: 99.86 kB / 0.5957 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.4606, allocations: 2.383 MB / 0.598 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4608, allocations: 31.77 kB / 0.5981 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4608, allocations: 8 kB / 0.5981 GB, free: 12.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * 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.0001575/0.461, allocations: 161.7 kB / 0.5982 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.461, allocations: 19.75 kB / 0.5982 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007446/0.4618, allocations: 368.8 kB / 0.5986 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4618, allocations: 0 / 0.5986 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4618, allocations: 0 / 0.5986 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4618, allocations: 8 kB / 0.5986 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.4622, allocations: 313.3 kB / 0.5989 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4622, allocations: 3.938 kB / 0.5989 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.4626, allocations: 91.95 kB / 0.599 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4627, allocations: 0 / 0.599 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4627, allocations: 8 kB / 0.599 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4639, allocations: 2.383 MB / 0.6013 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4639, allocations: 0 / 0.6013 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.4645, allocations: 379.6 kB / 0.6017 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4646, allocations: 128.7 kB / 0.6018 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.4647, allocations: 8.062 kB / 0.6018 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4648, allocations: 15.98 kB / 0.6018 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.4649, allocations: 23.91 kB / 0.6018 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4649, allocations: 8 kB / 0.6019 GB, free: 8.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.4651, allocations: 169.5 kB / 0.602 GB, free: 8.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4651, allocations: 0 / 0.602 GB, free: 8.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.4657, allocations: 179.6 kB / 0.6022 GB, free: 8.438 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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.000603/0.4663, allocations: 267.5 kB / 0.6024 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007088/0.467, allocations: 273.2 kB / 0.6027 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.467, allocations: 0 / 0.6027 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.4675, allocations: 179.9 kB / 0.6029 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4679, allocations: 31.98 kB / 0.6029 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.4689, allocations: 0.6824 MB / 0.6036 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4693, allocations: 0.7908 MB / 0.6043 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.4694, allocations: 27.42 kB / 0.6044 GB, free: 6.156 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4694, allocations: 0 / 0.6044 GB, free: 6.156 MB / 426.7 MB Notification: Performance of Templates: time 0.01164/0.481, allocations: 8.621 MB / 0.6128 GB, free: 13.55 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],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],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],delta[1],delta[2],delta[3],delta[4],eta,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]