Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 79.62 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 164.8 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1925/0.1925, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.072e-05, allocations: 2.281 kB / 440.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.0033/0.003321, allocations: 2.106 MB / 442.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004997, allocations: 0.9849 MB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.005096, allocations: 4 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.005408, allocations: 83.36 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.005705, allocations: 95.14 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.006018, allocations: 119.5 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.006256, allocations: 198.7 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.00631, allocations: 8.594 kB / 443.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.006547, allocations: 99.59 kB / 443.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.006678, allocations: 63.75 kB / 443.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.006705, allocations: 8 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.006995, allocations: 135.8 kB / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.007058, allocations: 31.78 kB / 444.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.007131, allocations: 43.8 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.007579, allocations: 302.7 kB / 444.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007581, allocations: 0 / 444.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007581, allocations: 4 kB / 444.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.007586, allocations: 0 / 444.4 MB, free: 3.824 MB / 366.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.0006621/0.008248, allocations: 429.6 kB / 444.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.008284, allocations: 12.03 kB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.008342, allocations: 32.69 kB / 444.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.008552, allocations: 164.4 kB / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.008576, allocations: 12.88 kB / 445 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.008605, allocations: 20.38 kB / 445.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.009053, allocations: 228.6 kB / 445.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.009066, allocations: 7.938 kB / 445.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.009091, allocations: 12 kB / 445.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.009109, allocations: 7.938 kB / 445.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.00958, allocations: 257.8 kB / 445.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.01054, allocations: 0.5083 MB / 446.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.01084, allocations: 98.62 kB / 446.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.01098, allocations: 44.86 kB / 446.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01101, allocations: 3.938 kB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.01104, allocations: 38.56 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.01104, allocations: 0 / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005569/0.0116, allocations: 157.5 kB / 446.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.01164, allocations: 55.41 kB / 446.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.01185, allocations: 199.8 kB / 446.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.01187, allocations: 25.7 kB / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01201, allocations: 191.9 kB / 446.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01205, allocations: 35.7 kB / 446.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.01213, allocations: 41.7 kB / 446.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.01228, allocations: 330.8 kB / 447.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01245, allocations: 47.97 kB / 447.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.01268, allocations: 146.1 kB / 447.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.0131, allocations: 212.6 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01311, allocations: 3.938 kB / 447.7 MB, free: 308 kB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005162/0.01362, allocations: 233.6 kB / 447.9 MB, free: 68 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01364, allocations: 4 kB / 447.9 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.01365, allocations: 8 kB / 447.9 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01366, allocations: 4 kB / 447.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1764/0.1901, allocations: 82.66 kB / 448 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/0.1906, allocations: 1.223 MB / 449.2 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1908, allocations: 25.31 kB / 449.2 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1908, allocations: 10.53 kB / 449.2 MB, free: 20.31 MB / 366.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.0001014/0.1909, allocations: 135.2 kB / 449.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1909, allocations: 18.06 kB / 449.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1913, allocations: 172.6 kB / 449.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1913, allocations: 1.125 kB / 449.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1913, allocations: 3.75 kB / 449.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1913, allocations: 1.953 kB / 449.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.1919, allocations: 383.7 kB / 449.9 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1919, allocations: 1.891 kB / 449.9 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1922, allocations: 59.88 kB / 450 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1922, allocations: 7.531 kB / 450 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1922, allocations: 5.328 kB / 450 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003979/0.1926, allocations: 1.219 MB / 451.2 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1926, allocations: 1.844 kB / 451.2 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.193, allocations: 234.3 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.193, allocations: 14.55 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.193, allocations: 3.172 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1932, allocations: 14.72 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.1933, allocations: 16 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1933, allocations: 4.266 kB / 451.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1934, allocations: 135.9 kB / 451.7 MB, free: 18.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1934, allocations: 0 / 451.7 MB, free: 18.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.1938, allocations: 78.27 kB / 451.7 MB, free: 18.5 MB / 366.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.0002612/0.1941, allocations: 144.2 kB / 451.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.1946, allocations: 162.6 kB / 452 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1946, allocations: 0 / 452 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.1949, allocations: 91.69 kB / 452.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1952, allocations: 14.42 kB / 452.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.196, allocations: 371.8 kB / 452.5 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.1961, allocations: 122.3 kB / 452.6 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1962, allocations: 18.58 kB / 452.6 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1962, allocations: 16.17 kB / 452.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1962, allocations: 1.219 kB / 452.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of Templates: time 0.007215/0.2034, allocations: 3.173 MB / 455.8 MB, free: 17.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 4.727759085595608]