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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 230.3 MB / 257.9 MB, free: 8.262 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB
"
[Timeout remaining time 180]
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=5003,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=5003,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 83.84 kB / 0.4971 GB, free: 7.555 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4072, allocations: 66.03 MB / 0.5616 GB, free: 4.613 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004395/0.4116, allocations: 2.705 MB / 0.5642 GB, free: 1.891 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002659/0.4143, allocations: 1.503 MB / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.4145, allocations: 0 / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.4149, allocations: 118 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.4154, allocations: 142.8 kB / 0.5659 GB, free: 136 kB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.416, allocations: 263.1 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4163, allocations: 282.1 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.4164, allocations: 20.92 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.4165, allocations: 99.39 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.4168, allocations: 127.1 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.4168, allocations: 8 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.418, allocations: 0.6085 MB / 0.5673 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.4181, allocations: 43.66 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4182, allocations: 135 kB / 0.5675 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000922/0.4192, allocations: 0.5563 MB / 0.568 GB, free: 14 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4192, allocations: 0 / 0.568 GB, free: 14 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4192, allocations: 0 / 0.568 GB, free: 14 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 9.668e-06/0.4192, allocations: 3.938 kB / 0.568 GB, free: 14 MB / 414.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.001019/0.4202, allocations: 0.5674 MB / 0.5686 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4203, allocations: 8.031 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.4203, allocations: 40.7 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.4207, allocations: 202 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.4207, allocations: 29.38 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.4208, allocations: 36.12 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.4217, allocations: 0.5879 MB / 0.5694 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.4217, allocations: 7.938 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.4217, allocations: 20 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4217, allocations: 8 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.4223, allocations: 341.1 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.4256, allocations: 4.023 MB / 0.5737 GB, free: 7.754 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.426, allocations: 86.53 kB / 0.5738 GB, free: 7.66 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4261, allocations: 32.97 kB / 0.5739 GB, free: 7.625 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4262, allocations: 3.938 kB / 0.5739 GB, free: 7.621 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4262, allocations: 34.5 kB / 0.5739 GB, free: 7.578 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.4262, allocations: 8 kB / 0.5739 GB, free: 7.57 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0005827/0.4268, allocations: 169.4 kB / 0.5741 GB, free: 7.398 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4268, allocations: 51.41 kB / 0.5741 GB, free: 7.336 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.4273, allocations: 413.8 kB / 0.5745 GB, free: 6.926 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.4273, allocations: 25.7 kB / 0.5745 GB, free: 6.895 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.4275, allocations: 255.6 kB / 0.5748 GB, free: 6.641 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.4275, allocations: 27.78 kB / 0.5748 GB, free: 6.613 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4276, allocations: 73.98 kB / 0.5749 GB, free: 6.531 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001732/0.4278, allocations: 346.7 kB / 0.5752 GB, free: 6.184 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.428, allocations: 64.55 kB / 0.5753 GB, free: 6.121 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.4283, allocations: 262.4 kB / 0.5755 GB, free: 5.762 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.4289, allocations: 360.2 kB / 0.5759 GB, free: 5.309 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4289, allocations: 0 / 0.5759 GB, free: 5.309 MB / 414.1 MB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.000664/0.4295, allocations: 361.5 kB / 0.5762 GB, free: 4.949 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4296, allocations: 8 kB / 0.5762 GB, free: 4.941 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4296, allocations: 11.94 kB / 0.5762 GB, free: 4.93 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.4296, allocations: 8 kB / 0.5762 GB, free: 4.922 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.4301, allocations: 107.9 kB / 0.5763 GB, free: 4.816 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.4311, allocations: 1.219 MB / 0.5775 GB, free: 3.551 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.4314, allocations: 67.52 kB / 0.5776 GB, free: 3.484 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.4315, allocations: 16 kB / 0.5776 GB, free: 3.469 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.0002112/0.4317, allocations: 155 kB / 0.5777 GB, free: 3.309 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.4317, allocations: 39.7 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4323, allocations: 169 kB / 0.5779 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4323, allocations: 0 / 0.5779 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4323, allocations: 0 / 0.5779 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4323, allocations: 0 / 0.5779 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.4326, allocations: 256.5 kB / 0.5782 GB, free: 2.809 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4326, allocations: 3.938 kB / 0.5782 GB, free: 2.805 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4329, allocations: 51.98 kB / 0.5782 GB, free: 2.754 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.4329, allocations: 11.92 kB / 0.5783 GB, free: 2.742 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.433, allocations: 4 kB / 0.5783 GB, free: 2.738 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009081/0.4339, allocations: 1.203 MB / 0.5794 GB, free: 1.488 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4339, allocations: 0 / 0.5794 GB, free: 1.488 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.4343, allocations: 231.2 kB / 0.5797 GB, free: 1.246 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.4344, allocations: 39.69 kB / 0.5797 GB, free: 1.207 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.4344, allocations: 3.938 kB / 0.5797 GB, free: 1.203 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4346, allocations: 16.08 kB / 0.5797 GB, free: 1.188 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.4347, allocations: 7.984 kB / 0.5797 GB, free: 1.18 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.4347, allocations: 0 / 0.5797 GB, free: 1.18 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003397/0.435, allocations: 279.1 kB / 0.58 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.435, allocations: 0 / 0.58 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005724/0.4356, allocations: 123.8 kB / 0.5801 GB, free: 0.7852 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.0004425/0.436, allocations: 179 kB / 0.5803 GB, free: 0.5977 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000637/0.4367, allocations: 200.5 kB / 0.5805 GB, free: 412 kB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4367, allocations: 0 / 0.5805 GB, free: 412 kB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.4369, allocations: 79.89 kB / 0.5805 GB, free: 332 kB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4374, allocations: 39.02 kB / 0.5806 GB, free: 296 kB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.4385, allocations: 0.5023 MB / 0.5811 GB, free: 15.76 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.439, allocations: 0.7678 MB / 0.5818 GB, free: 14.96 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001243/0.4391, allocations: 46.89 kB / 0.5819 GB, free: 14.92 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.4392, allocations: 23.44 kB / 0.5819 GB, free: 14.9 MB / 430.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4392, allocations: 0 / 0.5819 GB, free: 14.9 MB / 430.1 MB
Notification: Performance of Templates: time 0.01426/0.4534, allocations: 6.557 MB / 0.5883 GB, free: 8.391 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.892237171530724]