Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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 3.2.3+maint.om/package.mo): time 0.0009171/0.0009173, allocations: 188.9 kB / 7.806 MB, free: 2.488 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.024/1.024, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008205/0.0008205, allocations: 93.72 kB / 261.4 MB, free: 13.54 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.1483/0.1483, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.62e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 58.84 MB / 476.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3371, allocations: 97.23 MB / 0.5604 GB, free: 1.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3373, allocations: 95.94 kB / 0.5605 GB, free: 1.652 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: time 0.04408/0.3814, allocations: 14.8 MB / 0.5749 GB, free: 2.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3815, allocations: 4 kB / 0.5749 GB, free: 2.754 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.0007779/0.3823, allocations: 0.5483 MB / 0.5754 GB, free: 2.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3823, allocations: 12.03 kB / 0.5755 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.3824, allocations: 27.62 kB / 0.5755 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3826, allocations: 244.3 kB / 0.5757 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3827, allocations: 8 kB / 0.5757 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.3827, allocations: 12 kB / 0.5757 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004137/0.3831, allocations: 329 kB / 0.576 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.3836, allocations: 323.8 kB / 0.5764 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3836, allocations: 0 / 0.5764 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.3836, allocations: 0 / 0.5764 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.3836, allocations: 32.62 kB / 0.5764 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.385, allocations: 0.9762 MB / 0.5773 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.3855, allocations: 254.7 kB / 0.5776 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3856, allocations: 85.19 kB / 0.5777 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3856, allocations: 8.25 kB / 0.5777 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3857, allocations: 30.75 kB / 0.5777 GB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.3857, allocations: 3.984 kB / 0.5777 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003824/0.386, allocations: 208.2 kB / 0.5779 GB, free: 15.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.3861, allocations: 59.34 kB / 0.578 GB, free: 15.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.3862, allocations: 117 kB / 0.5781 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3862, allocations: 25.7 kB / 0.5781 GB, free: 15.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3863, allocations: 164 kB / 0.5783 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.3864, allocations: 67 kB / 0.5783 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.3864, allocations: 0 / 0.5783 GB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3865, allocations: 318.8 kB / 0.5786 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3866, allocations: 67.95 kB / 0.5787 GB, free: 14.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3867, allocations: 98.25 kB / 0.5788 GB, free: 14.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3869, allocations: 89.17 kB / 0.5789 GB, free: 14.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3869, allocations: 0 / 0.5789 GB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003393/0.3872, allocations: 221.4 kB / 0.5791 GB, free: 14.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3873, allocations: 4 kB / 0.5791 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3873, allocations: 4 kB / 0.5791 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3873, allocations: 0 / 0.5791 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.3877, allocations: 95.86 kB / 0.5792 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.389, allocations: 2.403 MB / 0.5815 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3892, allocations: 23.86 kB / 0.5815 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3892, allocations: 8.172 kB / 0.5816 GB, free: 11.59 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 () * 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 8.763e-05/0.3893, allocations: 114.3 kB / 0.5817 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3894, allocations: 15.81 kB / 0.5817 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.39, allocations: 348.8 kB / 0.582 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.39, allocations: 4 kB / 0.582 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.39, allocations: 3.906 kB / 0.582 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.39, allocations: 0 / 0.582 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3903, allocations: 261.9 kB / 0.5823 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3903, allocations: 4 kB / 0.5823 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.3908, allocations: 91.86 kB / 0.5824 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3908, allocations: 8 kB / 0.5824 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3908, allocations: 4 kB / 0.5824 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.3919, allocations: 2.402 MB / 0.5847 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.392, allocations: 0 / 0.5847 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003447/0.3923, allocations: 332 kB / 0.585 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.3924, allocations: 124.8 kB / 0.5852 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3924, allocations: 0 / 0.5852 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3926, allocations: 11.98 kB / 0.5852 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.3927, allocations: 19.97 kB / 0.5852 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.3927, allocations: 8 kB / 0.5852 GB, free: 7.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.888e-05/0.3927, allocations: 100.1 kB / 0.5853 GB, free: 7.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.3933, allocations: 175.5 kB / 0.5855 GB, free: 7.418 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 () * 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.0004373/0.3937, allocations: 266.8 kB / 0.5857 GB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3943, allocations: 232.2 kB / 0.5859 GB, free: 6.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3943, allocations: 0 / 0.5859 GB, free: 6.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.3947, allocations: 159.7 kB / 0.5861 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.3949, allocations: 11.91 kB / 0.5861 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.3955, allocations: 349.8 kB / 0.5864 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.3959, allocations: 0.8213 MB / 0.5872 GB, free: 5.539 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3959, allocations: 0 / 0.5872 GB, free: 5.539 MB / 426.7 MB Notification: Performance of Templates: time 0.00779/0.4037, allocations: 5.215 MB / 0.5923 GB, free: 332 kB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_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:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,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],n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]