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.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.001725/0.001725, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002152/0.002152, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.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.2251/0.2251, allocations: 46.97 MB / 361.6 MB, free: 4.102 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003438/0.2864, allocations: 2.043 MB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.2884, allocations: 1.253 MB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2885, allocations: 4 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.2887, allocations: 79.47 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.2889, allocations: 71.36 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.2895, allocations: 214.8 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.2896, allocations: 147 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.2897, allocations: 16.58 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.2899, allocations: 71.59 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.29, allocations: 63.53 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.29, allocations: 4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.2904, allocations: 223.8 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.2904, allocations: 23.8 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.2905, allocations: 55.61 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.291, allocations: 378.4 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.291, allocations: 0 / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.291, allocations: 3.938 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.291, allocations: 4 kB / 0.5664 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006508/0.2917, allocations: 429.1 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2917, allocations: 8.031 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.2918, allocations: 24.8 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.292, allocations: 162.1 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.292, allocations: 12.38 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.292, allocations: 24.06 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.2924, allocations: 206.7 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2924, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2925, allocations: 8 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2925, allocations: 4 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.2928, allocations: 156.2 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.2936, allocations: 482.5 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2938, allocations: 66.42 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2939, allocations: 36.88 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.2939, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2939, allocations: 34.56 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.294, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004606/0.2944, allocations: 121.5 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2945, allocations: 55.39 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2946, allocations: 194.8 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2947, allocations: 25.7 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2948, allocations: 175.9 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2948, allocations: 31.78 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.2949, allocations: 41.7 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.295, allocations: 330.7 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2952, allocations: 35.97 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2954, allocations: 128.8 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.2957, allocations: 180.7 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2957, allocations: 11.94 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004146/0.2961, allocations: 189.2 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2961, allocations: 8.438 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.2962, allocations: 20 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2962, allocations: 4 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2963, allocations: 31.92 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2963, allocations: 7.938 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2964, allocations: 23.83 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2965, allocations: 16 kB / 0.5695 GB, free: 12.01 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.2966, allocations: 125.8 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.2966, allocations: 11.94 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.297, allocations: 138.5 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.297, allocations: 4.125 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.297, allocations: 4 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.297, allocations: 4.172 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2972, allocations: 161.2 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/0.2973, allocations: 16 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.2973, allocations: 7.984 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2973, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2973, allocations: 4 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2973, allocations: 4 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2973, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.2977, allocations: 203.3 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.2977, allocations: 11.91 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2977, allocations: 0 / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.2978, allocations: 11.98 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.2978, allocations: 4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2978, allocations: 4 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.298, allocations: 136.2 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.298, allocations: 3.938 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000387/0.2983, allocations: 83.7 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/0.2987, allocations: 167 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.2991, allocations: 167.9 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2991, allocations: 4 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.2993, allocations: 95.31 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2997, allocations: 23.7 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.3003, allocations: 356.8 kB / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3005, allocations: 128.6 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3005, allocations: 4.984 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3005, allocations: 11.44 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3005, allocations: 3.938 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of Templates: time 0.007799/0.3083, allocations: 3.758 MB / 0.575 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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: 4.958352791989455]