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.001332/0.001331, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001478/0.001478, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.289/1.289, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.1967/0.1967, allocations: 44.17 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 57.19 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09444, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003517/0.098, allocations: 2.232 MB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.09964, allocations: 1.055 MB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.0998, allocations: 0 / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.1001, allocations: 83.5 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.1005, allocations: 83.39 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1008, allocations: 91.72 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1011, allocations: 182.9 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.092e-05/0.1011, allocations: 16.41 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1013, allocations: 71.53 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1014, allocations: 87.55 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1015, allocations: 11.94 kB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.1019, allocations: 251.7 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1019, allocations: 39.72 kB / 473.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.102, allocations: 79.41 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1023, allocations: 219.1 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1023, allocations: 0 / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1023, allocations: 0 / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1023, allocations: 0 / 473.9 MB, free: 10.2 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.0006217/0.103, allocations: 0.5029 MB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.103, allocations: 8.031 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.1031, allocations: 24.66 kB / 474.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1033, allocations: 211.6 kB / 474.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1033, allocations: 12.81 kB / 474.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1034, allocations: 24.12 kB / 474.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.1038, allocations: 227.2 kB / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1038, allocations: 3.938 kB / 474.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1039, allocations: 16 kB / 474.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1039, allocations: 4 kB / 474.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1043, allocations: 249.5 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.1053, allocations: 0.6157 MB / 475.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.1056, allocations: 106.6 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1057, allocations: 36.92 kB / 475.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1057, allocations: 15.88 kB / 475.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1058, allocations: 30.56 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1058, allocations: 0 / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005205/0.1063, allocations: 173.3 kB / 476.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1063, allocations: 51.41 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1066, allocations: 270.9 kB / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1066, allocations: 25.7 kB / 476.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1067, allocations: 167.4 kB / 476.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1068, allocations: 35.48 kB / 476.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.1068, allocations: 49.61 kB / 476.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.107, allocations: 342.8 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1071, allocations: 43.97 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.1074, allocations: 148.8 kB / 477.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.1077, allocations: 212.6 kB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1077, allocations: 0 / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004683/0.1082, allocations: 233.4 kB / 477.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1082, allocations: 8 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.1082, allocations: 4 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1083, allocations: 4 kB / 477.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.1087, allocations: 87.89 kB / 477.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006916/0.1094, allocations: 1.219 MB / 479 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1096, allocations: 35.67 kB / 479 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1096, allocations: 12 kB / 479 MB, free: 4.695 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.0001209/0.1097, allocations: 133.7 kB / 479.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.1098, allocations: 19.72 kB / 479.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.1102, allocations: 175.6 kB / 479.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1102, allocations: 0 / 479.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1103, allocations: 0 / 479.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1103, allocations: 4 kB / 479.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.1109, allocations: 456 kB / 479.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1109, allocations: 0 / 479.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.1112, allocations: 63.91 kB / 479.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1112, allocations: 4 kB / 479.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1113, allocations: 96 / 479.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006321/0.1119, allocations: 1.215 MB / 481.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1119, allocations: 4.031 kB / 481.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.1123, allocations: 249 kB / 481.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.1124, allocations: 100.8 kB / 481.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1124, allocations: 8 kB / 481.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1126, allocations: 7.984 kB / 481.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1126, allocations: 4 kB / 481.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1127, allocations: 7.984 kB / 481.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1128, allocations: 190 kB / 481.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1128, allocations: 0 / 481.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.1132, allocations: 71.92 kB / 481.7 MB, free: 1.844 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.0002589/0.1135, allocations: 135.7 kB / 481.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.114, allocations: 175.7 kB / 482 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.114, allocations: 0.875 kB / 482 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.1143, allocations: 92.02 kB / 482.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1147, allocations: 24.62 kB / 482.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.1156, allocations: 492.5 kB / 482.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1159, allocations: 0.7285 MB / 483.3 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.116, allocations: 19.53 kB / 483.4 MB, free: 132 kB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.116, allocations: 3.938 kB / 483.4 MB, free: 128 kB / 350.1 MB Notification: Performance of Templates: time 0.006551/0.1225, allocations: 4.355 MB / 487.7 MB, free: 11.78 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