Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009716/0.0009716, allocations: 96.27 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 207.3 kB / 18.94 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002533, allocations: 8 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 63.56 MB / 483.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002249/0.1096, allocations: 1.903 MB / 485.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.111, allocations: 1.098 MB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.1111, allocations: 0 / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1114, allocations: 87.44 kB / 486.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1117, allocations: 71.47 kB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1119, allocations: 98.77 kB / 487 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1121, allocations: 182.9 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1122, allocations: 24.38 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1124, allocations: 71.59 kB / 487.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1125, allocations: 79.52 kB / 487.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1125, allocations: 11.92 kB / 487.4 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.1129, allocations: 267.6 kB / 487.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.113, allocations: 27.78 kB / 487.7 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.595e-05/0.1131, allocations: 105.2 kB / 487.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1134, allocations: 219.1 kB / 488 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1134, allocations: 0 / 488 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1134, allocations: 0 / 488 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1134, allocations: 4 kB / 488 MB, free: 15.85 MB / 366.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.0005613/0.114, allocations: 471.1 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.114, allocations: 12.88 kB / 488.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.1141, allocations: 28.59 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1143, allocations: 215.9 kB / 488.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1143, allocations: 16.81 kB / 488.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1144, allocations: 20.12 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.1148, allocations: 227.3 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1148, allocations: 4 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1148, allocations: 12 kB / 489 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1149, allocations: 7.984 kB / 489 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.1153, allocations: 257.6 kB / 489.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.1162, allocations: 0.6157 MB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1165, allocations: 102.6 kB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1167, allocations: 48.92 kB / 490 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1167, allocations: 11.98 kB / 490 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1167, allocations: 30.56 kB / 490 MB, free: 13.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1167, allocations: 0 / 490 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005336/0.1173, allocations: 189.2 kB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1173, allocations: 55.41 kB / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1176, allocations: 274.9 kB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1176, allocations: 25.7 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.1177, allocations: 167.4 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.1177, allocations: 35.48 kB / 490.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1178, allocations: 33.64 kB / 490.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.1179, allocations: 330.8 kB / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.118, allocations: 59.95 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1182, allocations: 140.8 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1186, allocations: 224.6 kB / 491.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1186, allocations: 3.938 kB / 491.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00048/0.1191, allocations: 249.3 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1192, allocations: 8 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1192, allocations: 0 / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1192, allocations: 11.94 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1196, allocations: 75.97 kB / 491.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006401/0.1202, allocations: 1.227 MB / 493.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1204, allocations: 35.59 kB / 493.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1205, allocations: 19.98 kB / 493.1 MB, free: 10.31 MB / 366.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.000115/0.1206, allocations: 133.9 kB / 493.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1206, allocations: 19.72 kB / 493.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.1211, allocations: 191.5 kB / 493.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1211, allocations: 0 / 493.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1211, allocations: 0 / 493.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1211, allocations: 0 / 493.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.1217, allocations: 460.1 kB / 493.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1217, allocations: 4 kB / 493.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.122, allocations: 59.92 kB / 494 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.122, allocations: 0 / 494 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.122, allocations: 7.984 kB / 494 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006309/0.1227, allocations: 1.219 MB / 495.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1227, allocations: 0 / 495.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1231, allocations: 261.1 kB / 495.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1231, allocations: 100.8 kB / 495.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1232, allocations: 4 kB / 495.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1233, allocations: 12 kB / 495.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1234, allocations: 7.984 kB / 495.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1234, allocations: 8 kB / 495.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1236, allocations: 186 kB / 495.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.1236, allocations: 0 / 495.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003743/0.1239, allocations: 71.88 kB / 495.9 MB, free: 7.426 MB / 366.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.0002413/0.1242, allocations: 143.2 kB / 496 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005597/0.1248, allocations: 187.7 kB / 496.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1248, allocations: 0 / 496.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.1251, allocations: 88.95 kB / 496.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1255, allocations: 33.19 kB / 496.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.1262, allocations: 0.4988 MB / 496.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1265, allocations: 0.7326 MB / 497.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.1266, allocations: 19.44 kB / 497.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1266, allocations: 0 / 497.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of Templates: time 0.006369/0.1329, allocations: 4.349 MB / 0.4901 GB, free: 1.312 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches