Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002347/0.002346, allocations: 187.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001151/0.001151, allocations: 94.8 kB / 270.9 MB, free: 13.29 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.2853/0.2853, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006322/0.0006323, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1211, allocations: 58.86 MB / 490.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003036/0.1242, allocations: 1.611 MB / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1261, allocations: 0.7611 MB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1263, allocations: 0 / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1266, allocations: 59.72 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.127, allocations: 79.72 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1273, allocations: 59.86 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.1277, allocations: 191.6 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1278, allocations: 36.36 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.128, allocations: 87.56 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1283, allocations: 119.5 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.1283, allocations: 4 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1287, allocations: 119.8 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1288, allocations: 59.8 kB / 493.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.1289, allocations: 61.58 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1294, allocations: 211.8 kB / 493.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1294, allocations: 4 kB / 493.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1294, allocations: 0 / 493.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1294, allocations: 0 / 493.7 MB, free: 5.836 MB / 330.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.001147/0.1306, allocations: 0.5223 MB / 494.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1307, allocations: 12.02 kB / 494.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.1308, allocations: 27.62 kB / 494.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1312, allocations: 239.1 kB / 494.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1312, allocations: 24.56 kB / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.1313, allocations: 27.98 kB / 494.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.1323, allocations: 389.2 kB / 494.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1324, allocations: 0 / 494.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.1324, allocations: 12 kB / 494.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.1325, allocations: 24.64 kB / 495 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1337, allocations: 430.2 kB / 495.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.136, allocations: 0.8929 MB / 496.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1371, allocations: 301.2 kB / 496.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.1371, allocations: 7.984 kB / 496.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1372, allocations: 38.56 kB / 496.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.1372, allocations: 0 / 496.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001389/0.1386, allocations: 365.3 kB / 497 MB, free: 2.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1387, allocations: 59.41 kB / 497 MB, free: 2.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.1393, allocations: 351.2 kB / 497.4 MB, free: 1.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1393, allocations: 25.7 kB / 497.4 MB, free: 1.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1395, allocations: 214.6 kB / 497.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.1396, allocations: 51.36 kB / 497.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1396, allocations: 4 kB / 497.7 MB, free: 1.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1398, allocations: 318.8 kB / 498 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.1402, allocations: 104.3 kB / 498.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.1406, allocations: 154.6 kB / 498.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.141, allocations: 119.9 kB / 498.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1411, allocations: 0 / 498.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001034/0.1421, allocations: 311.2 kB / 498.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1421, allocations: 4 kB / 498.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1422, allocations: 7.984 kB / 498.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1422, allocations: 0 / 498.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.1432, allocations: 112 kB / 498.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1461, allocations: 3.707 MB / 0.4907 GB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.1465, allocations: 35.81 kB / 0.4907 GB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.1466, allocations: 11.98 kB / 0.4907 GB, free: 12.64 MB / 346.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.0002963/0.1469, allocations: 173.7 kB / 0.4909 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.147, allocations: 27.62 kB / 0.4909 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.1482, allocations: 367.2 kB / 0.4913 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1483, allocations: 3.984 kB / 0.4913 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1483, allocations: 0 / 0.4913 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1483, allocations: 3.984 kB / 0.4913 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.1489, allocations: 313.3 kB / 0.4916 GB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1489, allocations: 7.938 kB / 0.4916 GB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.15, allocations: 107.9 kB / 0.4917 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.15, allocations: 0 / 0.4917 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.15, allocations: 8 kB / 0.4917 GB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.1528, allocations: 3.704 MB / 0.4953 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1529, allocations: 4.031 kB / 0.4953 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1539, allocations: 371.3 kB / 0.4957 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1541, allocations: 112.7 kB / 0.4958 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.1541, allocations: 4 kB / 0.4958 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.1544, allocations: 11.98 kB / 0.4958 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.1545, allocations: 15.98 kB / 0.4958 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.1546, allocations: 7.984 kB / 0.4958 GB, free: 7.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004339/0.155, allocations: 249.9 kB / 0.4961 GB, free: 6.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1551, allocations: 0 / 0.4961 GB, free: 6.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005434/0.1556, allocations: 83.84 kB / 0.4961 GB, free: 6.867 MB / 346.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.0002907/0.1559, allocations: 119.4 kB / 0.4963 GB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.1577, allocations: 331.6 kB / 0.4966 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1577, allocations: 0 / 0.4966 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.1589, allocations: 208.1 kB / 0.4968 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.1595, allocations: 52.56 kB / 0.4968 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1611, allocations: 0.6941 MB / 0.4975 GB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.1616, allocations: 0.8027 MB / 0.4983 GB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.1618, allocations: 27.42 kB / 0.4983 GB, free: 4.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1618, allocations: 0 / 0.4983 GB, free: 4.59 MB / 346.7 MB Notification: Performance of Templates: time 0.0217/0.1835, allocations: 10.83 MB / 0.5089 GB, free: 9.758 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches