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.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.00104/0.00104, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001066/0.001066, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 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 0.9751/0.9751, allocations: 158.6 MB / 186.1 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.1293/0.1293, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_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.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.297e-05, allocations: 6.25 kB / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00243/0.002463, allocations: 2.162 MB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.003874, allocations: 1.356 MB / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.003983, allocations: 0 / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.004279, allocations: 87.34 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.004421, allocations: 67.42 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.004927, allocations: 215 kB / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.005093, allocations: 158.8 kB / 351.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.005144, allocations: 16.53 kB / 351.8 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.005313, allocations: 79.62 kB / 351.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.005395, allocations: 47.77 kB / 351.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.005413, allocations: 4 kB / 351.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.005702, allocations: 203.7 kB / 352.1 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.005756, allocations: 23.84 kB / 352.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.005809, allocations: 43.8 kB / 352.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.006157, allocations: 366.6 kB / 352.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.006162, allocations: 0 / 352.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006164, allocations: 0 / 352.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.006175, allocations: 0 / 352.5 MB, free: 4.91 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005472/0.006722, allocations: 0.5305 MB / 353 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.006768, allocations: 8.031 kB / 353 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.006833, allocations: 44.78 kB / 353.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.006981, allocations: 156.2 kB / 353.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006995, allocations: 8.375 kB / 353.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.007012, allocations: 20.38 kB / 353.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.007231, allocations: 151.8 kB / 353.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.00724, allocations: 3.938 kB / 353.4 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.007254, allocations: 8 kB / 353.4 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.007265, allocations: 4 kB / 353.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.007336, allocations: 68.3 kB / 353.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.007873, allocations: 0.5175 MB / 354 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.007971, allocations: 43.06 kB / 354.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.008001, allocations: 15.75 kB / 354.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.00803, allocations: 11.97 kB / 354.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.008047, allocations: 33.39 kB / 354.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.844e-06/0.008049, allocations: 4 kB / 354.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002219/0.008271, allocations: 73.55 kB / 354.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.008297, allocations: 59.39 kB / 354.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.008409, allocations: 246.7 kB / 354.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.008417, allocations: 29.69 kB / 354.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.008485, allocations: 218.7 kB / 354.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.008498, allocations: 23.83 kB / 354.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.008543, allocations: 47.33 kB / 354.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.00859, allocations: 0.5001 MB / 355.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.008621, allocations: 15.91 kB / 355.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.008688, allocations: 162.3 kB / 355.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.008795, allocations: 183.1 kB / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008797, allocations: 0 / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001638/0.008961, allocations: 165.6 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.008977, allocations: 8.062 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.008998, allocations: 12 kB / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.009012, allocations: 4 kB / 355.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.00911, allocations: 36.05 kB / 355.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.009118, allocations: 7.984 kB / 355.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.009187, allocations: 23.89 kB / 355.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.009205, allocations: 8 kB / 355.9 MB, free: 1.164 MB / 282.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 (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 7.089e-05/0.009276, allocations: 168.5 kB / 356.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.0093, allocations: 19.84 kB / 356.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.009487, allocations: 106.7 kB / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009491, allocations: 0 / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.009497, allocations: 0 / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0095, allocations: 0 / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.009642, allocations: 180.5 kB / 356.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.009653, allocations: 8 kB / 356.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.009682, allocations: 11.98 kB / 356.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009686, allocations: 3.938 kB / 356.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.009694, allocations: 0 / 356.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009696, allocations: 4 kB / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009697, allocations: 0 / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.009818, allocations: 215.8 kB / 356.6 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.00983, allocations: 11.89 kB / 356.6 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.00985, allocations: 0 / 356.6 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.009891, allocations: 4 kB / 356.6 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.009938, allocations: 11.92 kB / 356.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.009945, allocations: 4 kB / 356.7 MB, free: 360 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.01, allocations: 179 kB / 356.8 MB, free: 180 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01, allocations: 0 / 356.8 MB, free: 180 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.00031/0.01031, allocations: 83.66 kB / 356.9 MB, free: 96 kB / 282.7 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.0003762/0.01069, allocations: 175 kB / 357.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.01098, allocations: 136.4 kB / 357.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01099, allocations: 0 / 357.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.01107, allocations: 95.64 kB / 357.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.0113, allocations: 17.16 kB / 357.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.0121, allocations: 364.8 kB / 357.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.01215, allocations: 71.83 kB / 357.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.01218, allocations: 12.92 kB / 357.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.01221, allocations: 12.5 kB / 357.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01221, allocations: 0 / 357.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.006164/0.01838, allocations: 3.511 MB / 361.3 MB, free: 11.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2280913670547307]