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.001357/0.001357, allocations: 174.8 kB / 16.72 MB, free: 5.082 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.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007298/0.0007298, allocations: 94.34 kB / 271.2 MB, free: 8.242 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.2903/0.2903, allocations: 43.55 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004141, allocations: 19.98 kB / 432 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 58.84 MB / 490.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002454/0.1091, allocations: 2.265 MB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.111, allocations: 1.385 MB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1111, allocations: 7.938 kB / 494.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1114, allocations: 79.44 kB / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1117, allocations: 123 kB / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1121, allocations: 195.4 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.1124, allocations: 270.1 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.1124, allocations: 28.7 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.1125, allocations: 91.47 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1127, allocations: 123.2 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1127, allocations: 8 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007701/0.1135, allocations: 0.5578 MB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1136, allocations: 43.7 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1137, allocations: 148.8 kB / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1141, allocations: 346.9 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1141, allocations: 0 / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1141, allocations: 0 / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1141, allocations: 4 kB / 496.5 MB, free: 4.941 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.0006893/0.1148, allocations: 0.5656 MB / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1149, allocations: 16.02 kB / 497.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.1149, allocations: 36.47 kB / 497.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1152, allocations: 259.3 kB / 497.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1153, allocations: 25.38 kB / 497.4 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.1153, allocations: 40.12 kB / 497.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.116, allocations: 0.5841 MB / 498 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.116, allocations: 7.938 kB / 498 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.1161, allocations: 15.94 kB / 498 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1161, allocations: 12 kB / 498 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.1166, allocations: 345 kB / 498.4 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1592/0.2759, allocations: 4.031 MB / 0.4906 GB, free: 40.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2762, allocations: 98.75 kB / 0.4907 GB, free: 40.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.2763, allocations: 44.17 kB / 0.4908 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2763, allocations: 2.625 kB / 0.4908 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.2763, allocations: 37.5 kB / 0.4908 GB, free: 40.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.2763, allocations: 0 / 0.4908 GB, free: 40.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004816/0.2768, allocations: 182.5 kB / 0.491 GB, free: 40 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.2769, allocations: 56.62 kB / 0.491 GB, free: 39.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.2772, allocations: 404.7 kB / 0.4914 GB, free: 39.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2773, allocations: 27.52 kB / 0.4914 GB, free: 39.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2774, allocations: 253.3 kB / 0.4917 GB, free: 39.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2774, allocations: 30.33 kB / 0.4917 GB, free: 39.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.2774, allocations: 8.906 kB / 0.4917 GB, free: 39.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.2775, allocations: 349.2 kB / 0.4921 GB, free: 39.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.2777, allocations: 61.95 kB / 0.4921 GB, free: 39.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2779, allocations: 270.8 kB / 0.4924 GB, free: 39.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.2783, allocations: 362.4 kB / 0.4927 GB, free: 38.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2783, allocations: 4.781 kB / 0.4927 GB, free: 38.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005814/0.2789, allocations: 359.8 kB / 0.4931 GB, free: 38.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2789, allocations: 8.172 kB / 0.4931 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2789, allocations: 12.16 kB / 0.4931 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2789, allocations: 9.75 kB / 0.4931 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.2794, allocations: 116.2 kB / 0.4932 GB, free: 38.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000406/0.2798, allocations: 1.215 MB / 0.4944 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.2801, allocations: 67.89 kB / 0.4945 GB, free: 37.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2801, allocations: 25.16 kB / 0.4945 GB, free: 37.51 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.0001184/0.2803, allocations: 154.9 kB / 0.4946 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.2803, allocations: 37.14 kB / 0.4947 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.2807, allocations: 182.6 kB / 0.4948 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2807, allocations: 1.438 kB / 0.4948 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2808, allocations: 0 / 0.4948 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2808, allocations: 5.797 kB / 0.4948 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.281, allocations: 283.2 kB / 0.4951 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.281, allocations: 0.7656 kB / 0.4951 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2813, allocations: 56.16 kB / 0.4952 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2813, allocations: 1.859 kB / 0.4952 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2813, allocations: 3.047 kB / 0.4952 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/0.2817, allocations: 1.208 MB / 0.4964 GB, free: 35.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2817, allocations: 1.219 kB / 0.4964 GB, free: 35.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.282, allocations: 249.6 kB / 0.4966 GB, free: 35.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.2821, allocations: 110.9 kB / 0.4967 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.2821, allocations: 0.8125 kB / 0.4967 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2823, allocations: 10.39 kB / 0.4967 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2823, allocations: 8.812 kB / 0.4967 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2824, allocations: 3.953 kB / 0.4967 GB, free: 35.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.2826, allocations: 280.1 kB / 0.497 GB, free: 35.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2826, allocations: 1.344 kB / 0.497 GB, free: 35.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.2831, allocations: 107.5 kB / 0.4971 GB, free: 35.57 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.000349/0.2835, allocations: 178.5 kB / 0.4973 GB, free: 35.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.284, allocations: 217 kB / 0.4975 GB, free: 35.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.284, allocations: 0 / 0.4975 GB, free: 35.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.2843, allocations: 78.7 kB / 0.4975 GB, free: 35.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2847, allocations: 48.59 kB / 0.4976 GB, free: 35.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.2854, allocations: 0.6075 MB / 0.4982 GB, free: 35.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2856, allocations: 0.7719 MB / 0.4989 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.2857, allocations: 25.88 kB / 0.499 GB, free: 34.37 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.2857, allocations: 0 / 0.499 GB, free: 34.37 MB / 378.7 MB Notification: Performance of Templates: time 0.007704/0.2934, allocations: 6.579 MB / 0.5054 GB, free: 33.92 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