Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 79.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.395, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003926/0.399, allocations: 2.687 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.4016, allocations: 1.48 MB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.4018, allocations: 6.688 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.4023, allocations: 112.1 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.4028, allocations: 127.4 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.4035, allocations: 265.4 kB / 0.5356 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.4039, allocations: 283.3 kB / 0.5359 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.404, allocations: 26.78 kB / 0.5359 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.4041, allocations: 97.5 kB / 0.536 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.4043, allocations: 126 kB / 0.5361 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.4044, allocations: 7.188 kB / 0.5361 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.4054, allocations: 0.6062 MB / 0.5367 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.4055, allocations: 42.62 kB / 0.5367 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.4056, allocations: 134.8 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.4064, allocations: 0.5565 MB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4064, allocations: 1.031 kB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4064, allocations: 0 / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4064, allocations: 0 / 0.5374 GB, free: 8.727 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009344/0.4074, allocations: 0.6299 MB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.4074, allocations: 9.375 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.906e-05/0.4075, allocations: 43.06 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.4079, allocations: 249.1 kB / 0.5383 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.408, allocations: 31.59 kB / 0.5383 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.4081, allocations: 35.44 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.409, allocations: 0.5808 MB / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.409, allocations: 6.344 kB / 0.539 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.4091, allocations: 19.69 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.4091, allocations: 10.53 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.4098, allocations: 336.1 kB / 0.5393 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.4126, allocations: 4.041 MB / 0.5432 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4129, allocations: 94.91 kB / 0.5433 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.4131, allocations: 34.38 kB / 0.5434 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.4131, allocations: 9.062 kB / 0.5434 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4131, allocations: 35.91 kB / 0.5434 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4132, allocations: 7.938 kB / 0.5434 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005421/0.4137, allocations: 162.4 kB / 0.5436 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4137, allocations: 52.72 kB / 0.5436 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.4142, allocations: 412.1 kB / 0.544 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.4143, allocations: 26.95 kB / 0.544 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.4145, allocations: 257.1 kB / 0.5443 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.4145, allocations: 25.36 kB / 0.5443 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4147, allocations: 76.8 kB / 0.5444 GB, free: 2.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4149, allocations: 351.7 kB / 0.5447 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.415, allocations: 55.92 kB / 0.5448 GB, free: 1.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.4154, allocations: 265.4 kB / 0.545 GB, free: 1.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.416, allocations: 348.4 kB / 0.5454 GB, free: 1.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.416, allocations: 5.969 kB / 0.5454 GB, free: 1.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006514/0.4166, allocations: 353.7 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4167, allocations: 7.5 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4167, allocations: 7.031 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.4167, allocations: 9.562 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.4172, allocations: 107.9 kB / 0.5458 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007839/0.418, allocations: 1.223 MB / 0.547 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.4183, allocations: 64.81 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.4183, allocations: 18.12 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001551/0.4185, allocations: 156.9 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.4186, allocations: 39.94 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.4191, allocations: 175.6 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4191, allocations: 0.9688 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.4191, allocations: 1.156 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4191, allocations: 4 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.4194, allocations: 270.9 kB / 0.5477 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4194, allocations: 3.938 kB / 0.5477 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.4197, allocations: 61.09 kB / 0.5478 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4197, allocations: 1.125 kB / 0.5478 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4197, allocations: 2.344 kB / 0.5478 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000614/0.4204, allocations: 1.207 MB / 0.549 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4204, allocations: 1.062 kB / 0.549 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4208, allocations: 227.7 kB / 0.5492 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.4209, allocations: 108.6 kB / 0.5493 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4209, allocations: 9.406 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4211, allocations: 10.95 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.4211, allocations: 5.125 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4211, allocations: 2.875 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.4214, allocations: 276.2 kB / 0.5496 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4214, allocations: 0 / 0.5496 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.4221, allocations: 116.6 kB / 0.5497 GB, free: 13.43 MB / 414.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 (7): * Single equations (assignments): 5 * 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.0004454/0.4225, allocations: 193.8 kB / 0.5499 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.4231, allocations: 205.1 kB / 0.5501 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4231, allocations: 0 / 0.5501 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.4234, allocations: 75.64 kB / 0.5501 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4239, allocations: 44.58 kB / 0.5502 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.425, allocations: 0.4949 MB / 0.5507 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.4254, allocations: 0.7717 MB / 0.5514 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.4255, allocations: 46.88 kB / 0.5515 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.4255, allocations: 19.44 kB / 0.5515 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4255, allocations: 4 kB / 0.5515 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.01105/0.4366, allocations: 6.465 MB / 0.5578 GB, free: 5.379 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches