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.001207/0.001207, allocations: 117.6 kB / 17.78 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.001303/0.001303, allocations: 204.7 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.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4011, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004078/0.4052, allocations: 2.103 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.4081, allocations: 1.718 MB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4083, allocations: 5.25 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.4087, allocations: 95.19 kB / 0.5348 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.4089, allocations: 60.16 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.4098, allocations: 363.3 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.41, allocations: 142.1 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.4101, allocations: 16.56 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4102, allocations: 56.41 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.4103, allocations: 62.97 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4104, allocations: 6.75 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.4118, allocations: 0.7939 MB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.4119, allocations: 23.42 kB / 0.5363 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.412, allocations: 73.33 kB / 0.5364 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009348/0.413, allocations: 0.5988 MB / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.413, allocations: 0 / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.413, allocations: 1.25 kB / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.413, allocations: 0 / 0.537 GB, free: 9.059 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.0008957/0.4139, allocations: 0.5037 MB / 0.5375 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.414, allocations: 10.48 kB / 0.5375 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.414, allocations: 23.91 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4143, allocations: 215.3 kB / 0.5377 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4143, allocations: 19.84 kB / 0.5377 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4144, allocations: 16.19 kB / 0.5377 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.4149, allocations: 270.9 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.415, allocations: 0 / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.415, allocations: 6.125 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.415, allocations: 5.781 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.4154, allocations: 155.3 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.4168, allocations: 0.9117 MB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.417, allocations: 59.14 kB / 0.5391 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4172, allocations: 36.94 kB / 0.5391 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.4172, allocations: 1.062 kB / 0.5391 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4173, allocations: 31.72 kB / 0.5392 GB, free: 7.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 6.272e-06/0.4173, allocations: 0 / 0.5392 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005188/0.4178, allocations: 142.8 kB / 0.5393 GB, free: 7.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4179, allocations: 56.44 kB / 0.5394 GB, free: 6.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.4182, allocations: 264.8 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4183, allocations: 34.75 kB / 0.5396 GB, free: 6.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4184, allocations: 175.9 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.4185, allocations: 23.41 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.4186, allocations: 50.48 kB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4187, allocations: 332.5 kB / 0.5402 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4189, allocations: 47.12 kB / 0.5403 GB, free: 6.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4192, allocations: 193.1 kB / 0.5404 GB, free: 5.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.4196, allocations: 254.1 kB / 0.5407 GB, free: 5.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4196, allocations: 2.75 kB / 0.5407 GB, free: 5.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005552/0.4201, allocations: 258.4 kB / 0.5409 GB, free: 5.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4202, allocations: 7.375 kB / 0.5409 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/0.4202, allocations: 14.28 kB / 0.5409 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.4202, allocations: 5.688 kB / 0.541 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4204, allocations: 55.22 kB / 0.541 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.4204, allocations: 10.53 kB / 0.541 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4206, allocations: 54.05 kB / 0.5411 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4207, allocations: 13.06 kB / 0.5411 GB, free: 5.48 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.0001335/0.4208, allocations: 134 kB / 0.5412 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.4208, allocations: 20.53 kB / 0.5412 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.4213, allocations: 142.8 kB / 0.5414 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4213, allocations: 5.719 kB / 0.5414 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4213, allocations: 0 / 0.5414 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4213, allocations: 0 / 0.5414 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4216, allocations: 217.6 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.4216, allocations: 12.95 kB / 0.5416 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.4216, allocations: 4.406 kB / 0.5416 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4217, allocations: 5 kB / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4217, allocations: 2.281 kB / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4217, allocations: 3.938 kB / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4217, allocations: 0 / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.4221, allocations: 207.3 kB / 0.5418 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.4221, allocations: 90.3 kB / 0.5419 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.4222, allocations: 5.125 kB / 0.5419 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4223, allocations: 19.33 kB / 0.5419 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4223, allocations: 3.625 kB / 0.5419 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4224, allocations: 6.266 kB / 0.5419 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.4226, allocations: 180.5 kB / 0.5421 GB, free: 4.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4226, allocations: 0 / 0.5421 GB, free: 4.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000545/0.4231, allocations: 103.5 kB / 0.5422 GB, free: 4.559 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.0004969/0.4237, allocations: 201.4 kB / 0.5424 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.4242, allocations: 193.5 kB / 0.5426 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4242, allocations: 0 / 0.5426 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.4244, allocations: 106.1 kB / 0.5427 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4249, allocations: 34.08 kB / 0.5427 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.4256, allocations: 357.3 kB / 0.543 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4259, allocations: 0.7371 MB / 0.5438 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.641e-05/0.426, allocations: 25.92 kB / 0.5438 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.4261, allocations: 23.5 kB / 0.5438 GB, free: 3.195 MB / 398.1 MB Notification: Performance of SimCode: time 2.625e-06/0.4261, allocations: 1.062 kB / 0.5438 GB, free: 3.195 MB / 398.1 MB Notification: Performance of Templates: time 0.01237/0.4384, allocations: 6.389 MB / 0.55 GB, free: 13.68 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/jenkins/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/jenkins/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