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.001533/0.001533, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 75.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3979, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003751/0.4017, allocations: 2.122 MB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.4048, allocations: 1.71 MB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.405, allocations: 1.188 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.4054, allocations: 95.72 kB / 0.5355 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.4057, allocations: 63.55 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.4068, allocations: 358 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.4071, allocations: 147.5 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.4072, allocations: 16.56 kB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4073, allocations: 60.42 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.4074, allocations: 57.64 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.4075, allocations: 4.125 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.409, allocations: 0.7939 MB / 0.537 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.4091, allocations: 27.45 kB / 0.537 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.4093, allocations: 69.42 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.4103, allocations: 0.5984 MB / 0.5376 GB, free: 9.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.4103, allocations: 4.953 kB / 0.5376 GB, free: 9.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4103, allocations: 4 kB / 0.5376 GB, free: 9.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.4103, allocations: 0 / 0.5376 GB, free: 9.027 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.000924/0.4112, allocations: 0.503 MB / 0.5381 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.4113, allocations: 10.36 kB / 0.5381 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.4114, allocations: 26.56 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.4116, allocations: 211.4 kB / 0.5384 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4117, allocations: 17.12 kB / 0.5384 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.4117, allocations: 19.66 kB / 0.5384 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.4123, allocations: 266.9 kB / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4123, allocations: 0 / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.4123, allocations: 7.094 kB / 0.5387 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.4123, allocations: 5.469 kB / 0.5387 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.4127, allocations: 155.4 kB / 0.5388 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4141, allocations: 0.9123 MB / 0.5397 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4143, allocations: 66.45 kB / 0.5398 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4144, allocations: 32.5 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.4145, allocations: 5.016 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4145, allocations: 35.69 kB / 0.5398 GB, free: 7.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.526e-06/0.4145, allocations: 0 / 0.5398 GB, free: 7.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005104/0.415, allocations: 139 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4151, allocations: 56.47 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.4155, allocations: 261.7 kB / 0.5403 GB, free: 6.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4155, allocations: 25.7 kB / 0.5403 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4157, allocations: 180.9 kB / 0.5405 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.4157, allocations: 19.58 kB / 0.5405 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.4158, allocations: 54.17 kB / 0.5405 GB, free: 6.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.416, allocations: 332.5 kB / 0.5409 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4161, allocations: 51.12 kB / 0.5409 GB, free: 6.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.4164, allocations: 189.1 kB / 0.5411 GB, free: 5.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.4168, allocations: 259.2 kB / 0.5413 GB, free: 5.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4168, allocations: 1.375 kB / 0.5413 GB, free: 5.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005607/0.4174, allocations: 254.6 kB / 0.5416 GB, free: 5.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.4175, allocations: 8.406 kB / 0.5416 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/0.4175, allocations: 17.59 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/0.4175, allocations: 6.25 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4177, allocations: 54.09 kB / 0.5417 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.4178, allocations: 11.31 kB / 0.5417 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.418, allocations: 45.27 kB / 0.5417 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.418, allocations: 13.75 kB / 0.5417 GB, free: 5.457 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.0001439/0.4182, allocations: 133.6 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.4182, allocations: 20.44 kB / 0.5419 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.4186, allocations: 139 kB / 0.542 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4187, allocations: 4.938 kB / 0.542 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4187, allocations: 0.9375 kB / 0.542 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4187, allocations: 0 / 0.542 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.419, allocations: 229.5 kB / 0.5422 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/0.419, allocations: 12.62 kB / 0.5423 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.4191, allocations: 8.578 kB / 0.5423 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4191, allocations: 0 / 0.5423 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4191, allocations: 2.688 kB / 0.5423 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4191, allocations: 3.938 kB / 0.5423 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4191, allocations: 1.125 kB / 0.5423 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.4195, allocations: 210.6 kB / 0.5425 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.4196, allocations: 91.05 kB / 0.5426 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.4196, allocations: 4 kB / 0.5426 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4197, allocations: 15.42 kB / 0.5426 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4198, allocations: 3.094 kB / 0.5426 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4198, allocations: 3.344 kB / 0.5426 GB, free: 4.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.4201, allocations: 184.5 kB / 0.5428 GB, free: 4.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4201, allocations: 0 / 0.5428 GB, free: 4.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.4209, allocations: 103.7 kB / 0.5429 GB, free: 4.527 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.0006173/0.4215, allocations: 200.5 kB / 0.543 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.4221, allocations: 194.1 kB / 0.5432 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4221, allocations: 4 kB / 0.5432 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.4223, allocations: 97.44 kB / 0.5433 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.4228, allocations: 32.69 kB / 0.5434 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.4238, allocations: 397.9 kB / 0.5437 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.4242, allocations: 0.7288 MB / 0.5444 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4243, allocations: 17.97 kB / 0.5445 GB, free: 3.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4243, allocations: 4 kB / 0.5445 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Templates: time 0.008505/0.4328, allocations: 5.139 MB / 0.5495 GB, free: 14.87 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) Reference file matches