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.001446/0.001446, allocations: 107.6 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 215.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, 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.2111/0.2111, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 71.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3282, allocations: 62.45 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004126/0.3324, allocations: 2.107 MB / 0.5337 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3356, allocations: 1.711 MB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3358, allocations: 9.125 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.3363, allocations: 95.47 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3366, allocations: 58.41 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3379, allocations: 362.5 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3382, allocations: 146.1 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.3383, allocations: 17.94 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.3384, allocations: 51.05 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3385, allocations: 62.95 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3385, allocations: 12.06 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3398, allocations: 0.7854 MB / 0.537 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.3399, allocations: 27.17 kB / 0.537 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.34, allocations: 73.33 kB / 0.5371 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.3408, allocations: 0.5954 MB / 0.5376 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3408, allocations: 0 / 0.5376 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3408, allocations: 1.125 kB / 0.5376 GB, free: 9.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3408, allocations: 0 / 0.5376 GB, free: 9.078 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.0007156/0.3416, allocations: 0.5138 MB / 0.5381 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3416, allocations: 10.08 kB / 0.5382 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.3417, allocations: 23.31 kB / 0.5382 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.3419, allocations: 207.5 kB / 0.5384 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3419, allocations: 15.91 kB / 0.5384 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.3419, allocations: 20.25 kB / 0.5384 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.3424, allocations: 267.1 kB / 0.5387 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3424, allocations: 0 / 0.5387 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3424, allocations: 10.77 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3424, allocations: 4.938 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3428, allocations: 156.5 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3438, allocations: 0.9121 MB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.344, allocations: 62.58 kB / 0.5398 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3441, allocations: 35.92 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.3442, allocations: 0.9688 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3442, allocations: 35.48 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3442, allocations: 5.062 kB / 0.5399 GB, free: 7.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004514/0.3447, allocations: 130.8 kB / 0.54 GB, free: 7.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3447, allocations: 55.34 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.345, allocations: 270.4 kB / 0.5403 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.345, allocations: 25.7 kB / 0.5403 GB, free: 6.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3451, allocations: 177.1 kB / 0.5405 GB, free: 6.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.3451, allocations: 19.3 kB / 0.5405 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.3452, allocations: 53.39 kB / 0.5405 GB, free: 6.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3454, allocations: 332.7 kB / 0.5409 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3455, allocations: 43.11 kB / 0.5409 GB, free: 6.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3458, allocations: 202.4 kB / 0.5411 GB, free: 5.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3461, allocations: 253.9 kB / 0.5413 GB, free: 5.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.3462, allocations: 5.406 kB / 0.5413 GB, free: 5.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004704/0.3467, allocations: 252 kB / 0.5416 GB, free: 5.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3467, allocations: 10.98 kB / 0.5416 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.3467, allocations: 16.81 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.3468, allocations: 7.781 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3469, allocations: 42.77 kB / 0.5417 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.347, allocations: 17.42 kB / 0.5417 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3471, allocations: 47.03 kB / 0.5417 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.3472, allocations: 13.06 kB / 0.5417 GB, free: 5.504 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.0001356/0.3473, allocations: 141.3 kB / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3474, allocations: 20.06 kB / 0.5419 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3478, allocations: 140 kB / 0.542 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3478, allocations: 0 / 0.542 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.3478, allocations: 12.44 kB / 0.542 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.3479, allocations: 94 kB / 0.5421 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3479, allocations: 0 / 0.5421 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.348, allocations: 7.891 kB / 0.5421 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3481, allocations: 11.25 kB / 0.5421 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003022/0.3484, allocations: 170.8 kB / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003291/0.3487, allocations: 286.1 kB / 0.5426 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001184/0.3489, allocations: 33.22 kB / 0.5426 GB, free: 4.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3491, allocations: 184.4 kB / 0.5428 GB, free: 4.617 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3491, allocations: 0 / 0.5428 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3502, allocations: 354 kB / 0.5431 GB, free: 4.395 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009662/0.3512, allocations: 0.8855 MB / 0.544 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Templates: time 0.01338/0.3646, allocations: 6.473 MB / 0.5503 GB, free: 14.17 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 -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) "" Variables in the reference:time,Re,m_flow[1],m_flow[4],Nu[1],Nu[4],input_Re.y Variables in the result:A_fr,D_c_1,D_c_4,F_p_1,F_p_4,N_1,N_4,Nu[1],Nu[4],P_l_1,P_l_4,P_t_1,P_t_4,Re,cp,delta_f,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.delta_f,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.P_t,m_flow_IN_con_4.delta_f,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.rho,m_flow_IN_var_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.rho,n,rho,time