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.001142/0.001142, allocations: 117.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 204.7 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4036/0.4036, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 79.88 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4148, 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_KC): time 0.004192/0.419, allocations: 2.684 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.4217, allocations: 1.483 MB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.4218, allocations: 1.906 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.4222, allocations: 112.2 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.4227, allocations: 141 kB / 0.5354 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.4233, allocations: 266.8 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.4236, allocations: 283 kB / 0.5359 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.4237, allocations: 25.97 kB / 0.5359 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.4238, allocations: 102.2 kB / 0.536 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.4241, allocations: 121.3 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4241, allocations: 7.688 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4251, allocations: 0.6057 MB / 0.5367 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.4252, allocations: 43.53 kB / 0.5368 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.4254, allocations: 134.4 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.4261, allocations: 0.5613 MB / 0.5374 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4261, allocations: 0 / 0.5374 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4261, allocations: 0 / 0.5374 GB, free: 8.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.4261, allocations: 1.281 kB / 0.5374 GB, free: 8.707 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.000824/0.427, allocations: 0.6252 MB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.427, allocations: 8.938 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.4271, allocations: 43.16 kB / 0.5381 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.4274, allocations: 253.9 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.4274, allocations: 27.66 kB / 0.5384 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.4275, allocations: 42.91 kB / 0.5384 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.4282, allocations: 0.5723 MB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4283, allocations: 6.969 kB / 0.539 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.4283, allocations: 19.75 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4283, allocations: 10.5 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.4289, allocations: 335.5 kB / 0.5393 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.4315, allocations: 4.042 MB / 0.5433 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4317, allocations: 96.16 kB / 0.5434 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4319, allocations: 36.83 kB / 0.5434 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.4319, allocations: 1 kB / 0.5434 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4319, allocations: 31.59 kB / 0.5434 GB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.432, allocations: 4 kB / 0.5434 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005308/0.4325, allocations: 164 kB / 0.5436 GB, free: 2.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.4326, allocations: 55.39 kB / 0.5436 GB, free: 2.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.433, allocations: 409.6 kB / 0.544 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.433, allocations: 29.64 kB / 0.5441 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4332, allocations: 257.9 kB / 0.5443 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4333, allocations: 28.11 kB / 0.5443 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4334, allocations: 70.22 kB / 0.5444 GB, free: 2.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4336, allocations: 351 kB / 0.5447 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4337, allocations: 55.95 kB / 0.5448 GB, free: 1.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.434, allocations: 264.8 kB / 0.545 GB, free: 1.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.4345, allocations: 357.5 kB / 0.5454 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4345, allocations: 6.188 kB / 0.5454 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006283/0.4352, allocations: 348.6 kB / 0.5457 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4352, allocations: 8.344 kB / 0.5457 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4352, allocations: 10.84 kB / 0.5457 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.4353, allocations: 13.66 kB / 0.5457 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.4358, allocations: 115.7 kB / 0.5459 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/0.4367, allocations: 1.216 MB / 0.547 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.437, allocations: 68.58 kB / 0.5471 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.437, allocations: 22.03 kB / 0.5471 GB, free: 15.68 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.0001592/0.4372, allocations: 145.2 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.4373, allocations: 40.59 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.4378, allocations: 174.6 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4378, allocations: 1.062 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4378, allocations: 3.984 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4378, allocations: 1.125 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.4382, allocations: 270.5 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4382, allocations: 7.875 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.4385, allocations: 54.16 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4385, allocations: 0 / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4385, allocations: 2.219 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/0.4392, allocations: 1.211 MB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4392, allocations: 1.094 kB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.4396, allocations: 231.9 kB / 0.5492 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.4397, allocations: 105 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.4398, allocations: 9.219 kB / 0.5493 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.44, allocations: 11.83 kB / 0.5493 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.44, allocations: 8.359 kB / 0.5493 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.44, allocations: 2.125 kB / 0.5493 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.4404, allocations: 276.4 kB / 0.5496 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4404, allocations: 0 / 0.5496 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006736/0.441, allocations: 112.5 kB / 0.5497 GB, free: 13.41 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.0005103/0.4416, allocations: 185.9 kB / 0.5499 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.4422, allocations: 209 kB / 0.5501 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4423, allocations: 0 / 0.5501 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.4425, allocations: 75.7 kB / 0.5502 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.443, allocations: 44.92 kB / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.444, allocations: 0.4986 MB / 0.5507 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4444, allocations: 0.7717 MB / 0.5514 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.4445, allocations: 38.97 kB / 0.5515 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.4446, allocations: 27.44 kB / 0.5515 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4446, allocations: 0 / 0.5515 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.01357/0.4582, allocations: 6.364 MB / 0.5577 GB, free: 5.457 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