Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002856/0.002856, allocations: 91.55 kB / 20.21 MB, free: 4.191 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.004392/0.004392, allocations: 157.3 kB / 23.52 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2446/0.2446, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 0 / 347 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.542e-05/6.878e-05, allocations: 2.312 kB / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.006182/0.006251, allocations: 2.192 MB / 349.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.009237, allocations: 1.052 MB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.009644, allocations: 4 kB / 350.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.01023, allocations: 83.34 kB / 350.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.01089, allocations: 103.1 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.01145, allocations: 107.6 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.01185, allocations: 194.7 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.01194, allocations: 12.59 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.01229, allocations: 87.67 kB / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.01251, allocations: 71.73 kB / 350.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.01255, allocations: 8 kB / 350.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.01304, allocations: 131.8 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.01315, allocations: 27.8 kB / 351 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.0133, allocations: 47.78 kB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.01413, allocations: 298.7 kB / 351.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.01414, allocations: 3.984 kB / 351.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.989e-06/0.01415, allocations: 0 / 351.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.01417, allocations: 0 / 351.4 MB, free: 5.332 MB / 282.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.00117/0.01534, allocations: 0.5191 MB / 351.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.309e-05/0.01541, allocations: 12.03 kB / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01556, allocations: 44.75 kB / 352 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.01587, allocations: 169.7 kB / 352.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.0159, allocations: 20.86 kB / 352.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.01594, allocations: 20.38 kB / 352.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.01642, allocations: 172.7 kB / 352.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.01644, allocations: 3.938 kB / 352.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.01647, allocations: 4 kB / 352.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.01648, allocations: 8 kB / 352.3 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.01687, allocations: 145.9 kB / 352.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01809, allocations: 0.5583 MB / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.01842, allocations: 95.06 kB / 353.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.01857, allocations: 43.7 kB / 353.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.01861, allocations: 7.984 kB / 353.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01863, allocations: 33.39 kB / 353.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.01863, allocations: 0 / 353.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006176/0.01925, allocations: 137.5 kB / 353.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.01929, allocations: 55.41 kB / 353.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01955, allocations: 278.6 kB / 353.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01957, allocations: 29.7 kB / 353.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01969, allocations: 234.6 kB / 353.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.01973, allocations: 35.69 kB / 354 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01983, allocations: 55.36 kB / 354 MB, free: 2.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01997, allocations: 0.4962 MB / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.02012, allocations: 43.97 kB / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.02036, allocations: 179.2 kB / 354.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.02076, allocations: 239.1 kB / 355 MB, free: 1.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.02076, allocations: 4 kB / 355 MB, free: 1.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005393/0.0213, allocations: 225.1 kB / 355.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.02132, allocations: 12.42 kB / 355.2 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.02134, allocations: 8 kB / 355.2 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.02136, allocations: 4 kB / 355.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.02187, allocations: 79.91 kB / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.02309, allocations: 1.845 MB / 357.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.02332, allocations: 23.84 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.02335, allocations: 12 kB / 357.2 MB, free: 15.13 MB / 298.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.0002174/0.02357, allocations: 176.6 kB / 357.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.02363, allocations: 23.91 kB / 357.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.02417, allocations: 151.3 kB / 357.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02418, allocations: 0 / 357.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.02418, allocations: 0 / 357.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02419, allocations: 0 / 357.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.02511, allocations: 436.7 kB / 358 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.02512, allocations: 3.938 kB / 358 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.0255, allocations: 59.97 kB / 358 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.02551, allocations: 7.938 kB / 358 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.02553, allocations: 0 / 358 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.02741, allocations: 1.837 MB / 359.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02742, allocations: 4.188 kB / 359.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.02806, allocations: 275.1 kB / 360.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.02812, allocations: 19.89 kB / 360.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.02817, allocations: 7.938 kB / 360.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.02837, allocations: 4 kB / 360.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.02848, allocations: 11.98 kB / 360.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.0285, allocations: 4 kB / 360.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.02876, allocations: 181.4 kB / 360.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02876, allocations: 3.938 kB / 360.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000764/0.02952, allocations: 75.77 kB / 360.4 MB, free: 11.73 MB / 298.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.0005742/0.0301, allocations: 151.1 kB / 360.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.03091, allocations: 171.4 kB / 360.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03092, allocations: 0 / 360.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.03136, allocations: 87.58 kB / 360.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.03181, allocations: 21.31 kB / 360.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03313, allocations: 393.7 kB / 361.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.03335, allocations: 129 kB / 361.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.03345, allocations: 13.48 kB / 361.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.03352, allocations: 16.5 kB / 361.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03353, allocations: 0 / 361.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Templates: time 0.01253/0.04605, allocations: 3.157 MB / 364.6 MB, free: 7.598 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.29422273603268]