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.0009632/0.0009632, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001132/0.001132, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9758/0.9758, allocations: 177.1 MB / 206 MB, free: 4.5 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.172/0.172, allocations: 34.25 MB / 296.8 MB, free: 13.94 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.122e-06/1.122e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.735e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002102/0.00212, allocations: 2.213 MB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003164, allocations: 1.039 MB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.003257, allocations: 4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.003491, allocations: 83.41 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.003708, allocations: 99.12 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.003918, allocations: 123.5 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.004039, allocations: 186.7 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.004081, allocations: 12.59 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.004232, allocations: 103.6 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.004313, allocations: 63.69 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004327, allocations: 8 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.004498, allocations: 135.8 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.004542, allocations: 27.78 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.004582, allocations: 59.78 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.004821, allocations: 278.7 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004824, allocations: 4 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004825, allocations: 0 / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.004828, allocations: 0 / 383.7 MB, free: 18.95 MB / 314.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.0003291/0.005157, allocations: 0.5195 MB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.005186, allocations: 8.031 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.00523, allocations: 44.75 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.005344, allocations: 167 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005356, allocations: 20.88 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.005372, allocations: 20.38 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.005524, allocations: 157.4 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005533, allocations: 3.938 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.005544, allocations: 12 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.005551, allocations: 4 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.005637, allocations: 79.45 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.006103, allocations: 0.512 MB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.006212, allocations: 75.06 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.00624, allocations: 19.77 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.006256, allocations: 4 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.00627, allocations: 41.33 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006272, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001715/0.006443, allocations: 93.52 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.00646, allocations: 55.41 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.006547, allocations: 266.5 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.006555, allocations: 25.7 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.006607, allocations: 238.5 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.006621, allocations: 35.72 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.006666, allocations: 59.3 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.006706, allocations: 0.4962 MB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.006737, allocations: 27.92 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.006794, allocations: 155.3 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.006902, allocations: 199.1 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.006905, allocations: 7.938 kB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001651/0.00707, allocations: 185.5 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.007081, allocations: 4 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.007087, allocations: 4 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.007097, allocations: 8 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.007308, allocations: 79.91 kB / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000316/0.007624, allocations: 1.825 MB / 389.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.007709, allocations: 24.17 kB / 389.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.007721, allocations: 19.94 kB / 389.2 MB, free: 13.1 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 6.238e-05/0.007783, allocations: 168.5 kB / 389.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007809, allocations: 19.86 kB / 389.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.007961, allocations: 119.4 kB / 389.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007963, allocations: 7.938 kB / 389.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.007964, allocations: 0 / 389.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.007967, allocations: 0 / 389.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.00819, allocations: 373.3 kB / 389.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.008192, allocations: 0 / 389.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.008322, allocations: 55.92 kB / 389.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008325, allocations: 0 / 389.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.008333, allocations: 11.94 kB / 389.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002589/0.008592, allocations: 1.826 MB / 391.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008594, allocations: 3.938 kB / 391.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.00871, allocations: 251.1 kB / 392 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.008725, allocations: 15.84 kB / 392 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.008743, allocations: 4 kB / 392 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.008806, allocations: 11.98 kB / 392 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.008839, allocations: 15.91 kB / 392.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.008847, allocations: 8 kB / 392.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.008884, allocations: 164.1 kB / 392.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008884, allocations: 0 / 392.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.009136, allocations: 75.89 kB / 392.3 MB, free: 9.855 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.0001732/0.009309, allocations: 152.1 kB / 392.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.009542, allocations: 123.4 kB / 392.6 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009544, allocations: 0 / 392.6 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.009647, allocations: 76.66 kB / 392.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.009856, allocations: 27.98 kB / 392.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.01051, allocations: 390.1 kB / 393 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.01054, allocations: 71.83 kB / 393.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.01059, allocations: 17.48 kB / 393.1 MB, free: 8.941 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.01064, allocations: 86.2 kB / 393.2 MB, free: 8.855 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01064, allocations: 0 / 393.2 MB, free: 8.855 MB / 314.7 MB Notification: Performance of Templates: time 0.004986/0.01563, allocations: 3.668 MB / 396.9 MB, free: 5.262 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.253945190925151]