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.001312/0.001312, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001232/0.001232, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.328/1.328, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2131/0.2131, allocations: 44.19 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 68.55 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003387/0.1145, allocations: 2.083 MB / 471.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1167, allocations: 1.662 MB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.1168, allocations: 3.938 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1171, allocations: 91.38 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1173, allocations: 67.42 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.1181, allocations: 346.7 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1182, allocations: 147 kB / 473.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.1183, allocations: 16.31 kB / 473.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1184, allocations: 55.61 kB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.1185, allocations: 55.66 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1185, allocations: 4 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009884/0.1195, allocations: 0.7606 MB / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1196, allocations: 27.78 kB / 474.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.1197, allocations: 71.5 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.1203, allocations: 0.5647 MB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1203, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1203, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1203, allocations: 0 / 475.2 MB, free: 8.41 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.0006515/0.121, allocations: 0.5108 MB / 475.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.121, allocations: 8.031 kB / 475.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1211, allocations: 24.66 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1213, allocations: 212.5 kB / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1213, allocations: 12.38 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1213, allocations: 24 kB / 476 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1217, allocations: 267.4 kB / 476.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1217, allocations: 0 / 476.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1218, allocations: 12 kB / 476.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1218, allocations: 4 kB / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1221, allocations: 156.2 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.123, allocations: 0.9118 MB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1232, allocations: 62.55 kB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1233, allocations: 32.95 kB / 477.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1233, allocations: 4 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1234, allocations: 38.5 kB / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1234, allocations: 0 / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004237/0.1238, allocations: 129.3 kB / 477.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1238, allocations: 67.28 kB / 477.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1241, allocations: 266.9 kB / 477.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1241, allocations: 25.7 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1242, allocations: 183 kB / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1242, allocations: 19.73 kB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.1243, allocations: 53.61 kB / 478.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1245, allocations: 330.8 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1246, allocations: 48.2 kB / 478.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1248, allocations: 186 kB / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.1252, allocations: 255.4 kB / 479 MB, free: 4.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1252, allocations: 0 / 479 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004424/0.1256, allocations: 260.8 kB / 479.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1257, allocations: 8 kB / 479.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.1257, allocations: 15.98 kB / 479.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.1257, allocations: 8 kB / 479.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1259, allocations: 44.55 kB / 479.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1259, allocations: 19.92 kB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1261, allocations: 39.59 kB / 479.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1261, allocations: 16 kB / 479.4 MB, free: 3.82 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.0001104/0.1262, allocations: 137.7 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1263, allocations: 19.72 kB / 479.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.1266, allocations: 138.8 kB / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1266, allocations: 7.938 kB / 479.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1266, allocations: 0 / 479.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1266, allocations: 0 / 479.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1269, allocations: 221.6 kB / 479.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.1269, allocations: 12 kB / 479.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.127, allocations: 12.17 kB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.127, allocations: 4 kB / 480 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.127, allocations: 4 kB / 480 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.127, allocations: 7.875 kB / 480 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.127, allocations: 0 / 480 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.1273, allocations: 199.2 kB / 480.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1274, allocations: 100.8 kB / 480.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1274, allocations: 0 / 480.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.1275, allocations: 7.938 kB / 480.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1276, allocations: 7.984 kB / 480.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1276, allocations: 4 kB / 480.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1278, allocations: 182 kB / 480.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 0 / 480.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.1283, allocations: 95.94 kB / 480.5 MB, free: 2.578 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.0004478/0.1287, allocations: 195.1 kB / 480.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.1292, allocations: 200.4 kB / 480.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1292, allocations: 0 / 480.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1294, allocations: 99.66 kB / 481 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1298, allocations: 20.97 kB / 481.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.1305, allocations: 379.7 kB / 481.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1308, allocations: 0.7284 MB / 482.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.1309, allocations: 29.88 kB / 482.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.1309, allocations: 15.44 kB / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1309, allocations: 0 / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Templates: time 0.01146/0.1424, allocations: 6.136 MB / 488.3 MB, free: 10.75 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/jenkins/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/jenkins/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