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.001701/0.001701, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002164/0.002164, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2262/0.2262, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.001959/0.001959, allocations: 63.84 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003954/0.318, allocations: 2.049 MB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3203, allocations: 1.257 MB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3204, allocations: 0 / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3208, allocations: 75.47 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.321, allocations: 71.36 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.3217, allocations: 221.7 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3219, allocations: 151 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.3219, allocations: 8.594 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3221, allocations: 63.55 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3222, allocations: 67.58 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3222, allocations: 8 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.3226, allocations: 219.8 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.3227, allocations: 27.8 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.3228, allocations: 59.55 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.3233, allocations: 378.4 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3233, allocations: 0 / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3233, allocations: 4 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3233, allocations: 0 / 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.000668/0.324, allocations: 421.1 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.324, allocations: 20.02 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.3241, allocations: 20.8 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3243, allocations: 163.8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3243, allocations: 16.31 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.3244, allocations: 20.12 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.3248, allocations: 206.7 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3248, allocations: 3.938 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3248, allocations: 8 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3248, allocations: 4 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3251, allocations: 160.2 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.326, allocations: 482.5 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3262, allocations: 66.48 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3263, allocations: 36.88 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3263, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3263, allocations: 30.56 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.3263, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004486/0.3268, allocations: 133.5 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3268, allocations: 51.41 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.327, allocations: 194.8 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3271, allocations: 25.7 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3272, allocations: 179.9 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3272, allocations: 23.78 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.3273, allocations: 33.72 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3274, allocations: 330.8 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3276, allocations: 47.91 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3278, allocations: 128.9 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.3281, allocations: 180.6 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3281, allocations: 0 / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004079/0.3285, allocations: 197.2 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3285, allocations: 8 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.3286, allocations: 12 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3286, allocations: 4 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3287, allocations: 32.34 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3287, allocations: 12 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3288, allocations: 23.84 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3289, allocations: 11.94 kB / 0.5695 GB, free: 12.02 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.000132/0.329, allocations: 133.8 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.329, allocations: 7.953 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.3294, allocations: 146.5 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3294, allocations: 3.938 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3294, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3294, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3296, allocations: 161.4 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.3297, allocations: 16 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.3297, allocations: 4 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3297, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3297, allocations: 7.984 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3297, allocations: 4 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3297, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.33, allocations: 203.3 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3301, allocations: 15.84 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3301, allocations: 0 / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.3302, allocations: 7.984 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3302, allocations: 8 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3302, allocations: 3.984 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3303, allocations: 132.2 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3303, allocations: 4 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.3307, allocations: 83.69 kB / 0.5704 GB, free: 11.03 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.0003111/0.331, allocations: 167 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.3315, allocations: 164.1 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3315, allocations: 0 / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3317, allocations: 103.3 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.0003257/0.332, allocations: 15.94 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.0007334/0.3328, allocations: 382.9 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.3329, allocations: 124.6 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.3329, allocations: 15.38 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3329, allocations: 0 / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of Templates: time 0.006787/0.3397, allocations: 4.243 MB / 0.5755 GB, free: 5.762 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 -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: 7.937538733996917]