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.002552/0.002552, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.003052/0.003052, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.701/1.701, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3466/0.3466, allocations: 34.27 MB / 295.3 MB, free: 0.6602 MB / 266.7 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_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 1.273e-06/1.273e-06, allocations: 0 / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.562e-05, allocations: 2.312 kB / 377.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004015/0.004041, allocations: 2.2 MB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.005933, allocations: 1.059 MB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.00602, allocations: 0 / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.006332, allocations: 79.36 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.006639, allocations: 99.19 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.006974, allocations: 123.5 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.007216, allocations: 182.8 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.007268, allocations: 16.58 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.007522, allocations: 107.5 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.007666, allocations: 63.75 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.007692, allocations: 4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.007996, allocations: 131.9 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.008063, allocations: 31.73 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.008147, allocations: 55.78 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.00863, allocations: 302.6 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008633, allocations: 0 / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.008634, allocations: 0 / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008639, allocations: 0 / 381.8 MB, free: 14.45 MB / 362.7 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.0007499/0.009389, allocations: 0.523 MB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.009426, allocations: 8.031 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.009521, allocations: 44.75 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.009763, allocations: 158.7 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.009788, allocations: 16.88 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.009821, allocations: 24.36 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.01019, allocations: 176.6 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.0102, allocations: 3.938 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.01022, allocations: 4 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01023, allocations: 8 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.01056, allocations: 141.9 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.01162, allocations: 0.5583 MB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.01191, allocations: 95.09 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.01202, allocations: 39.67 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.01206, allocations: 11.98 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.01209, allocations: 33.39 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.01209, allocations: 0 / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004771/0.01257, allocations: 141.4 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.01264, allocations: 55.41 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.01292, allocations: 274.6 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01295, allocations: 29.7 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.01312, allocations: 230.6 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.01316, allocations: 39.67 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.01325, allocations: 59.36 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005003/0.01376, allocations: 0.4962 MB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.01389, allocations: 43.97 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.01414, allocations: 179.2 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.01452, allocations: 231.1 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.01452, allocations: 4 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004776/0.015, allocations: 241 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01502, allocations: 8 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01502, allocations: 4 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01504, allocations: 4 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.01544, allocations: 79.91 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01678, allocations: 1.849 MB / 387.5 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.01695, allocations: 23.78 kB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.01698, allocations: 16 kB / 387.6 MB, free: 8.258 MB / 362.7 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.0001803/0.01716, allocations: 172.5 kB / 387.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.01721, allocations: 19.89 kB / 387.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.01764, allocations: 155.4 kB / 387.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01764, allocations: 0 / 387.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.01765, allocations: 0 / 387.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01765, allocations: 3.984 kB / 387.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.01833, allocations: 432.7 kB / 388.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01833, allocations: 3.938 kB / 388.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.01861, allocations: 60.03 kB / 388.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.01862, allocations: 8 kB / 388.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01863, allocations: 0 / 388.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.01987, allocations: 1.833 MB / 390.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01988, allocations: 80 / 390.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.02029, allocations: 287.1 kB / 390.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.02032, allocations: 11.91 kB / 390.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.02036, allocations: 16 kB / 390.5 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.02049, allocations: 8 kB / 390.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.02055, allocations: 7.984 kB / 390.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.02056, allocations: 8 kB / 390.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.02072, allocations: 180.1 kB / 390.7 MB, free: 4.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02072, allocations: 0 / 390.7 MB, free: 4.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.02112, allocations: 75.81 kB / 390.8 MB, free: 4.859 MB / 362.7 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.0003071/0.02143, allocations: 139.1 kB / 390.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.022, allocations: 176.8 kB / 391.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.022, allocations: 4.125 kB / 391.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.02231, allocations: 83.59 kB / 391.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02263, allocations: 19.98 kB / 391.2 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.02348, allocations: 384.6 kB / 391.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.02361, allocations: 125.1 kB / 391.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.02368, allocations: 13.61 kB / 391.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.02372, allocations: 20.5 kB / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02373, allocations: 4 kB / 391.8 MB, free: 3.84 MB / 362.7 MB Notification: Performance of Templates: time 0.008331/0.03206, allocations: 3.177 MB / 394.9 MB, free: 0.7266 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] 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.2374048109631985]