Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 179.3 kB / 16.41 MB, free: 5.707 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.268/1.268, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007041/0.0007041, allocations: 85.34 kB / 270.9 MB, free: 8.348 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.3204/0.3204, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003804, allocations: 12 kB / 431.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 58.84 MB / 490.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002824/0.114, allocations: 2.265 MB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.116, allocations: 1.381 MB / 493.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1161, allocations: 3.938 kB / 493.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1164, allocations: 91.42 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1167, allocations: 115.1 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1171, allocations: 191.4 kB / 494.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1174, allocations: 274.1 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.1175, allocations: 28.72 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1176, allocations: 87.47 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1178, allocations: 115.2 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1178, allocations: 8 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.1186, allocations: 0.5695 MB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1187, allocations: 39.72 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.1188, allocations: 73.52 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.1192, allocations: 350.8 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1192, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1192, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1192, allocations: 3.938 kB / 495.8 MB, free: 5.363 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007679/0.12, allocations: 0.5731 MB / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.12, allocations: 12.03 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.1201, allocations: 39.53 kB / 496.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1204, allocations: 246.4 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1204, allocations: 29 kB / 496.7 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.1205, allocations: 32 kB / 496.7 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.1212, allocations: 0.5763 MB / 497.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1212, allocations: 7.938 kB / 497.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1213, allocations: 23.94 kB / 497.4 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.1213, allocations: 15.95 kB / 497.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.1218, allocations: 337 kB / 497.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1834/0.3053, allocations: 4.035 MB / 0.49 GB, free: 40.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3056, allocations: 96.58 kB / 0.4901 GB, free: 40.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3058, allocations: 43 kB / 0.4901 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3058, allocations: 4.547 kB / 0.4901 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.3058, allocations: 33.06 kB / 0.4901 GB, free: 40.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.3058, allocations: 0 / 0.4901 GB, free: 40.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005401/0.3064, allocations: 182.9 kB / 0.4903 GB, free: 40 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3064, allocations: 57.02 kB / 0.4904 GB, free: 39.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.3068, allocations: 409.8 kB / 0.4908 GB, free: 39.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3069, allocations: 26.7 kB / 0.4908 GB, free: 39.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.307, allocations: 247.3 kB / 0.491 GB, free: 39.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.307, allocations: 32.11 kB / 0.4911 GB, free: 39.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.307, allocations: 7.469 kB / 0.4911 GB, free: 39.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.3071, allocations: 349.6 kB / 0.4914 GB, free: 39.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.3073, allocations: 58.8 kB / 0.4915 GB, free: 39.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3075, allocations: 277.2 kB / 0.4917 GB, free: 39.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3078, allocations: 95.86 kB / 0.4918 GB, free: 39.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3078, allocations: 5.406 kB / 0.4918 GB, free: 39.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006012/0.3084, allocations: 358.7 kB / 0.4922 GB, free: 39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3084, allocations: 16.52 kB / 0.4922 GB, free: 38.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3084, allocations: 7.375 kB / 0.4922 GB, free: 38.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3085, allocations: 10.69 kB / 0.4922 GB, free: 38.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.3089, allocations: 113.2 kB / 0.4923 GB, free: 38.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004565/0.3094, allocations: 1.219 MB / 0.4935 GB, free: 37.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3097, allocations: 66.42 kB / 0.4935 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.3097, allocations: 22.08 kB / 0.4936 GB, free: 37.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.3099, allocations: 146 kB / 0.4937 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.3099, allocations: 37.25 kB / 0.4937 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.3104, allocations: 188 kB / 0.4939 GB, free: 37.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3104, allocations: 1.312 kB / 0.4939 GB, free: 37.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3104, allocations: 0 / 0.4939 GB, free: 37.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3104, allocations: 3.609 kB / 0.4939 GB, free: 37.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3107, allocations: 278.8 kB / 0.4942 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3107, allocations: 0.7656 kB / 0.4942 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.311, allocations: 57.58 kB / 0.4943 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.311, allocations: 0 / 0.4943 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.311, allocations: 4.25 kB / 0.4943 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003775/0.3114, allocations: 1.211 MB / 0.4954 GB, free: 36.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3114, allocations: 1.312 kB / 0.4954 GB, free: 36.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.3118, allocations: 251 kB / 0.4957 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3118, allocations: 107.3 kB / 0.4958 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.3119, allocations: 8.75 kB / 0.4958 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3121, allocations: 9.734 kB / 0.4958 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.3121, allocations: 11.67 kB / 0.4958 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3121, allocations: 4.266 kB / 0.4958 GB, free: 35.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.3124, allocations: 270.1 kB / 0.4961 GB, free: 35.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3124, allocations: 0 / 0.4961 GB, free: 35.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.3129, allocations: 114.9 kB / 0.4962 GB, free: 35.85 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003244/0.3132, allocations: 170.2 kB / 0.4963 GB, free: 35.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.3138, allocations: 217.5 kB / 0.4965 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3138, allocations: 1.375 kB / 0.4966 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.3141, allocations: 85.88 kB / 0.4966 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3145, allocations: 40.97 kB / 0.4967 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.3153, allocations: 0.6042 MB / 0.4973 GB, free: 35.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.3155, allocations: 0.7729 MB / 0.498 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.3156, allocations: 24.78 kB / 0.498 GB, free: 34.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3156, allocations: 0 / 0.498 GB, free: 34.66 MB / 378.7 MB Notification: Performance of Templates: time 0.007783/0.3234, allocations: 6.601 MB / 0.5045 GB, free: 34.21 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches