Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008781/0.008781, allocations: 106.3 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002284/0.002284, allocations: 211.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.93 MB / 362.3 MB, free: 4.273 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-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.86 kB / 0.4982 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2861, allocations: 66.08 MB / 0.5628 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003565/0.2897, allocations: 2.221 MB / 0.5649 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2915, allocations: 1.116 MB / 0.566 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2916, allocations: 0 / 0.566 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.2919, allocations: 91.36 kB / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2922, allocations: 87.33 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2925, allocations: 123.2 kB / 0.5663 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.2927, allocations: 182.9 kB / 0.5665 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.2928, allocations: 12.59 kB / 0.5665 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.293, allocations: 79.52 kB / 0.5666 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2931, allocations: 91.44 kB / 0.5667 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2932, allocations: 4 kB / 0.5667 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.2936, allocations: 259.7 kB / 0.5669 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.2937, allocations: 31.8 kB / 0.5669 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.2937, allocations: 79.41 kB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.2942, allocations: 338.5 kB / 0.5673 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2942, allocations: 4 kB / 0.5673 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2942, allocations: 0 / 0.5673 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2942, allocations: 0 / 0.5673 GB, free: 15.5 MB / 414.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.0006384/0.2949, allocations: 437.5 kB / 0.5678 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2949, allocations: 8.031 kB / 0.5678 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.2949, allocations: 24.8 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.2952, allocations: 162.1 kB / 0.568 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2952, allocations: 12.81 kB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2952, allocations: 28.12 kB / 0.568 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.2956, allocations: 231.2 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2956, allocations: 0 / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2957, allocations: 8 kB / 0.5682 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2957, allocations: 8 kB / 0.5682 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.2961, allocations: 253.6 kB / 0.5685 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2971, allocations: 0.6005 MB / 0.5691 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.2974, allocations: 98.48 kB / 0.5691 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2976, allocations: 44.94 kB / 0.5692 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2976, allocations: 4 kB / 0.5692 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2976, allocations: 34.56 kB / 0.5692 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2976, allocations: 0 / 0.5692 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005148/0.2981, allocations: 165.4 kB / 0.5694 GB, free: 13.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.2982, allocations: 59.39 kB / 0.5694 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.2984, allocations: 264.2 kB / 0.5697 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2985, allocations: 37.64 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2986, allocations: 179.3 kB / 0.5699 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2986, allocations: 27.75 kB / 0.5699 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.2987, allocations: 49.66 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2989, allocations: 338.8 kB / 0.5703 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.299, allocations: 51.95 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2993, allocations: 145.7 kB / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.2996, allocations: 204.6 kB / 0.5707 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2996, allocations: 4 kB / 0.5707 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004808/0.3001, allocations: 245 kB / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3001, allocations: 4 kB / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3001, allocations: 4 kB / 0.5709 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3002, allocations: 8.438 kB / 0.5709 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3005, allocations: 83.91 kB / 0.571 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008527/0.3014, allocations: 1.223 MB / 0.5722 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3016, allocations: 43.67 kB / 0.5723 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3016, allocations: 8.188 kB / 0.5723 GB, free: 10.14 MB / 414.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 0.000136/0.3018, allocations: 141.7 kB / 0.5724 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3018, allocations: 23.86 kB / 0.5724 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.3023, allocations: 175.6 kB / 0.5726 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3023, allocations: 0 / 0.5726 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3023, allocations: 0 / 0.5726 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3023, allocations: 3.984 kB / 0.5726 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.3029, allocations: 419.1 kB / 0.573 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3029, allocations: 0 / 0.573 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.3032, allocations: 60.03 kB / 0.573 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3032, allocations: 4 kB / 0.573 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3032, allocations: 4 kB / 0.5731 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000781/0.304, allocations: 1.215 MB / 0.5742 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.304, allocations: 4.062 kB / 0.5742 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3044, allocations: 253 kB / 0.5745 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3044, allocations: 15.86 kB / 0.5745 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3044, allocations: 7.984 kB / 0.5745 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3046, allocations: 8 kB / 0.5745 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3047, allocations: 11.98 kB / 0.5745 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3047, allocations: 4 kB / 0.5745 GB, free: 7.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3049, allocations: 191 kB / 0.5747 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3049, allocations: 0 / 0.5747 GB, free: 7.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3052, allocations: 71.81 kB / 0.5748 GB, free: 7.418 MB / 414.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.0002575/0.3055, allocations: 147.1 kB / 0.5749 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.306, allocations: 167.7 kB / 0.5751 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.306, allocations: 0 / 0.5751 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.3063, allocations: 87.89 kB / 0.5752 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3067, allocations: 21.97 kB / 0.5752 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.3075, allocations: 433.1 kB / 0.5756 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3079, allocations: 0.7284 MB / 0.5763 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.3079, allocations: 19.44 kB / 0.5763 GB, free: 5.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3079, allocations: 0 / 0.5763 GB, free: 5.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006834/0.3148, allocations: 4.401 MB / 0.5806 GB, free: 1.355 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.982733020093292]