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.001479/0.001479, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.42/1.42, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007757/0.0007755, allocations: 90.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3352/0.3352, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 8 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 58.84 MB / 490.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002312/0.136, allocations: 1.668 MB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1375, allocations: 0.7805 MB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1376, allocations: 3.938 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1379, allocations: 51.72 kB / 492.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1383, allocations: 115.5 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1385, allocations: 51.81 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.139, allocations: 378.5 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.1391, allocations: 32.38 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1393, allocations: 119.4 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1395, allocations: 151.3 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.1396, allocations: 8 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.1399, allocations: 111.8 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.14, allocations: 67.67 kB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.14, allocations: 65.58 kB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1404, allocations: 251.5 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1404, allocations: 0 / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1404, allocations: 0 / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1404, allocations: 0 / 494.1 MB, free: 7.352 MB / 378.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.0008579/0.1413, allocations: 0.5184 MB / 494.6 MB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1413, allocations: 15.97 kB / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.1414, allocations: 31.58 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1417, allocations: 251.1 kB / 494.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1418, allocations: 24.55 kB / 494.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.1418, allocations: 23.94 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.1425, allocations: 393.2 kB / 495.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1425, allocations: 3.984 kB / 495.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.1426, allocations: 15.97 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.1426, allocations: 24.64 kB / 495.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.1433, allocations: 426.2 kB / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1446, allocations: 0.8735 MB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.1452, allocations: 302.3 kB / 496.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1454, allocations: 112.8 kB / 497.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1455, allocations: 3.938 kB / 497.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1455, allocations: 38.56 kB / 497.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1455, allocations: 0 / 497.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007734/0.1463, allocations: 376.8 kB / 497.5 MB, free: 3.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1463, allocations: 51.41 kB / 497.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.1467, allocations: 351.2 kB / 497.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1467, allocations: 29.7 kB / 497.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.1468, allocations: 152.3 kB / 498 MB, free: 3.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.1469, allocations: 63.27 kB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.1469, allocations: 0 / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.147, allocations: 342.8 kB / 498.4 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1472, allocations: 104.3 kB / 498.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.1475, allocations: 162.6 kB / 498.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.1477, allocations: 119.9 kB / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1477, allocations: 0 / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005501/0.1483, allocations: 317.2 kB / 499.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1483, allocations: 11.94 kB / 499.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1483, allocations: 4 kB / 499.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1483, allocations: 0 / 499.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.1489, allocations: 115.9 kB / 499.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1856/0.3344, allocations: 3.703 MB / 0.4912 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3348, allocations: 34.62 kB / 0.4912 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.3348, allocations: 14.89 kB / 0.4912 GB, free: 41.58 MB / 378.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.0002521/0.3351, allocations: 174.3 kB / 0.4914 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.3352, allocations: 28.62 kB / 0.4914 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.336, allocations: 350.1 kB / 0.4917 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.336, allocations: 1.875 kB / 0.4917 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.336, allocations: 1.031 kB / 0.4917 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.336, allocations: 9.25 kB / 0.4918 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3364, allocations: 303.4 kB / 0.492 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.3364, allocations: 1.312 kB / 0.492 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.3369, allocations: 118.2 kB / 0.4922 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.337, allocations: 1.703 kB / 0.4922 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.337, allocations: 7.234 kB / 0.4922 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.3383, allocations: 3.709 MB / 0.4958 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3384, allocations: 0.6562 kB / 0.4958 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.3389, allocations: 374.1 kB / 0.4961 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.339, allocations: 108.1 kB / 0.4962 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3391, allocations: 4.016 kB / 0.4962 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3393, allocations: 9.234 kB / 0.4963 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.3393, allocations: 17.95 kB / 0.4963 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3394, allocations: 10.66 kB / 0.4963 GB, free: 37.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.3396, allocations: 256.5 kB / 0.4965 GB, free: 37.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3397, allocations: 1.031 kB / 0.4965 GB, free: 37.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.34, allocations: 76.78 kB / 0.4966 GB, free: 37.41 MB / 378.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.0002241/0.3403, allocations: 126.6 kB / 0.4967 GB, free: 37.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009566/0.3412, allocations: 329.1 kB / 0.497 GB, free: 37.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3413, allocations: 0 / 0.497 GB, free: 37.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.3419, allocations: 213.5 kB / 0.4972 GB, free: 37.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3424, allocations: 55.52 kB / 0.4973 GB, free: 37.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3436, allocations: 0.6856 MB / 0.498 GB, free: 37.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3439, allocations: 0.794 MB / 0.4987 GB, free: 36.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.344, allocations: 25.62 kB / 0.4988 GB, free: 36.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.344, allocations: 0 / 0.4988 GB, free: 36.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01402/0.358, allocations: 11.19 MB / 0.5097 GB, free: 35.62 MB / 378.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/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches