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_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.001872/0.001872, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001898/0.001898, allocations: 217 kB / 23.75 MB, free: 4.668 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.247/0.247, allocations: 46.93 MB / 360.8 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 179] 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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.91 kB / 0.4967 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 66.04 MB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003899/0.3723, allocations: 2.222 MB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3741, allocations: 1.112 MB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.3742, allocations: 0 / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3746, allocations: 87.44 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3749, allocations: 87.33 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3752, allocations: 127.1 kB / 0.5647 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3755, allocations: 178.9 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.3755, allocations: 12.59 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.3758, allocations: 79.53 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.3759, allocations: 91.48 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3759, allocations: 4 kB / 0.5651 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.3764, allocations: 263.6 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.3765, allocations: 31.78 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.3766, allocations: 79.42 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.3771, allocations: 334.5 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3771, allocations: 3.984 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3771, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3771, allocations: 0 / 0.5657 GB, free: 15.68 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.0007481/0.3779, allocations: 441.5 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3779, allocations: 8.031 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.378, allocations: 28.73 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3782, allocations: 158.2 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3782, allocations: 12.81 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.3783, allocations: 28.12 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.3787, allocations: 231.2 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3788, allocations: 3.938 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3788, allocations: 12 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3788, allocations: 8 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.3793, allocations: 253.6 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3803, allocations: 0.5927 MB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3806, allocations: 98.61 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3808, allocations: 44.86 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3808, allocations: 3.984 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3809, allocations: 34.56 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3809, allocations: 0 / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005495/0.3814, allocations: 169.4 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3814, allocations: 55.41 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.3818, allocations: 268.2 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.3818, allocations: 29.7 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3819, allocations: 175.4 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.382, allocations: 31.73 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.3821, allocations: 49.66 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3823, allocations: 342.8 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.3824, allocations: 47.97 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3826, allocations: 152.7 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.383, allocations: 204.7 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.383, allocations: 0 / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004885/0.3835, allocations: 241.5 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3835, allocations: 8 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3835, allocations: 0 / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3836, allocations: 8 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.384, allocations: 88.27 kB / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3851, allocations: 1.215 MB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3853, allocations: 47.66 kB / 0.5706 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3853, allocations: 8 kB / 0.5707 GB, free: 10.33 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.0001537/0.3855, allocations: 137.7 kB / 0.5708 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.3855, allocations: 23.86 kB / 0.5708 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.386, allocations: 175.3 kB / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.386, allocations: 0 / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.386, allocations: 0 / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.386, allocations: 0 / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.3867, allocations: 427.1 kB / 0.5714 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3867, allocations: 0 / 0.5714 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.3869, allocations: 59.91 kB / 0.5714 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.3869, allocations: 8 kB / 0.5714 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3869, allocations: 4 kB / 0.5714 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008176/0.3877, allocations: 1.215 MB / 0.5726 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3877, allocations: 0 / 0.5726 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.3882, allocations: 253.2 kB / 0.5729 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3883, allocations: 19.84 kB / 0.5729 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3883, allocations: 4 kB / 0.5729 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3885, allocations: 11.98 kB / 0.5729 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.3885, allocations: 7.984 kB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3885, allocations: 4 kB / 0.5729 GB, free: 7.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3887, allocations: 187.1 kB / 0.5731 GB, free: 7.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3887, allocations: 7.938 kB / 0.5731 GB, free: 7.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.3891, allocations: 71.88 kB / 0.5732 GB, free: 7.602 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.0003207/0.3894, allocations: 142.8 kB / 0.5733 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.39, allocations: 163.8 kB / 0.5735 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.39, allocations: 0 / 0.5735 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.3903, allocations: 88.91 kB / 0.5736 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3908, allocations: 29.53 kB / 0.5736 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.3917, allocations: 407.3 kB / 0.574 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3922, allocations: 0.7324 MB / 0.5747 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.3922, allocations: 21.92 kB / 0.5747 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3923, allocations: 23.44 kB / 0.5747 GB, free: 5.945 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3923, allocations: 0 / 0.5747 GB, free: 5.945 MB / 414.1 MB Notification: Performance of Templates: time 0.008768/0.4011, allocations: 3.678 MB / 0.5783 GB, free: 2.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.595080303028226]