Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001648/0.001648, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001799/0.001799, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.89 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2935, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003579/0.2971, allocations: 2.222 MB / 0.5605 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2988, allocations: 1.105 MB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.2989, allocations: 8 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.2992, allocations: 87.38 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.2995, allocations: 91.31 kB / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.2998, allocations: 111.6 kB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3, allocations: 190.8 kB / 0.562 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.3001, allocations: 12.58 kB / 0.562 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.3003, allocations: 79.53 kB / 0.5621 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3005, allocations: 83.5 kB / 0.5622 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3005, allocations: 4 kB / 0.5622 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.3009, allocations: 255.7 kB / 0.5624 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.301, allocations: 39.77 kB / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3011, allocations: 79.36 kB / 0.5625 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.3015, allocations: 333.1 kB / 0.5628 GB, free: 3.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3015, allocations: 4 kB / 0.5629 GB, free: 3.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3015, allocations: 4 kB / 0.5629 GB, free: 3.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3016, allocations: 0 / 0.5629 GB, free: 3.027 MB / 398.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.0006436/0.3022, allocations: 437.5 kB / 0.5633 GB, free: 2.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3022, allocations: 12.03 kB / 0.5633 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.3023, allocations: 24.8 kB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3025, allocations: 166 kB / 0.5635 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3025, allocations: 12.81 kB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3026, allocations: 24.12 kB / 0.5635 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.303, allocations: 235.2 kB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.303, allocations: 3.984 kB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.303, allocations: 12 kB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.303, allocations: 8 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3035, allocations: 253.6 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3045, allocations: 0.5966 MB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3048, allocations: 94.64 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3049, allocations: 36.84 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3049, allocations: 4 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.305, allocations: 34.55 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.305, allocations: 4 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005328/0.3055, allocations: 169.4 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3055, allocations: 51.41 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3058, allocations: 268.2 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3058, allocations: 33.64 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.306, allocations: 183.3 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.306, allocations: 31.73 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.3061, allocations: 49.66 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3062, allocations: 342.8 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3064, allocations: 43.97 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3066, allocations: 152.8 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.307, allocations: 204.6 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.307, allocations: 0 / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000489/0.3075, allocations: 245.2 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3075, allocations: 8 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3075, allocations: 7.984 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3075, allocations: 4 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3079, allocations: 83.91 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008273/0.3088, allocations: 1.219 MB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.309, allocations: 43.66 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.309, allocations: 12 kB / 0.5678 GB, free: 13.66 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.0001567/0.3092, allocations: 133.7 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3092, allocations: 24.05 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.3097, allocations: 171.5 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3097, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3097, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3097, allocations: 8 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.3104, allocations: 423.1 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3104, allocations: 4 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.3106, allocations: 55.97 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3106, allocations: 3.938 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3107, allocations: 8.062 kB / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007676/0.3114, allocations: 1.211 MB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3114, allocations: 4 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.3118, allocations: 257.2 kB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3119, allocations: 19.86 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.3119, allocations: 4 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3121, allocations: 11.98 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.3121, allocations: 7.984 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3121, allocations: 8 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3123, allocations: 191 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3123, allocations: 4 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3127, allocations: 67.88 kB / 0.5703 GB, free: 10.93 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.0002817/0.313, allocations: 142.8 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.3136, allocations: 168.5 kB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3136, allocations: 4.062 kB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.3139, allocations: 83.89 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3143, allocations: 24.97 kB / 0.5707 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.3151, allocations: 425.2 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3155, allocations: 0.7401 MB / 0.5718 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.3156, allocations: 19.44 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3156, allocations: 0 / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of Templates: time 0.007302/0.3229, allocations: 4.39 MB / 0.5761 GB, free: 4.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.014346449868754]