Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_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=5000,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009739/0.0009739, allocations: 117.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3291/0.3291, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2838, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002665/0.2865, allocations: 2.244 MB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2878, allocations: 1.105 MB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.2878, allocations: 2.625 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.2881, allocations: 86.08 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.2884, allocations: 68.28 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.2886, allocations: 104.5 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2887, allocations: 186.6 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.2888, allocations: 23.95 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.289, allocations: 80.28 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2891, allocations: 82.02 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2891, allocations: 5.344 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.2894, allocations: 267.8 kB / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.2895, allocations: 28.02 kB / 0.5193 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.2895, allocations: 76.5 kB / 0.5194 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.2899, allocations: 331.6 kB / 0.5197 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2899, allocations: 0 / 0.5197 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2899, allocations: 4 kB / 0.5197 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2899, allocations: 0 / 0.5197 GB, free: 34.82 MB / 378.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.0004952/0.2904, allocations: 499.2 kB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2904, allocations: 9.562 kB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.2905, allocations: 25.28 kB / 0.5202 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2906, allocations: 212.5 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2907, allocations: 17.59 kB / 0.5205 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2907, allocations: 26.56 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.291, allocations: 227.2 kB / 0.5207 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2911, allocations: 0 / 0.5207 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2911, allocations: 10.91 kB / 0.5207 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2911, allocations: 6.75 kB / 0.5207 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.2915, allocations: 247.4 kB / 0.521 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.2922, allocations: 0.6173 MB / 0.5216 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.2925, allocations: 94.66 kB / 0.5216 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2926, allocations: 47.98 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2926, allocations: 7.359 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2927, allocations: 37.38 kB / 0.5217 GB, free: 33.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2927, allocations: 0 / 0.5217 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004728/0.2932, allocations: 168.5 kB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2932, allocations: 51.41 kB / 0.5219 GB, free: 33.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2934, allocations: 267.9 kB / 0.5222 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2934, allocations: 29.7 kB / 0.5222 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2935, allocations: 167.8 kB / 0.5224 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2935, allocations: 36.22 kB / 0.5224 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.2936, allocations: 47.55 kB / 0.5225 GB, free: 32.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.2936, allocations: 343.2 kB / 0.5228 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2938, allocations: 44.3 kB / 0.5228 GB, free: 32.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.294, allocations: 153.5 kB / 0.523 GB, free: 32.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.2943, allocations: 207.4 kB / 0.5232 GB, free: 32.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2943, allocations: 2.406 kB / 0.5232 GB, free: 32.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004353/0.2948, allocations: 238.8 kB / 0.5234 GB, free: 32.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2948, allocations: 7.938 kB / 0.5234 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2948, allocations: 3.062 kB / 0.5234 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2948, allocations: 9.297 kB / 0.5234 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.2952, allocations: 80.88 kB / 0.5235 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/0.2956, allocations: 1.224 MB / 0.5247 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2958, allocations: 40.23 kB / 0.5247 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2959, allocations: 9.906 kB / 0.5248 GB, free: 30.87 MB / 378.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_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 8.713e-05/0.2959, allocations: 137.3 kB / 0.5249 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.296, allocations: 22.12 kB / 0.5249 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.2964, allocations: 168.8 kB / 0.5251 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2964, allocations: 6.469 kB / 0.5251 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2964, allocations: 0 / 0.5251 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2964, allocations: 0 / 0.5251 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.2969, allocations: 451.6 kB / 0.5255 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.297, allocations: 0 / 0.5255 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2972, allocations: 60.38 kB / 0.5256 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2972, allocations: 64 / 0.5256 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2972, allocations: 10.72 kB / 0.5256 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003606/0.2976, allocations: 1.212 MB / 0.5268 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2976, allocations: 3.594 kB / 0.5268 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.2982, allocations: 0.8717 MB / 0.5276 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2982, allocations: 98.02 kB / 0.5277 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2983, allocations: 10.14 kB / 0.5277 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2984, allocations: 3.188 kB / 0.5277 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.2985, allocations: 20.48 kB / 0.5277 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2985, allocations: 6.297 kB / 0.5277 GB, free: 28.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2986, allocations: 183.2 kB / 0.5279 GB, free: 28.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 2.844 kB / 0.5279 GB, free: 28.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.2991, allocations: 68.47 kB / 0.528 GB, free: 28.02 MB / 378.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.0002339/0.2993, allocations: 150.6 kB / 0.5281 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.2998, allocations: 168.4 kB / 0.5283 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2998, allocations: 0 / 0.5283 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.3001, allocations: 87.48 kB / 0.5284 GB, free: 27.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.3005, allocations: 25.78 kB / 0.5284 GB, free: 27.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.3014, allocations: 0.5643 MB / 0.5289 GB, free: 27.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3016, allocations: 0.7351 MB / 0.5297 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.3017, allocations: 24.06 kB / 0.5297 GB, free: 26.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.3018, allocations: 15.91 kB / 0.5297 GB, free: 26.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3018, allocations: 0 / 0.5297 GB, free: 26.7 MB / 378.7 MB Notification: Performance of Templates: time 0.005927/0.3077, allocations: 3.427 MB / 0.533 GB, free: 26.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches