Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009618, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008123/0.0008124, allocations: 87.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1931/0.1931, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.701e-05, allocations: 4.219 kB / 451.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4596, allocations: 92.71 MB / 0.5923 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4599, allocations: 87.94 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.487, allocations: 10.3 MB / 0.6024 GB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.487, allocations: 0 / 0.6024 GB, free: 2.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4871, allocations: 4 kB / 0.6024 GB, free: 2.141 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.0006618/0.4877, allocations: 0.4943 MB / 0.6029 GB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4878, allocations: 8.031 kB / 0.6029 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4879, allocations: 27.72 kB / 0.6029 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.4882, allocations: 243.2 kB / 0.6032 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.4882, allocations: 20.56 kB / 0.6032 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.4883, allocations: 23.95 kB / 0.6032 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.4889, allocations: 374 kB / 0.6036 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4889, allocations: 3.938 kB / 0.6036 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.4889, allocations: 11.98 kB / 0.6036 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.489, allocations: 28.77 kB / 0.6036 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.4895, allocations: 378.9 kB / 0.604 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4908, allocations: 0.8974 MB / 0.6048 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.4914, allocations: 278.3 kB / 0.6051 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4915, allocations: 88.78 kB / 0.6052 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4916, allocations: 4 kB / 0.6052 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4916, allocations: 38.5 kB / 0.6052 GB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.4916, allocations: 0 / 0.6052 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004248/0.492, allocations: 242.1 kB / 0.6055 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.4921, allocations: 55.41 kB / 0.6055 GB, free: 14.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.4924, allocations: 307.4 kB / 0.6058 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4925, allocations: 29.7 kB / 0.6058 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.4926, allocations: 168.2 kB / 0.606 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.4926, allocations: 55.2 kB / 0.606 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4926, allocations: 7.938 kB / 0.6061 GB, free: 14.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4927, allocations: 334.8 kB / 0.6064 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4929, allocations: 88.3 kB / 0.6065 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4931, allocations: 141.1 kB / 0.6066 GB, free: 13.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.4932, allocations: 106.1 kB / 0.6067 GB, free: 13.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4932, allocations: 4 kB / 0.6067 GB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004368/0.4937, allocations: 285 kB / 0.607 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4937, allocations: 8 kB / 0.607 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4937, allocations: 0 / 0.607 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4938, allocations: 4 kB / 0.607 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.4944, allocations: 111.9 kB / 0.6071 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.4965, allocations: 3.704 MB / 0.6107 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4968, allocations: 39.94 kB / 0.6107 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4968, allocations: 15.98 kB / 0.6108 GB, free: 9.207 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4969, allocations: 115 kB / 0.6109 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.497, allocations: 31.62 kB / 0.6109 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.4975, allocations: 318.5 kB / 0.6112 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4975, allocations: 7.953 kB / 0.6112 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4976, allocations: 0 / 0.6112 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4976, allocations: 3.984 kB / 0.6112 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.4979, allocations: 313.4 kB / 0.6115 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.4979, allocations: 3.984 kB / 0.6115 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.4985, allocations: 107.8 kB / 0.6116 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4985, allocations: 0 / 0.6116 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4985, allocations: 4 kB / 0.6116 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.5003, allocations: 3.707 MB / 0.6152 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5003, allocations: 0 / 0.6152 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.5007, allocations: 339.3 kB / 0.6156 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.5008, allocations: 100.8 kB / 0.6157 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.5008, allocations: 4.188 kB / 0.6157 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.501, allocations: 15.98 kB / 0.6157 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.501, allocations: 19.92 kB / 0.6157 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5011, allocations: 7.984 kB / 0.6157 GB, free: 3.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.5013, allocations: 251.1 kB / 0.6159 GB, free: 3.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5013, allocations: 0 / 0.6159 GB, free: 3.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.5017, allocations: 79.83 kB / 0.616 GB, free: 3.582 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.5019, allocations: 170 kB / 0.6162 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007262/0.5027, allocations: 275.6 kB / 0.6164 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5027, allocations: 0 / 0.6164 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.5032, allocations: 167.7 kB / 0.6166 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.5035, allocations: 60.84 kB / 0.6167 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.5042, allocations: 414.7 kB / 0.6171 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.5046, allocations: 0.8066 MB / 0.6178 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000156/0.5048, allocations: 66 kB / 0.6179 GB, free: 1.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.5048, allocations: 19.44 kB / 0.6179 GB, free: 1.574 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5048, allocations: 4 kB / 0.6179 GB, free: 1.57 MB / 426.7 MB Notification: Performance of Templates: time 0.008534/0.5134, allocations: 5.421 MB / 0.6232 GB, free: 12.22 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches