Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001329/0.001329, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001439/0.001439, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.482/1.482, allocations: 230.3 MB / 258 MB, free: 8.18 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2369/0.2369, allocations: 46.93 MB / 361.3 MB, free: 4.371 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube")
translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.86 kB / 0.4972 GB, free: 7.453 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3746, allocations: 66.05 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004288/0.3789, allocations: 2.156 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002318/0.3812, allocations: 1.421 MB / 0.5652 GB, free: 0.9023 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3813, allocations: 7.938 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.3816, allocations: 83.44 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3818, allocations: 71.42 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.3824, allocations: 210 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000222/0.3827, allocations: 151 kB / 0.5657 GB, free: 400 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.3827, allocations: 12.58 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3829, allocations: 63.59 kB / 0.5658 GB, free: 320 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3831, allocations: 71.53 kB / 0.5658 GB, free: 248 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3831, allocations: 4 kB / 0.5658 GB, free: 244 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.3838, allocations: 431.5 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.3838, allocations: 31.7 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.3839, allocations: 71.42 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.3845, allocations: 434.4 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3845, allocations: 3.938 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.3845, allocations: 0 / 0.5668 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 7.404e-06/0.3845, allocations: 0 / 0.5668 GB, free: 15.29 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: 46
 * Number of variables: 46
Notification: Performance of Generate backend data structure: time 0.0006901/0.3852, allocations: 437.1 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3852, allocations: 8.031 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.3853, allocations: 20.8 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3855, allocations: 162.1 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3855, allocations: 16.31 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.3856, allocations: 28.11 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.386, allocations: 198.7 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.386, allocations: 4 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.386, allocations: 12 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.386, allocations: 4 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.3863, allocations: 152.2 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.3873, allocations: 0.5445 MB / 0.5683 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3875, allocations: 62.48 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3876, allocations: 32.95 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3877, allocations: 3.984 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3877, allocations: 38.5 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3877, allocations: 0 / 0.5684 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0004517/0.3882, allocations: 129.5 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3882, allocations: 55.41 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.3885, allocations: 257.8 kB / 0.5688 GB, free: 13 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3886, allocations: 29.7 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3887, allocations: 167.9 kB / 0.569 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3887, allocations: 15.89 kB / 0.569 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.3888, allocations: 45.59 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002507/0.3891, allocations: 334.8 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3892, allocations: 43.97 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3894, allocations: 127.2 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.3897, allocations: 188.6 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3897, allocations: 4 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004037/0.3901, allocations: 197.6 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3901, allocations: 8 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.3902, allocations: 20.17 kB / 0.57 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3902, allocations: 4 kB / 0.57 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3903, allocations: 35.92 kB / 0.57 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3903, allocations: 7.938 kB / 0.57 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3905, allocations: 35.77 kB / 0.57 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.3905, allocations: 8 kB / 0.57 GB, free: 11.63 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 (17):
 * Single equations (assignments): 15
 * 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.0001375/0.3906, allocations: 129.7 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.3907, allocations: 23.86 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.3911, allocations: 138.9 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3911, allocations: 0 / 0.5703 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3911, allocations: 0 / 0.5703 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3911, allocations: 7.984 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.3914, allocations: 188.6 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.3914, allocations: 12 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.3914, allocations: 11.98 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3914, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3915, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3915, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3915, allocations: 4 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3918, allocations: 215.2 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3918, allocations: 15.86 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3919, allocations: 0 / 0.5708 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.392, allocations: 7.984 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.392, allocations: 8 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.392, allocations: 4 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001797/0.3922, allocations: 177.2 kB / 0.571 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3922, allocations: 0 / 0.571 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003711/0.3926, allocations: 79.81 kB / 0.571 GB, free: 10.55 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 (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.0004829/0.3931, allocations: 179 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004778/0.3935, allocations: 160 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3935, allocations: 4 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3938, allocations: 107.3 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3941, allocations: 24.97 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.3949, allocations: 376.7 kB / 0.5718 GB, free: 9.648 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.3954, allocations: 0.7281 MB / 0.5726 GB, free: 8.895 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.929e-05/0.3954, allocations: 21.42 kB / 0.5726 GB, free: 8.875 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3954, allocations: 15.44 kB / 0.5726 GB, free: 8.859 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3954, allocations: 0 / 0.5726 GB, free: 8.859 MB / 414.1 MB
Notification: Performance of Templates: time 0.009502/0.4049, allocations: 4.351 MB / 0.5768 GB, free: 4.551 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.2772433357313275]