Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 116.4 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 215.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.13 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 79.86 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3014, allocations: 62.45 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00326/0.3046, allocations: 2.118 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3073, allocations: 1.719 MB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.3074, allocations: 5.125 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3076, allocations: 86.36 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3078, allocations: 72.52 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.3087, allocations: 353.5 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3088, allocations: 151.5 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.3089, allocations: 13.81 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.309, allocations: 55.03 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.3091, allocations: 62.97 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3091, allocations: 4.125 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.3103, allocations: 0.7892 MB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3104, allocations: 27.14 kB / 0.5371 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.3104, allocations: 73.48 kB / 0.5371 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007854/0.3112, allocations: 0.5945 MB / 0.5377 GB, free: 9.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3112, allocations: 0 / 0.5377 GB, free: 9.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3112, allocations: 0 / 0.5377 GB, free: 9.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3112, allocations: 0 / 0.5377 GB, free: 9.02 MB / 398.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.0007874/0.312, allocations: 0.5231 MB / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3121, allocations: 11.33 kB / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.3121, allocations: 22.92 kB / 0.5383 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3123, allocations: 215.8 kB / 0.5385 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3124, allocations: 19.72 kB / 0.5385 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.3124, allocations: 16.94 kB / 0.5385 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.3128, allocations: 262.9 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3128, allocations: 0 / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3129, allocations: 14.55 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3129, allocations: 4.625 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.3132, allocations: 155.5 kB / 0.5389 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3143, allocations: 0.9053 MB / 0.5398 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3145, allocations: 60.92 kB / 0.5399 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3146, allocations: 31.95 kB / 0.5399 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3147, allocations: 5.203 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3147, allocations: 39.66 kB / 0.5399 GB, free: 7.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3147, allocations: 0 / 0.5399 GB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.3152, allocations: 127.1 kB / 0.5401 GB, free: 6.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3152, allocations: 60.41 kB / 0.5401 GB, free: 6.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.3155, allocations: 273.8 kB / 0.5404 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3155, allocations: 25.7 kB / 0.5404 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3156, allocations: 181.3 kB / 0.5406 GB, free: 6.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3157, allocations: 27 kB / 0.5406 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.3157, allocations: 54.03 kB / 0.5407 GB, free: 6.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3159, allocations: 332.9 kB / 0.541 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3161, allocations: 42.8 kB / 0.541 GB, free: 6.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3163, allocations: 198.1 kB / 0.5412 GB, free: 5.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.3167, allocations: 258.8 kB / 0.5414 GB, free: 5.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3167, allocations: 1.281 kB / 0.5414 GB, free: 5.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000514/0.3173, allocations: 255.5 kB / 0.5417 GB, free: 5.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3173, allocations: 10.84 kB / 0.5417 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.3173, allocations: 17.81 kB / 0.5417 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3173, allocations: 6.594 kB / 0.5417 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3175, allocations: 49.38 kB / 0.5418 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.3175, allocations: 11.41 kB / 0.5418 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3177, allocations: 47.53 kB / 0.5418 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3177, allocations: 12.66 kB / 0.5418 GB, free: 5.418 MB / 398.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.0001514/0.3179, allocations: 133.4 kB / 0.542 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3179, allocations: 20.55 kB / 0.542 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.3183, allocations: 144.3 kB / 0.5421 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3183, allocations: 3.938 kB / 0.5421 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3183, allocations: 0 / 0.5421 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3184, allocations: 5.453 kB / 0.5421 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.3186, allocations: 217 kB / 0.5423 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.3187, allocations: 8.25 kB / 0.5424 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3187, allocations: 8.266 kB / 0.5424 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3187, allocations: 5.062 kB / 0.5424 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3187, allocations: 2.219 kB / 0.5424 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3187, allocations: 3.938 kB / 0.5424 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3187, allocations: 0.9375 kB / 0.5424 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.3191, allocations: 214.9 kB / 0.5426 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.3192, allocations: 98.25 kB / 0.5427 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3192, allocations: 5.156 kB / 0.5427 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3193, allocations: 11.3 kB / 0.5427 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.3194, allocations: 7.344 kB / 0.5427 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3194, allocations: 2.219 kB / 0.5427 GB, free: 4.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3196, allocations: 184.4 kB / 0.5429 GB, free: 4.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 0.5429 GB, free: 4.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005479/0.3201, allocations: 104.4 kB / 0.543 GB, free: 4.48 MB / 398.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.0004408/0.3205, allocations: 196 kB / 0.5432 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.321, allocations: 194.2 kB / 0.5433 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3211, allocations: 0 / 0.5433 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3213, allocations: 105.3 kB / 0.5434 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3216, allocations: 18.48 kB / 0.5435 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.3223, allocations: 361.1 kB / 0.5438 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.3227, allocations: 0.7286 MB / 0.5445 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.3228, allocations: 25.94 kB / 0.5445 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.3229, allocations: 20.62 kB / 0.5446 GB, free: 3.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3229, allocations: 0 / 0.5446 GB, free: 3.141 MB / 398.1 MB Notification: Performance of Templates: time 0.01278/0.3356, allocations: 6.41 MB / 0.5508 GB, free: 13.59 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches