Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001119/0.001119, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00179/0.002909, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001049/0.001049, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002498, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08921/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02454/0.263, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.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.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 292.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.276e-05, allocations: 5.141 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002764/0.002787, allocations: 2.28 MB / 295.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.00419, allocations: 1.083 MB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.004283, allocations: 4 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.004485, allocations: 87.34 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.00469, allocations: 91.25 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.004921, allocations: 115.4 kB / 296.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.005106, allocations: 190.7 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.005151, allocations: 10.56 kB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.005353, allocations: 119.5 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.005451, allocations: 67.73 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.005468, allocations: 8 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.005707, allocations: 139.7 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.005755, allocations: 19.88 kB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.005802, allocations: 39.88 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.006081, allocations: 258.9 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.006092, allocations: 0 / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006093, allocations: 0 / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.006102, allocations: 0 / 297.3 MB, free: 1.684 MB / 282.7 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.0004463/0.006548, allocations: 449.1 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.006579, allocations: 8.031 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.006632, allocations: 36.91 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006793, allocations: 156.6 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.006808, allocations: 20.88 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.006831, allocations: 16.38 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.007047, allocations: 172.2 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.007058, allocations: 7.875 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007069, allocations: 4 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.007076, allocations: 8 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.007168, allocations: 87.47 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.007696, allocations: 405.5 kB / 298.7 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.007803, allocations: 49.38 kB / 298.7 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.007828, allocations: 16.86 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.007846, allocations: 0 / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.007871, allocations: 38.48 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.007872, allocations: 4 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001942/0.008067, allocations: 69.61 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.008121, allocations: 55.45 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.008254, allocations: 201 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.008273, allocations: 33.7 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.008382, allocations: 175.8 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.008403, allocations: 31.69 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.008461, allocations: 49.64 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.008574, allocations: 330.8 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.008603, allocations: 16 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.008683, allocations: 115.5 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.008865, allocations: 164.1 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.00887, allocations: 4 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001573/0.009027, allocations: 155.5 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.009042, allocations: 17.48 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009048, allocations: 4 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009062, allocations: 4.438 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.00929, allocations: 71.91 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/0.009764, allocations: 1.199 MB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.009846, allocations: 23.84 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.009859, allocations: 11.98 kB / 301.5 MB, free: 13.23 MB / 298.7 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_1.geometry,m_flow_IN_con_2.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 7.795e-05/0.009937, allocations: 132.5 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.009955, allocations: 4 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.0101, allocations: 107.5 kB / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01011, allocations: 0 / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01011, allocations: 3.938 kB / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.01011, allocations: 3.984 kB / 301.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.01034, allocations: 260.4 kB / 302 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01035, allocations: 8.062 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.01047, allocations: 35.98 kB / 302 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01049, allocations: 19.8 kB / 302.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01049, allocations: 3.938 kB / 302.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.0105, allocations: 11.98 kB / 302.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004744/0.01097, allocations: 1.197 MB / 303.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01097, allocations: 4 kB / 303.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.01108, allocations: 172 kB / 303.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.0111, allocations: 4.125 kB / 303.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/0.01115, allocations: 11.98 kB / 303.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.01119, allocations: 19.91 kB / 303.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.0112, allocations: 4 kB / 303.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.01123, allocations: 61.92 kB / 303.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 4 kB / 303.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01144, allocations: 67.83 kB / 303.6 MB, free: 10.99 MB / 298.7 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.0001791/0.01162, allocations: 128.2 kB / 303.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.01185, allocations: 122.4 kB / 303.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.01186, allocations: 4 kB / 303.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01198, allocations: 74.47 kB / 303.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01219, allocations: 118.6 kB / 304 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.01381, allocations: 417.3 kB / 304.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.01385, allocations: 71.98 kB / 304.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.0139, allocations: 21.61 kB / 304.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.01396, allocations: 71.36 kB / 304.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01397, allocations: 0 / 304.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of Templates: time 0.004879/0.01884, allocations: 3.361 MB / 308 MB, free: 6.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.929025505669415]