Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.562/1.562, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001052/0.001052, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 58.87 MB / 490.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4797, allocations: 91.65 MB / 0.5683 GB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.48, allocations: 100.9 kB / 0.5684 GB, free: 8.039 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.5073, allocations: 10.07 MB / 0.5782 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5074, allocations: 4 kB / 0.5782 GB, free: 15.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5074, allocations: 4 kB / 0.5782 GB, free: 15.39 MB / 394.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.0007361/0.5081, allocations: 0.5099 MB / 0.5787 GB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5082, allocations: 8.031 kB / 0.5787 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.5083, allocations: 27.62 kB / 0.5787 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.5086, allocations: 251 kB / 0.579 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5086, allocations: 16.19 kB / 0.579 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.5087, allocations: 35.48 kB / 0.579 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.5093, allocations: 381.8 kB / 0.5794 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5094, allocations: 0 / 0.5794 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.5094, allocations: 15.61 kB / 0.5794 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/0.5094, allocations: 24.58 kB / 0.5794 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.5101, allocations: 422 kB / 0.5798 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.5116, allocations: 0.8956 MB / 0.5807 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.5122, allocations: 297.2 kB / 0.581 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5122, allocations: 12 kB / 0.581 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5123, allocations: 30.56 kB / 0.581 GB, free: 12.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5123, allocations: 4 kB / 0.581 GB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007733/0.5131, allocations: 371.3 kB / 0.5814 GB, free: 12.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.5131, allocations: 59.41 kB / 0.5815 GB, free: 12.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.5134, allocations: 314 kB / 0.5818 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.5135, allocations: 25.7 kB / 0.5818 GB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5136, allocations: 170.1 kB / 0.5819 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.5136, allocations: 50.2 kB / 0.582 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.5137, allocations: 7.312 kB / 0.582 GB, free: 11.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5138, allocations: 336.7 kB / 0.5823 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.514, allocations: 102.4 kB / 0.5824 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.5142, allocations: 153.3 kB / 0.5826 GB, free: 11.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.5145, allocations: 122.5 kB / 0.5827 GB, free: 11.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5145, allocations: 0 / 0.5827 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005367/0.515, allocations: 329.8 kB / 0.583 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.515, allocations: 6.656 kB / 0.583 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5151, allocations: 7.938 kB / 0.583 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5151, allocations: 0 / 0.583 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.5156, allocations: 107.9 kB / 0.5831 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.5175, allocations: 3.709 MB / 0.5867 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.5177, allocations: 39.39 kB / 0.5868 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5178, allocations: 8 kB / 0.5868 GB, free: 6.887 MB / 394.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 () * Number of clocked 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.0001699/0.5179, allocations: 170.9 kB / 0.5869 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.518, allocations: 31.66 kB / 0.587 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.5187, allocations: 367.8 kB / 0.5873 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5187, allocations: 0 / 0.5873 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5187, allocations: 0 / 0.5873 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5187, allocations: 0 / 0.5873 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.5191, allocations: 317.1 kB / 0.5876 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5191, allocations: 0 / 0.5876 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5196, allocations: 107.8 kB / 0.5877 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5196, allocations: 7.953 kB / 0.5877 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.5196, allocations: 11.23 kB / 0.5877 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.5216, allocations: 3.698 MB / 0.5914 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5216, allocations: 0 / 0.5914 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.5221, allocations: 379.1 kB / 0.5917 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.5222, allocations: 108.8 kB / 0.5918 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.5223, allocations: 7.797 kB / 0.5918 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.5225, allocations: 8 kB / 0.5918 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.5225, allocations: 18.28 kB / 0.5919 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5225, allocations: 4 kB / 0.5919 GB, free: 1.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.5228, allocations: 253.6 kB / 0.5921 GB, free: 1.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5228, allocations: 3.938 kB / 0.5921 GB, free: 1.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.5232, allocations: 86.7 kB / 0.5922 GB, free: 1.336 MB / 394.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 (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.0002913/0.5235, allocations: 160.6 kB / 0.5923 GB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008605/0.5244, allocations: 308 kB / 0.5926 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5244, allocations: 0 / 0.5926 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.5249, allocations: 178 kB / 0.5928 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.5253, allocations: 65.05 kB / 0.5929 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.5262, allocations: 0.6648 MB / 0.5935 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.5266, allocations: 0.8015 MB / 0.5943 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.5267, allocations: 70.22 kB / 0.5944 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.5268, allocations: 19.44 kB / 0.5944 GB, free: 15.12 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.5268, allocations: 0 / 0.5944 GB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.008848/0.5357, allocations: 5.294 MB / 0.5996 GB, free: 9.867 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches