Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.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_trunk_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_trunk_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 trunk/package.mo): time 0.00123/0.00123, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008477/0.0008478, allocations: 89.91 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 45.14 MB / 383.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.394e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4612, allocations: 99.41 MB / 0.6009 GB, free: 3.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.4616, allocations: 102.2 kB / 0.601 GB, free: 3.746 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4725:11-4728: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 trunk/Fluid/Dissipation.mo:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.0504/0.512, allocations: 15.06 MB / 0.6157 GB, free: 6.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5121, allocations: 4 kB / 0.6157 GB, free: 6.938 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.001087/0.5131, allocations: 0.5694 MB / 0.6162 GB, free: 6.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5132, allocations: 8.031 kB / 0.6163 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.5133, allocations: 27.62 kB / 0.6163 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.5137, allocations: 234.4 kB / 0.6165 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5137, allocations: 8 kB / 0.6165 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.5138, allocations: 15.94 kB / 0.6165 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004608/0.5142, allocations: 327 kB / 0.6168 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.5147, allocations: 319.5 kB / 0.6171 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5147, allocations: 0 / 0.6171 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.5148, allocations: 4 kB / 0.6171 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.5148, allocations: 35.75 kB / 0.6172 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.5164, allocations: 0.9698 MB / 0.6181 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.517, allocations: 260.5 kB / 0.6184 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.5171, allocations: 82.19 kB / 0.6185 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.5172, allocations: 8.25 kB / 0.6185 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/0.5173, allocations: 42.17 kB / 0.6185 GB, free: 4.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.435e-06/0.5173, allocations: 0 / 0.6185 GB, free: 4.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004906/0.5178, allocations: 203 kB / 0.6187 GB, free: 3.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5178, allocations: 55.41 kB / 0.6187 GB, free: 3.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.518, allocations: 124.1 kB / 0.6189 GB, free: 3.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.518, allocations: 25.7 kB / 0.6189 GB, free: 3.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.5181, allocations: 159.1 kB / 0.619 GB, free: 3.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.5181, allocations: 66.12 kB / 0.6191 GB, free: 3.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.5182, allocations: 0 / 0.6191 GB, free: 3.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5183, allocations: 322.2 kB / 0.6194 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.5184, allocations: 71.02 kB / 0.6195 GB, free: 3.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.5185, allocations: 91.16 kB / 0.6196 GB, free: 3.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5187, allocations: 83.55 kB / 0.6196 GB, free: 3.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.5187, allocations: 0 / 0.6196 GB, free: 3.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003579/0.519, allocations: 217.4 kB / 0.6199 GB, free: 2.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5191, allocations: 4 kB / 0.6199 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5191, allocations: 4 kB / 0.6199 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5191, allocations: 0 / 0.6199 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.5196, allocations: 103.3 kB / 0.62 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.521, allocations: 2.403 MB / 0.6223 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5212, allocations: 28.05 kB / 0.6223 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.5212, allocations: 7.984 kB / 0.6223 GB, free: 228 kB / 410.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 0.0001294/0.5213, allocations: 112.2 kB / 0.6224 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5214, allocations: 11.81 kB / 0.6225 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.5221, allocations: 338.8 kB / 0.6228 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5221, allocations: 4 kB / 0.6228 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5221, allocations: 7.844 kB / 0.6228 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5222, allocations: 3.938 kB / 0.6228 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.5225, allocations: 266.9 kB / 0.6231 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5225, allocations: 4 kB / 0.6231 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.523, allocations: 87.92 kB / 0.6231 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.523, allocations: 4 kB / 0.6231 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.523, allocations: 7.375 kB / 0.6232 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.5243, allocations: 2.405 MB / 0.6255 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5243, allocations: 4.281 kB / 0.6255 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003886/0.5247, allocations: 326.2 kB / 0.6258 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.5248, allocations: 123.9 kB / 0.6259 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5249, allocations: 0 / 0.6259 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.5251, allocations: 11.98 kB / 0.6259 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.5251, allocations: 23.34 kB / 0.626 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.5252, allocations: 8 kB / 0.626 GB, free: 12.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.585e-05/0.5253, allocations: 98.39 kB / 0.6261 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007221/0.526, allocations: 194.2 kB / 0.6263 GB, free: 12.18 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.0007497/0.5267, allocations: 278.7 kB / 0.6265 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.5274, allocations: 229.1 kB / 0.6267 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5274, allocations: 0 / 0.6267 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.5279, allocations: 162 kB / 0.6269 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.5281, allocations: 15.89 kB / 0.6269 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.529, allocations: 352.8 kB / 0.6272 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.5295, allocations: 0.8318 MB / 0.6281 GB, free: 10.35 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5295, allocations: 4 kB / 0.6281 GB, free: 10.35 MB / 426.7 MB Notification: Performance of Templates: time 0.01046/0.54, allocations: 5.325 MB / 0.6333 GB, free: 5.07 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","../files/ModelicaTest_trunk_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]