Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.08 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 243 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 44.24 MB / 338.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 8.875 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002285/0.1096, allocations: 1.878 MB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1111, allocations: 1.056 MB / 475.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1113, allocations: 3.938 kB / 475.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1116, allocations: 83.48 kB / 476 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1119, allocations: 75.47 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1122, allocations: 98.27 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.1124, allocations: 190.8 kB / 476.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.1125, allocations: 12.41 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.1126, allocations: 67.58 kB / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1128, allocations: 87.5 kB / 476.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1128, allocations: 8 kB / 476.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.1132, allocations: 267.6 kB / 476.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1133, allocations: 27.8 kB / 476.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.1134, allocations: 109 kB / 476.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.1137, allocations: 211.2 kB / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1137, allocations: 0 / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1137, allocations: 0 / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1137, allocations: 0 / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005781/0.1143, allocations: 477.4 kB / 477.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1144, allocations: 8.031 kB / 477.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.1144, allocations: 24.66 kB / 477.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1146, allocations: 223.9 kB / 477.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1147, allocations: 12.81 kB / 477.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1147, allocations: 24.12 kB / 477.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1151, allocations: 235.2 kB / 478.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1152, allocations: 4 kB / 478.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1152, allocations: 4 kB / 478.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1152, allocations: 7.938 kB / 478.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1157, allocations: 257.6 kB / 478.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.1166, allocations: 0.6157 MB / 479 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1169, allocations: 114.6 kB / 479.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1171, allocations: 44.91 kB / 479.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1171, allocations: 3.984 kB / 479.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1171, allocations: 30.56 kB / 479.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1171, allocations: 0 / 479.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005547/0.1177, allocations: 185.3 kB / 479.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1177, allocations: 51.41 kB / 479.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.118, allocations: 275.2 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.118, allocations: 33.7 kB / 479.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1182, allocations: 167.4 kB / 479.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1182, allocations: 39.48 kB / 479.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1182, allocations: 25.64 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1184, allocations: 338.8 kB / 480.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1185, allocations: 51.97 kB / 480.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1188, allocations: 152.8 kB / 480.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.1192, allocations: 224.6 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1192, allocations: 7.938 kB / 480.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005022/0.1197, allocations: 245 kB / 480.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1197, allocations: 8 kB / 480.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1197, allocations: 4 kB / 480.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1197, allocations: 4 kB / 480.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.1201, allocations: 92.23 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006906/0.1208, allocations: 1.215 MB / 482.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.1211, allocations: 39.58 kB / 482.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1211, allocations: 16.19 kB / 482.3 MB, free: 3.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.1212, allocations: 133.7 kB / 482.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1213, allocations: 23.72 kB / 482.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.1217, allocations: 183.2 kB / 482.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1218, allocations: 0 / 482.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1218, allocations: 4 kB / 482.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1218, allocations: 0 / 482.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.1225, allocations: 464.1 kB / 483.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1225, allocations: 0 / 483.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.1227, allocations: 55.97 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1227, allocations: 4 kB / 483.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1228, allocations: 8.062 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000633/0.1234, allocations: 1.215 MB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1234, allocations: 0 / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.1238, allocations: 261 kB / 484.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1239, allocations: 96.81 kB / 484.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1239, allocations: 4 kB / 484.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1241, allocations: 19.92 kB / 484.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1242, allocations: 4 kB / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1242, allocations: 12.11 kB / 484.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1244, allocations: 186 kB / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1244, allocations: 3.938 kB / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1247, allocations: 67.92 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.125, allocations: 135.8 kB / 485.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.1256, allocations: 187.6 kB / 485.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1256, allocations: 0.875 kB / 485.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.1259, allocations: 95.89 kB / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1263, allocations: 24.88 kB / 485.4 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.1271, allocations: 0.4993 MB / 485.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1274, allocations: 0.7365 MB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.1275, allocations: 19.44 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1275, allocations: 0 / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Templates: time 0.00644/0.1339, allocations: 4.331 MB / 491 MB, free: 10.62 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches