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.001748/0.001748, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002089/0.002089, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.513/1.513, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2106/0.2106, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 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.1.|m_flow.2.|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.1.|m_flow.2.|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 0.002075/0.002075, allocations: 67.89 kB / 443.2 MB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 66.01 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.0028/0.3406, allocations: 2.111 MB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3419, allocations: 0.9851 MB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.342, allocations: 3.062 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3422, allocations: 82.23 kB / 0.5004 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.3425, allocations: 88.8 kB / 0.5005 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3428, allocations: 123.5 kB / 0.5006 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3429, allocations: 178.7 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.343, allocations: 15.06 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3432, allocations: 77.25 kB / 0.5008 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3433, allocations: 85.86 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3433, allocations: 10.44 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.3436, allocations: 129.8 kB / 0.5011 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3436, allocations: 32.95 kB / 0.5011 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.3437, allocations: 63.86 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.344, allocations: 303.6 kB / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.344, allocations: 0 / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.344, allocations: 0 / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.344, allocations: 4 kB / 0.5014 GB, free: 27.23 MB / 446.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.0005188/0.3445, allocations: 436.2 kB / 0.5019 GB, free: 26.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3446, allocations: 9.438 kB / 0.5019 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.3446, allocations: 25.58 kB / 0.5019 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3448, allocations: 156.5 kB / 0.502 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3448, allocations: 15.28 kB / 0.5021 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3448, allocations: 23.75 kB / 0.5021 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.3452, allocations: 234.2 kB / 0.5023 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3452, allocations: 0 / 0.5023 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3452, allocations: 12 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3452, allocations: 6.094 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.3456, allocations: 256 kB / 0.5026 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.3464, allocations: 0.5183 MB / 0.5031 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3466, allocations: 97.95 kB / 0.5032 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3468, allocations: 39.03 kB / 0.5032 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3468, allocations: 6.75 kB / 0.5032 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3468, allocations: 33.19 kB / 0.5032 GB, free: 26.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.3468, allocations: 0 / 0.5032 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004751/0.3473, allocations: 160 kB / 0.5034 GB, free: 25.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.3473, allocations: 54.5 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3474, allocations: 196 kB / 0.5036 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3474, allocations: 29.7 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3475, allocations: 187.9 kB / 0.5038 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3475, allocations: 37.28 kB / 0.5039 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3476, allocations: 51.31 kB / 0.5039 GB, free: 25.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.3476, allocations: 332.4 kB / 0.5042 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3478, allocations: 45.59 kB / 0.5043 GB, free: 25.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3479, allocations: 153.1 kB / 0.5044 GB, free: 25.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.3483, allocations: 208.8 kB / 0.5046 GB, free: 24.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3483, allocations: 3.094 kB / 0.5046 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003987/0.3487, allocations: 229.8 kB / 0.5048 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3487, allocations: 6.25 kB / 0.5049 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3487, allocations: 3.062 kB / 0.5049 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3487, allocations: 9.969 kB / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.3491, allocations: 90.19 kB / 0.5049 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004493/0.3495, allocations: 1.217 MB / 0.5061 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3497, allocations: 29.41 kB / 0.5062 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3497, allocations: 16.7 kB / 0.5062 GB, free: 23.54 MB / 446.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 9.022e-05/0.3498, allocations: 132.8 kB / 0.5063 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3498, allocations: 25.47 kB / 0.5063 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.3502, allocations: 157.4 kB / 0.5065 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3502, allocations: 3.281 kB / 0.5065 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3502, allocations: 0 / 0.5065 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3502, allocations: 11.41 kB / 0.5065 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.3507, allocations: 394.3 kB / 0.5069 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3507, allocations: 3.25 kB / 0.5069 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.351, allocations: 59.08 kB / 0.5069 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.351, allocations: 3.188 kB / 0.5069 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.351, allocations: 3.188 kB / 0.5069 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003855/0.3514, allocations: 1.217 MB / 0.5081 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3514, allocations: 0 / 0.5081 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3517, allocations: 235.1 kB / 0.5084 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.3517, allocations: 14.5 kB / 0.5084 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3517, allocations: 6.844 kB / 0.5084 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3519, allocations: 9 kB / 0.5084 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.3519, allocations: 6.266 kB / 0.5084 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3519, allocations: 9.656 kB / 0.5084 GB, free: 21.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.352, allocations: 139.8 kB / 0.5085 GB, free: 21.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 0.5085 GB, free: 21.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.3523, allocations: 85.41 kB / 0.5086 GB, free: 21.48 MB / 446.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.0002062/0.3526, allocations: 154 kB / 0.5088 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.353, allocations: 160.8 kB / 0.5089 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.353, allocations: 0.875 kB / 0.5089 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.3533, allocations: 91.66 kB / 0.509 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3536, allocations: 21.38 kB / 0.509 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.3543, allocations: 390.5 kB / 0.5094 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.3544, allocations: 123.3 kB / 0.5095 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.3545, allocations: 14.41 kB / 0.5095 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.3545, allocations: 17.94 kB / 0.5095 GB, free: 20.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3545, allocations: 0 / 0.5095 GB, free: 20.95 MB / 446.1 MB Notification: Performance of Templates: time 0.006486/0.361, allocations: 3.133 MB / 0.5126 GB, free: 20.69 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.292971249087714]