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.0009898/0.0009899, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.001008/0.001008, allocations: 95.39 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.429e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5538, allocations: 92.04 MB / 0.5846 GB, free: 4.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5541, allocations: 99.92 kB / 0.5847 GB, free: 4.375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02735/0.5815, allocations: 10.17 MB / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5815, allocations: 0 / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.5816, allocations: 11.94 kB / 0.5946 GB, free: 10.14 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.0006436/0.5822, allocations: 0.4904 MB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5823, allocations: 15.98 kB / 0.5951 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.5823, allocations: 23.72 kB / 0.5951 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.5826, allocations: 239.2 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5827, allocations: 8.656 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.5827, allocations: 19.95 kB / 0.5954 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004427/0.5832, allocations: 341.1 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.5836, allocations: 332.8 kB / 0.596 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5836, allocations: 7.984 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.5837, allocations: 0 / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.5837, allocations: 20.77 kB / 0.5961 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.5849, allocations: 0.7915 MB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.5853, allocations: 310.2 kB / 0.5971 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5855, allocations: 100.8 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.5855, allocations: 4 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.5855, allocations: 38.91 kB / 0.5973 GB, free: 7.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.946e-06/0.5856, allocations: 112 / 0.5973 GB, free: 7.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000433/0.586, allocations: 249.4 kB / 0.5975 GB, free: 7.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.586, allocations: 51.41 kB / 0.5976 GB, free: 6.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5862, allocations: 155.6 kB / 0.5977 GB, free: 6.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.5862, allocations: 25.7 kB / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.5863, allocations: 171.9 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.5864, allocations: 63.09 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.5864, allocations: 0 / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.5865, allocations: 326.8 kB / 0.5983 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.5866, allocations: 99.91 kB / 0.5984 GB, free: 6.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.5868, allocations: 141.9 kB / 0.5985 GB, free: 5.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.587, allocations: 121.9 kB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.587, allocations: 0 / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004089/0.5874, allocations: 281.2 kB / 0.5989 GB, free: 5.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5874, allocations: 13.19 kB / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5874, allocations: 0 / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5875, allocations: 4 kB / 0.5989 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.588, allocations: 112.1 kB / 0.599 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5899, allocations: 3.727 MB / 0.6026 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.5901, allocations: 19.97 kB / 0.6027 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.5901, allocations: 19.98 kB / 0.6027 GB, free: 1.512 MB / 410.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 (25): * 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): 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.00011/0.5902, allocations: 109.6 kB / 0.6028 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.5903, allocations: 15.81 kB / 0.6028 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.5908, allocations: 336.1 kB / 0.6031 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5909, allocations: 0 / 0.6031 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5909, allocations: 11.98 kB / 0.6031 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5909, allocations: 0 / 0.6031 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.5912, allocations: 289.9 kB / 0.6034 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5913, allocations: 0 / 0.6034 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.5918, allocations: 111.9 kB / 0.6035 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5918, allocations: 0 / 0.6035 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5918, allocations: 4 kB / 0.6035 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.5937, allocations: 3.719 MB / 0.6071 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5937, allocations: 3.984 kB / 0.6072 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.5942, allocations: 351.3 kB / 0.6075 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.5942, allocations: 104.8 kB / 0.6076 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.5943, allocations: 0 / 0.6076 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.5944, allocations: 11.92 kB / 0.6076 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.5945, allocations: 15.97 kB / 0.6076 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.5945, allocations: 8 kB / 0.6076 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.5946, allocations: 124.9 kB / 0.6077 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5946, allocations: 0 / 0.6077 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.595, allocations: 87.69 kB / 0.6078 GB, free: 12.02 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 (19): * Single equations (assignments): 13 * 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.000285/0.5953, allocations: 171.2 kB / 0.608 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.5961, allocations: 290 kB / 0.6083 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5961, allocations: 0 / 0.6083 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.5966, allocations: 176.2 kB / 0.6084 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.5968, allocations: 15.94 kB / 0.6084 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.5976, allocations: 393.9 kB / 0.6088 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5979, allocations: 0.818 MB / 0.6096 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.5981, allocations: 49.16 kB / 0.6097 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.5981, allocations: 15.42 kB / 0.6097 GB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5981, allocations: 4 kB / 0.6097 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Templates: time 0.006334/0.6045, allocations: 3.378 MB / 0.613 GB, free: 6.711 MB / 426.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