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.001342/0.001342, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00241/0.00241, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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 0.9622/0.9622, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.2649/0.2649, allocations: 34.25 MB / 296.1 MB, free: 0.7344 MB / 266.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 9.92e-07/9.92e-07, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.138e-05, allocations: 2.312 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00241/0.002421, allocations: 2.217 MB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.003867, allocations: 1.075 MB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.003944, allocations: 3.938 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.004185, allocations: 83.41 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.004408, allocations: 91.25 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004656, allocations: 127.4 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.004832, allocations: 190.7 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.004872, allocations: 14.56 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.005045, allocations: 99.59 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.005135, allocations: 63.75 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.00515, allocations: 4 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.005351, allocations: 139.8 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.005405, allocations: 27.8 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.005456, allocations: 52.28 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.005719, allocations: 278.8 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00572, allocations: 4 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005721, allocations: 0 / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.005724, allocations: 0 / 329.7 MB, free: 3.195 MB / 298.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.000347/0.006071, allocations: 405.6 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.006097, allocations: 12.03 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.006137, allocations: 28.92 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.006259, allocations: 155.8 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.006271, allocations: 16.88 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.006295, allocations: 24.38 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.006469, allocations: 160.2 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.006478, allocations: 7.938 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.006491, allocations: 12 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.006498, allocations: 8 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.006588, allocations: 79.47 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.007071, allocations: 425.5 kB / 331 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.007174, allocations: 49.39 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.0072, allocations: 12.86 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.007218, allocations: 8 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.00724, allocations: 38.48 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.007242, allocations: 7.984 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001505/0.007393, allocations: 73.55 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.007423, allocations: 51.41 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007538, allocations: 203.4 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.007556, allocations: 25.7 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.007625, allocations: 175.9 kB / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.007647, allocations: 35.72 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.007696, allocations: 45.64 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.007776, allocations: 330.8 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.007803, allocations: 16 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.007879, allocations: 127.3 kB / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.008005, allocations: 160.2 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.008007, allocations: 0 / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001447/0.008152, allocations: 147.2 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.008164, allocations: 16 kB / 332.5 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008169, allocations: 4 kB / 332.5 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008183, allocations: 4 kB / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.008382, allocations: 63.91 kB / 332.6 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004126/0.008795, allocations: 1.202 MB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.008871, allocations: 19.84 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.008882, allocations: 12 kB / 333.8 MB, free: 14.79 MB / 314.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.262e-05/0.008955, allocations: 136.7 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.008975, allocations: 8 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.009105, allocations: 99.36 kB / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.009106, allocations: 0 / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.009109, allocations: 3.938 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.009112, allocations: 4 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.009329, allocations: 264.4 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.009332, allocations: 7.984 kB / 334.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.009445, allocations: 35.98 kB / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009447, allocations: 0 / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.009455, allocations: 3.938 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003482/0.009803, allocations: 1.197 MB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009804, allocations: 4.188 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.009909, allocations: 179.9 kB / 335.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.009924, allocations: 15.91 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.009939, allocations: 4 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.009993, allocations: 8 kB / 335.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.01002, allocations: 11.92 kB / 335.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01003, allocations: 0 / 335.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.01006, allocations: 57.77 kB / 335.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01006, allocations: 3.938 kB / 335.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.01027, allocations: 75.77 kB / 335.9 MB, free: 12.55 MB / 314.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.0001684/0.01044, allocations: 140.3 kB / 336.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01064, allocations: 96.62 kB / 336.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.01065, allocations: 4 kB / 336.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.01074, allocations: 53.69 kB / 336.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.01088, allocations: 16 kB / 336.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.01153, allocations: 397.7 kB / 336.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.01157, allocations: 75.81 kB / 336.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.01161, allocations: 9.5 kB / 336.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.01167, allocations: 67.36 kB / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01167, allocations: 0 / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Templates: time 0.005059/0.01673, allocations: 3.566 MB / 340.3 MB, free: 8.145 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1100296350196004]