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_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.002048/0.002048, 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.002413/0.002413, 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.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2339/0.2339, allocations: 46.93 MB / 361.6 MB, free: 4.199 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_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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [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.00259/0.00259, allocations: 83.86 kB / 0.4975 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3504, allocations: 66.08 MB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004082/0.3545, allocations: 2.218 MB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3565, allocations: 1.117 MB / 0.5653 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3567, allocations: 0 / 0.5653 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.357, allocations: 91.38 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.3574, allocations: 87.33 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.3579, allocations: 122.9 kB / 0.5656 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3582, allocations: 178.9 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.3582, allocations: 8.594 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3585, allocations: 87.45 kB / 0.5658 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3587, allocations: 83.5 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3587, allocations: 8 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.3592, allocations: 263.7 kB / 0.5662 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.3593, allocations: 31.78 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3594, allocations: 75.42 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.36, allocations: 341.3 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.36, allocations: 3.984 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.36, allocations: 4 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.36, allocations: 0 / 0.5666 GB, free: 15.53 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.0008056/0.3608, allocations: 437.5 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3608, allocations: 8.031 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.3609, allocations: 24.8 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3612, allocations: 158.1 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3612, allocations: 16.81 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.3612, allocations: 24.12 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.3617, allocations: 235.2 kB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3617, allocations: 0 / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3618, allocations: 8 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3618, allocations: 4 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.3623, allocations: 257.6 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3635, allocations: 0.6005 MB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3638, allocations: 98.48 kB / 0.5684 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3639, allocations: 44.98 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3639, allocations: 0 / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.364, allocations: 30.56 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.364, allocations: 7.938 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005799/0.3646, allocations: 169.4 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3646, allocations: 51.41 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.3649, allocations: 276.1 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3649, allocations: 25.7 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3651, allocations: 175.4 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.3651, allocations: 39.73 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3652, allocations: 49.66 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3654, allocations: 334.8 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3656, allocations: 47.97 kB / 0.5696 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.3658, allocations: 149.6 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.3662, allocations: 208.6 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.3662, allocations: 8 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005147/0.3667, allocations: 241.2 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3668, allocations: 4 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3668, allocations: 4 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3668, allocations: 4 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.3672, allocations: 83.89 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/0.3681, allocations: 1.223 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.3683, allocations: 39.66 kB / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.3683, allocations: 16 kB / 0.5715 GB, free: 10.17 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.0001462/0.3684, allocations: 129.9 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.3685, allocations: 27.86 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.369, allocations: 171.5 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.369, allocations: 4 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.369, allocations: 7.984 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.369, allocations: 0 / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.3696, allocations: 423.1 kB / 0.5722 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3696, allocations: 0 / 0.5722 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3699, allocations: 55.97 kB / 0.5723 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3699, allocations: 0 / 0.5723 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3699, allocations: 4.062 kB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.3708, allocations: 1.219 MB / 0.5735 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3708, allocations: 96 / 0.5735 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3712, allocations: 249.1 kB / 0.5737 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.3713, allocations: 27.84 kB / 0.5738 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.3713, allocations: 0 / 0.5738 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3715, allocations: 11.98 kB / 0.5738 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.3715, allocations: 15.92 kB / 0.5738 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3715, allocations: 8 kB / 0.5738 GB, free: 7.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3717, allocations: 191 kB / 0.574 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3717, allocations: 0 / 0.574 GB, free: 7.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000406/0.3722, allocations: 67.88 kB / 0.574 GB, free: 7.445 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.0002985/0.3725, allocations: 143.1 kB / 0.5742 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.373, allocations: 164.2 kB / 0.5743 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.373, allocations: 4.312 kB / 0.5743 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.3734, allocations: 75.91 kB / 0.5744 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3738, allocations: 32.97 kB / 0.5744 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.3747, allocations: 399.5 kB / 0.5748 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.3751, allocations: 0.7285 MB / 0.5755 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.546e-05/0.3752, allocations: 29.97 kB / 0.5756 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.3752, allocations: 19.44 kB / 0.5756 GB, free: 5.793 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3752, allocations: 0 / 0.5756 GB, free: 5.793 MB / 414.1 MB Notification: Performance of Templates: time 0.008435/0.3837, allocations: 3.687 MB / 0.5792 GB, free: 2.152 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_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.496616847813129]