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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 186.6 kB / 16.4 MB, free: 5.75 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00114/0.00114, allocations: 104.5 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.514/0.514, allocations: 43.55 MB / 362.7 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 11.98 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.6097, allocations: 101.1 MB / 0.5775 GB, free: 1.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/0.6101, allocations: 98.5 kB / 0.5776 GB, free: 1.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05878/0.6689, allocations: 12.38 MB / 0.5897 GB, free: 4.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.669, allocations: 0 / 0.5897 GB, free: 4.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.669, allocations: 8 kB / 0.5897 GB, free: 4.957 MB / 410.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.00121/0.6702, allocations: 0.6189 MB / 0.5903 GB, free: 4.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6703, allocations: 8.031 kB / 0.5903 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.6704, allocations: 39.53 kB / 0.5903 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6708, allocations: 242.5 kB / 0.5905 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.6708, allocations: 25 kB / 0.5906 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.6709, allocations: 36 kB / 0.5906 GB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.6718, allocations: 370.5 kB / 0.591 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.6718, allocations: 1.031 kB / 0.591 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.6719, allocations: 8 kB / 0.591 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.6719, allocations: 15.98 kB / 0.591 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.6726, allocations: 275.8 kB / 0.5912 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.6746, allocations: 0.8962 MB / 0.5921 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.675, allocations: 90.53 kB / 0.5922 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.6751, allocations: 4 kB / 0.5922 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6751, allocations: 34.56 kB / 0.5922 GB, free: 2.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.6751, allocations: 0 / 0.5922 GB, free: 2.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001094/0.6762, allocations: 0.5094 MB / 0.5927 GB, free: 1.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.6763, allocations: 51.41 kB / 0.5928 GB, free: 1.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.6768, allocations: 349 kB / 0.5931 GB, free: 1.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.6769, allocations: 25.7 kB / 0.5931 GB, free: 1.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.6771, allocations: 293.5 kB / 0.5934 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.6772, allocations: 31.55 kB / 0.5935 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.6772, allocations: 7.938 kB / 0.5935 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6774, allocations: 334.8 kB / 0.5938 GB, free: 476 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.6777, allocations: 60.23 kB / 0.5938 GB, free: 412 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.6782, allocations: 262.8 kB / 0.5941 GB, free: 60 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.6786, allocations: 107.8 kB / 0.5942 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.6786, allocations: 4 kB / 0.5942 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001013/0.6796, allocations: 325.2 kB / 0.5945 GB, free: 15.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6797, allocations: 8 kB / 0.5945 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/0.6797, allocations: 23.98 kB / 0.5945 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6798, allocations: 12 kB / 0.5945 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.6801, allocations: 63.84 kB / 0.5946 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.6802, allocations: 12.44 kB / 0.5946 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.6806, allocations: 67.36 kB / 0.5947 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.6806, allocations: 20 kB / 0.5947 GB, free: 15.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.6809, allocations: 149.7 kB / 0.5948 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.6809, allocations: 35.53 kB / 0.5949 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009331/0.6819, allocations: 232.6 kB / 0.5951 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6819, allocations: 0 / 0.5951 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6819, allocations: 0 / 0.5951 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.6819, allocations: 0 / 0.5951 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.6824, allocations: 285.4 kB / 0.5954 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.6825, allocations: 16 kB / 0.5954 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.6826, allocations: 11.98 kB / 0.5954 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.6826, allocations: 4 kB / 0.5954 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.6827, allocations: 8 kB / 0.5954 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6827, allocations: 0 / 0.5954 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6827, allocations: 0 / 0.5954 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.6834, allocations: 263 kB / 0.5957 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6835, allocations: 112.6 kB / 0.5958 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.6836, allocations: 0 / 0.5958 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.6839, allocations: 8 kB / 0.5958 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.6839, allocations: 7.984 kB / 0.5958 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.684, allocations: 8.25 kB / 0.5958 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.6844, allocations: 275.1 kB / 0.5961 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.495e-06/0.6844, allocations: 0 / 0.5961 GB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009156/0.6854, allocations: 147.8 kB / 0.5962 GB, free: 13.8 MB / 426.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007868/0.6862, allocations: 279.9 kB / 0.5965 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.6873, allocations: 312.3 kB / 0.5968 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6873, allocations: 0 / 0.5968 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.6879, allocations: 198.2 kB / 0.5969 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.6883, allocations: 37.48 kB / 0.597 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6899, allocations: 0.643 MB / 0.5976 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.6904, allocations: 0.7833 MB / 0.5984 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.6905, allocations: 27.38 kB / 0.5984 GB, free: 11.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6905, allocations: 0 / 0.5984 GB, free: 11.43 MB / 426.7 MB Notification: Performance of Templates: time 0.01999/0.7105, allocations: 9.89 MB / 0.6081 GB, free: 1.562 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches