Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.001927/0.001927, 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.002129/0.002129, allocations: 213.9 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.551/1.551, allocations: 230.3 MB / 258 MB, free: 8.258 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.2348/0.2348, allocations: 46.88 MB / 361.3 MB, free: 4.469 MB / 286.1 MB
"
[Timeout remaining time 179]
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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC")
translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 79.86 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3514, allocations: 66.02 MB / 0.5616 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003791/0.3552, allocations: 2.22 MB / 0.5637 GB, free: 2.41 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001764/0.3569, allocations: 1.116 MB / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.357, allocations: 0 / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.3573, allocations: 87.44 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.3576, allocations: 99.25 kB / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.358, allocations: 115.2 kB / 0.5651 GB, free: 1 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002264/0.3582, allocations: 178.9 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.3582, allocations: 12.59 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3584, allocations: 83.45 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3586, allocations: 83.5 kB / 0.5655 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3586, allocations: 8 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.359, allocations: 263.7 kB / 0.5657 GB, free: 388 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.3591, allocations: 31.78 kB / 0.5657 GB, free: 356 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.3592, allocations: 79.42 kB / 0.5658 GB, free: 276 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000498/0.3597, allocations: 342.5 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3597, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.3597, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.122e-06/0.3597, allocations: 0 / 0.5662 GB, free: 15.93 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: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.0006386/0.3603, allocations: 437.5 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3603, allocations: 8.031 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.3604, allocations: 24.8 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3606, allocations: 162.1 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3606, allocations: 16.81 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3607, allocations: 20.12 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.3611, allocations: 231.2 kB / 0.567 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3611, allocations: 4 kB / 0.567 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.3611, allocations: 8 kB / 0.567 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3611, allocations: 4 kB / 0.567 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3616, allocations: 261.6 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3626, allocations: 0.5927 MB / 0.5679 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.3629, allocations: 94.66 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3631, allocations: 44.83 kB / 0.568 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3631, allocations: 7.984 kB / 0.568 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3631, allocations: 42.53 kB / 0.568 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3631, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0005487/0.3637, allocations: 169.4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3637, allocations: 55.41 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.364, allocations: 272.2 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.364, allocations: 25.7 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3642, allocations: 175.4 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.3642, allocations: 31.73 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.3643, allocations: 53.66 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001607/0.3644, allocations: 334.8 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3646, allocations: 47.91 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.3648, allocations: 150.1 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.3652, allocations: 204.7 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3652, allocations: 4 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005195/0.3658, allocations: 237.1 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3658, allocations: 4 kB / 0.5697 GB, free: 12 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3658, allocations: 4 kB / 0.5697 GB, free: 12 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3658, allocations: 4.438 kB / 0.5697 GB, free: 12 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.3662, allocations: 91.89 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/0.3671, allocations: 1.219 MB / 0.571 GB, free: 10.64 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.3673, allocations: 43.84 kB / 0.571 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3673, allocations: 20 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * Number of states: 0 ()
 * Number of discrete variables: 2 (m_flow_IN_con_2.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: 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.0001346/0.3674, allocations: 130.2 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.3675, allocations: 23.86 kB / 0.5712 GB, free: 10.42 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.368, allocations: 175.5 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.368, allocations: 4 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.368, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.368, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.3686, allocations: 419.1 kB / 0.5718 GB, free: 9.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3686, allocations: 4.062 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3689, allocations: 59.97 kB / 0.5718 GB, free: 9.707 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3689, allocations: 0 / 0.5718 GB, free: 9.707 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3689, allocations: 4 kB / 0.5718 GB, free: 9.703 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.3697, allocations: 1.219 MB / 0.573 GB, free: 8.438 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3697, allocations: 0 / 0.573 GB, free: 8.438 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.3701, allocations: 253.1 kB / 0.5733 GB, free: 8.168 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.3702, allocations: 19.86 kB / 0.5733 GB, free: 8.148 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3702, allocations: 8.094 kB / 0.5733 GB, free: 8.141 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3703, allocations: 11.98 kB / 0.5733 GB, free: 8.129 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.3704, allocations: 7.984 kB / 0.5733 GB, free: 8.121 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3704, allocations: 8 kB / 0.5733 GB, free: 8.113 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001757/0.3706, allocations: 191 kB / 0.5735 GB, free: 7.926 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3706, allocations: 0 / 0.5735 GB, free: 7.926 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003653/0.3709, allocations: 67.88 kB / 0.5736 GB, free: 7.859 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (9):
 * Single equations (assignments): 7
 * 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.0002559/0.3712, allocations: 139.1 kB / 0.5737 GB, free: 7.715 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005475/0.3717, allocations: 175.7 kB / 0.5739 GB, free: 7.543 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3717, allocations: 0 / 0.5739 GB, free: 7.543 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.372, allocations: 75.95 kB / 0.574 GB, free: 7.469 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3724, allocations: 36.27 kB / 0.574 GB, free: 7.434 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.3732, allocations: 403.4 kB / 0.5744 GB, free: 7.004 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3736, allocations: 0.7284 MB / 0.5751 GB, free: 6.246 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.872e-05/0.3737, allocations: 25.98 kB / 0.5751 GB, free: 6.223 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3738, allocations: 15.44 kB / 0.5751 GB, free: 6.207 MB / 414.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.3738, allocations: 4 kB / 0.5751 GB, free: 6.203 MB / 414.1 MB
Notification: Performance of Templates: time 0.007878/0.3816, allocations: 3.688 MB / 0.5787 GB, free: 2.555 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.591965137049556]