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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_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.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001902/0.001902, allocations: 194 kB / 18.77 MB, free: 4.742 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.508/1.508, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.1979/0.1979, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 69.09 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1002, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003434/0.1037, allocations: 2.144 MB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1062, allocations: 1.76 MB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1064, allocations: 0 / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1067, allocations: 83.5 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1069, allocations: 55.48 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.1076, allocations: 271.1 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1078, allocations: 159 kB / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.1079, allocations: 16.31 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.108, allocations: 63.53 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.1081, allocations: 67.59 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1081, allocations: 4 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.1092, allocations: 0.7529 MB / 474.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1093, allocations: 27.8 kB / 474.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.1094, allocations: 71.48 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.1098, allocations: 366.9 kB / 475 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1098, allocations: 0 / 475 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1098, allocations: 0 / 475 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1098, allocations: 4 kB / 475 MB, free: 8.973 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006236/0.1105, allocations: 0.5031 MB / 475.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1105, allocations: 8.031 kB / 475.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1106, allocations: 28.59 kB / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1108, allocations: 212.5 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1108, allocations: 20.38 kB / 475.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1108, allocations: 16 kB / 475.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.1112, allocations: 267.5 kB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1113, allocations: 0 / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1113, allocations: 8 kB / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1113, allocations: 8 kB / 476.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.1116, allocations: 160.2 kB / 476.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.1126, allocations: 0.9041 MB / 477.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1128, allocations: 66.55 kB / 477.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1129, allocations: 36.94 kB / 477.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1129, allocations: 3.984 kB / 477.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1129, allocations: 30.56 kB / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1129, allocations: 0 / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000428/0.1134, allocations: 141.3 kB / 477.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1134, allocations: 55.34 kB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1136, allocations: 266.9 kB / 477.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1137, allocations: 25.7 kB / 477.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1138, allocations: 183 kB / 477.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.1138, allocations: 19.73 kB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.1139, allocations: 53.61 kB / 478 MB, free: 5.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.114, allocations: 330.8 kB / 478.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1141, allocations: 48.19 kB / 478.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1144, allocations: 188.1 kB / 478.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.1147, allocations: 259.6 kB / 478.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1147, allocations: 4 kB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004348/0.1152, allocations: 252.9 kB / 479.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1152, allocations: 8 kB / 479.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.1152, allocations: 12.69 kB / 479.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1153, allocations: 15.94 kB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1154, allocations: 55.78 kB / 479.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1154, allocations: 4 kB / 479.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1156, allocations: 43.58 kB / 479.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1156, allocations: 16 kB / 479.2 MB, free: 4.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.1157, allocations: 137.7 kB / 479.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1158, allocations: 19.72 kB / 479.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1162, allocations: 146.8 kB / 479.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1162, allocations: 3.938 kB / 479.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1162, allocations: 0 / 479.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1162, allocations: 0 / 479.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1164, allocations: 217.6 kB / 479.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.1164, allocations: 12 kB / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.1165, allocations: 7.984 kB / 479.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1165, allocations: 0 / 479.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1165, allocations: 4 kB / 479.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1165, allocations: 3.938 kB / 479.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1165, allocations: 0 / 479.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.1168, allocations: 215.2 kB / 480 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1169, allocations: 92.86 kB / 480.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1169, allocations: 4 kB / 480.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.117, allocations: 11.92 kB / 480.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1171, allocations: 0 / 480.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1171, allocations: 4 kB / 480.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1172, allocations: 186 kB / 480.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1172, allocations: 0 / 480.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.1177, allocations: 99.98 kB / 480.4 MB, free: 3.137 MB / 350.1 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003972/0.1181, allocations: 199.2 kB / 480.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.1186, allocations: 200.4 kB / 480.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1186, allocations: 0 / 480.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1188, allocations: 95.38 kB / 480.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1191, allocations: 21.25 kB / 480.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.1198, allocations: 456.2 kB / 481.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1201, allocations: 0.7248 MB / 482 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1202, allocations: 19.44 kB / 482 MB, free: 1.355 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1202, allocations: 0 / 482 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Templates: time 0.006668/0.1268, allocations: 4.958 MB / 487 MB, free: 12.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches