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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001663/0.001664, allocations: 191 kB / 19.34 MB, free: 3.641 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.312/1.312, allocations: 222.9 MB / 243 MB, free: 15.09 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.1956/0.1956, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 65.2 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003415/0.1107, allocations: 2.113 MB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1126, allocations: 1.367 MB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1127, allocations: 0 / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1131, allocations: 87.38 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1133, allocations: 63.42 kB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.1138, allocations: 207.1 kB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.114, allocations: 154.9 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.1141, allocations: 12.31 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1142, allocations: 59.59 kB / 474.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.1143, allocations: 59.61 kB / 474.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1144, allocations: 7.984 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.115, allocations: 427.4 kB / 475.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.115, allocations: 27.78 kB / 475.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.1151, allocations: 75.48 kB / 475.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.1157, allocations: 434.4 kB / 475.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1157, allocations: 0 / 475.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1157, allocations: 0 / 475.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1157, allocations: 0 / 475.8 MB, free: 8.555 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006209/0.1163, allocations: 0.4907 MB / 476.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1164, allocations: 16.03 kB / 476.3 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1164, allocations: 16.75 kB / 476.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1166, allocations: 215.9 kB / 476.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1167, allocations: 12.38 kB / 476.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1167, allocations: 24.12 kB / 476.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1171, allocations: 198.5 kB / 476.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1171, allocations: 3.938 kB / 476.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1172, allocations: 12 kB / 476.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1172, allocations: 7.938 kB / 476.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1175, allocations: 144.3 kB / 476.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.1183, allocations: 0.5791 MB / 477.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1185, allocations: 58.55 kB / 477.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1186, allocations: 36.95 kB / 477.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1186, allocations: 7.984 kB / 477.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1187, allocations: 30.56 kB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1187, allocations: 7.938 kB / 477.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004159/0.1191, allocations: 125.4 kB / 477.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1191, allocations: 51.41 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1194, allocations: 266.6 kB / 478.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1194, allocations: 25.7 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1195, allocations: 163.7 kB / 478.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1195, allocations: 15.75 kB / 478.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.1196, allocations: 45.61 kB / 478.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1197, allocations: 334.8 kB / 478.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1198, allocations: 39.97 kB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.12, allocations: 124.8 kB / 478.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1203, allocations: 192.6 kB / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1203, allocations: 0 / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003865/0.1207, allocations: 197.1 kB / 479.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1208, allocations: 8 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.1208, allocations: 15.98 kB / 479.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1208, allocations: 8.422 kB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.121, allocations: 39.92 kB / 479.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.121, allocations: 4 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1211, allocations: 35.58 kB / 479.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1212, allocations: 12 kB / 479.3 MB, free: 4.727 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 (17): * Single equations (assignments): 15 * 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.0001062/0.1213, allocations: 125.7 kB / 479.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1213, allocations: 23.75 kB / 479.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.1217, allocations: 146.7 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1217, allocations: 0 / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1217, allocations: 0 / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1217, allocations: 3.984 kB / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.122, allocations: 225.7 kB / 479.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.122, allocations: 16 kB / 479.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.122, allocations: 7.984 kB / 479.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.122, allocations: 4 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1221, allocations: 0 / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1221, allocations: 0 / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1221, allocations: 0 / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1224, allocations: 203.2 kB / 480 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1224, allocations: 100.8 kB / 480.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1225, allocations: 4 kB / 480.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1226, allocations: 11.92 kB / 480.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.1226, allocations: 4 kB / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1226, allocations: 0 / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1228, allocations: 189.9 kB / 480.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1228, allocations: 0 / 480.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.1231, allocations: 71.94 kB / 480.4 MB, free: 3.512 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.0003036/0.1235, allocations: 170.8 kB / 480.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.1239, allocations: 163.2 kB / 480.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1239, allocations: 4.875 kB / 480.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1241, allocations: 95.38 kB / 480.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1245, allocations: 24.88 kB / 480.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1251, allocations: 364.1 kB / 481.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1254, allocations: 0.732 MB / 482 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.1254, allocations: 21.48 kB / 482 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.1255, allocations: 15.44 kB / 482 MB, free: 1.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1255, allocations: 0 / 482 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Templates: time 0.007434/0.1329, allocations: 4.146 MB / 486.1 MB, free: 13.75 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches