Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001449/0.001449, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001652/0.001652, allocations: 218 kB / 24.5 MB, free: 4.172 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.327/1.327, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.2065/0.2065, allocations: 46.93 MB / 361.5 MB, free: 4.195 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 87.86 kB / 0.4975 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2676, 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): time 0.003213/0.2709, allocations: 2.156 MB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2728, allocations: 1.421 MB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.2728, allocations: 3.938 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.2731, allocations: 91.44 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.2733, allocations: 63.42 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.2738, allocations: 221.8 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.2739, allocations: 147 kB / 0.566 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.274, allocations: 12.59 kB / 0.566 GB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2741, allocations: 67.59 kB / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2743, allocations: 67.66 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2743, allocations: 4 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.2749, allocations: 431.3 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.2749, allocations: 27.78 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.275, allocations: 75.42 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.2755, allocations: 434.4 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2755, allocations: 7.938 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2756, allocations: 4 kB / 0.5671 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2756, allocations: 0 / 0.5671 GB, free: 15.01 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.0006085/0.2762, allocations: 421.1 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2762, allocations: 16.02 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2762, allocations: 20.8 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2764, allocations: 162.1 kB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2764, allocations: 12.38 kB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.2765, allocations: 24.06 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2768, allocations: 206.7 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2768, allocations: 0 / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2769, allocations: 8 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2769, allocations: 4 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2772, allocations: 156.2 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.278, allocations: 0.5484 MB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2781, allocations: 62.48 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2782, allocations: 32.94 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2783, allocations: 0 / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2783, allocations: 30.56 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.2783, allocations: 4 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004077/0.2787, allocations: 129.5 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2788, allocations: 55.39 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.279, allocations: 257.9 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.279, allocations: 29.64 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2791, allocations: 167.9 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2792, allocations: 19.89 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.2792, allocations: 41.67 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2794, allocations: 338.7 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2795, allocations: 39.97 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2797, allocations: 135.6 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.28, allocations: 180.6 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.28, allocations: 4 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003849/0.2804, allocations: 201.3 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2804, allocations: 8 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.2804, allocations: 19.98 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2804, allocations: 4 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2806, allocations: 32.11 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.2806, allocations: 15.92 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2807, allocations: 36.14 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2807, allocations: 12 kB / 0.5704 GB, free: 11.36 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.0001158/0.2808, allocations: 131 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.2809, allocations: 19.86 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.2812, allocations: 142.9 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2812, allocations: 3.984 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2812, allocations: 0 / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2812, allocations: 0 / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2815, allocations: 192.6 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.2815, allocations: 8 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.2815, allocations: 7.984 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2815, allocations: 0 / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2816, allocations: 8 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2816, allocations: 0 / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2816, allocations: 4 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2819, allocations: 211.2 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.2819, allocations: 19.86 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2819, allocations: 0 / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.282, allocations: 7.984 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.2821, allocations: 8 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2821, allocations: 3.984 kB / 0.5711 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.2822, allocations: 181.2 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2822, allocations: 0 / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.2826, allocations: 75.8 kB / 0.5713 GB, free: 10.28 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.0002869/0.2829, allocations: 170.9 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2833, allocations: 168 kB / 0.5717 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2833, allocations: 0 / 0.5717 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.2835, allocations: 99.3 kB / 0.5718 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2838, allocations: 28.98 kB / 0.5718 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.2845, allocations: 402.5 kB / 0.5722 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2848, allocations: 0.732 MB / 0.5729 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2849, allocations: 15.44 kB / 0.5729 GB, free: 8.582 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2849, allocations: 0 / 0.5729 GB, free: 8.582 MB / 414.1 MB Notification: Performance of Templates: time 0.006462/0.2913, allocations: 4.463 MB / 0.5773 GB, free: 4.133 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.209785425104201]