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.001164/0.001164, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002342, allocations: 76.16 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3604, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003331/0.3638, allocations: 2.196 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3653, allocations: 1.096 MB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.3654, allocations: 7.938 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3657, allocations: 87.83 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.366, allocations: 91.23 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.3663, allocations: 122.2 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3665, allocations: 178.5 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.3666, allocations: 22.88 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3668, allocations: 71.31 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3669, allocations: 84.19 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.367, allocations: 5.812 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3674, allocations: 268.2 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.3674, allocations: 32.03 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.3675, allocations: 75.94 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.3679, allocations: 339.3 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.368, allocations: 0 / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.368, allocations: 4 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.368, allocations: 1.375 kB / 0.5362 GB, free: 10.11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006319/0.3686, allocations: 0.4926 MB / 0.5367 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3687, allocations: 9.219 kB / 0.5367 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3687, allocations: 27.34 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3689, allocations: 215.4 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3689, allocations: 18 kB / 0.537 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.369, allocations: 21.19 kB / 0.537 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.3694, allocations: 230.5 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3694, allocations: 1.062 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3694, allocations: 9.062 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3695, allocations: 5.344 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.3699, allocations: 250.8 kB / 0.5375 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.3709, allocations: 0.623 MB / 0.5381 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3712, allocations: 96.16 kB / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.3713, allocations: 43.8 kB / 0.5382 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3714, allocations: 5.125 kB / 0.5382 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3714, allocations: 31.75 kB / 0.5383 GB, free: 8.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3714, allocations: 7.938 kB / 0.5383 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005518/0.372, allocations: 168.3 kB / 0.5384 GB, free: 8.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.372, allocations: 52.66 kB / 0.5385 GB, free: 8.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3723, allocations: 268.3 kB / 0.5387 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3723, allocations: 25.7 kB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3725, allocations: 176.2 kB / 0.5389 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3726, allocations: 35.67 kB / 0.539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.3726, allocations: 52.23 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3728, allocations: 340.5 kB / 0.5393 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3729, allocations: 45.56 kB / 0.5394 GB, free: 7.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.3731, allocations: 150.7 kB / 0.5395 GB, free: 7.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.3735, allocations: 205.8 kB / 0.5397 GB, free: 7.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3735, allocations: 4.938 kB / 0.5397 GB, free: 7.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005139/0.374, allocations: 237.5 kB / 0.5399 GB, free: 7.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3741, allocations: 7.188 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3741, allocations: 2.438 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3741, allocations: 4.656 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.3745, allocations: 85.23 kB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/0.3753, allocations: 1.221 MB / 0.5412 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3756, allocations: 40.7 kB / 0.5413 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3756, allocations: 10.66 kB / 0.5413 GB, free: 5.762 MB / 398.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.0001366/0.3757, allocations: 126.8 kB / 0.5414 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.3758, allocations: 29.53 kB / 0.5414 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.3763, allocations: 170.6 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3763, allocations: 0 / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3763, allocations: 0 / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.3764, allocations: 103.3 kB / 0.5417 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3764, allocations: 0 / 0.5417 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3766, allocations: 8 kB / 0.5417 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.3766, allocations: 8.359 kB / 0.5417 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005973/0.3772, allocations: 264.7 kB / 0.542 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000527/0.3778, allocations: 356.2 kB / 0.5423 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.3779, allocations: 36.53 kB / 0.5423 GB, free: 4.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3781, allocations: 191 kB / 0.5425 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.3781, allocations: 8 kB / 0.5425 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.379, allocations: 262.9 kB / 0.5428 GB, free: 4.637 MB / 398.1 MB Notification: Performance of SimCode: time 0.001053/0.3801, allocations: 0.8345 MB / 0.5436 GB, free: 3.887 MB / 398.1 MB Notification: Performance of Templates: time 0.007631/0.3877, allocations: 3.834 MB / 0.5473 GB, free: 1.309 MB / 398.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