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.00115/0.00115, allocations: 86.64 kB / 21.44 MB, free: 3.059 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.00168/0.00168, allocations: 169.5 kB / 24.83 MB, free: 9.262 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 0.9521/0.9521, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1499/0.1499, allocations: 32.37 MB / 271.5 MB, free: 14.54 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 2.465e-06/2.465e-06, allocations: 0 / 349 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.949e-05/4.195e-05, allocations: 2.312 kB / 349 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002609/0.002651, allocations: 2.133 MB / 351.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004155, allocations: 1.352 MB / 352.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.004252, allocations: 0 / 352.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.004534, allocations: 79.36 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.004689, allocations: 71.36 kB / 352.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.005202, allocations: 219 kB / 352.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.005362, allocations: 150.9 kB / 352.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.005413, allocations: 20.5 kB / 353 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.005564, allocations: 75.69 kB / 353 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.005643, allocations: 47.78 kB / 353.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.005659, allocations: 4 kB / 353.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.005968, allocations: 199.7 kB / 353.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.006019, allocations: 31.8 kB / 353.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.006065, allocations: 39.86 kB / 353.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.006424, allocations: 374.5 kB / 353.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006427, allocations: 0 / 353.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006428, allocations: 0 / 353.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006432, allocations: 0 / 353.7 MB, free: 4.336 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.0004121/0.006845, allocations: 0.5189 MB / 354.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.006876, allocations: 12.03 kB / 354.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.006925, allocations: 36.8 kB / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.00705, allocations: 160.2 kB / 354.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.007065, allocations: 12.38 kB / 354.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.007081, allocations: 24.38 kB / 354.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.007258, allocations: 139.7 kB / 354.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007267, allocations: 3.938 kB / 354.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.007279, allocations: 7.984 kB / 354.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.007288, allocations: 4 kB / 354.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.007345, allocations: 56.3 kB / 354.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.00784, allocations: 482.6 kB / 355.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.007923, allocations: 47 kB / 355.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.007944, allocations: 11.69 kB / 355.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.007964, allocations: 8 kB / 355.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.00798, allocations: 41.36 kB / 355.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.007982, allocations: 0 / 355.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001607/0.008142, allocations: 73.67 kB / 355.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.008163, allocations: 51.41 kB / 355.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.008266, allocations: 253.4 kB / 355.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.008274, allocations: 29.64 kB / 355.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.008339, allocations: 226.6 kB / 355.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.008353, allocations: 19.84 kB / 355.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.008404, allocations: 55.23 kB / 356 MB, free: 1.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.008453, allocations: 0.4962 MB / 356.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.008482, allocations: 23.89 kB / 356.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.008552, allocations: 152.6 kB / 356.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.008664, allocations: 183.1 kB / 356.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008666, allocations: 0 / 356.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001722/0.008838, allocations: 161.4 kB / 357 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.008851, allocations: 8 kB / 357 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.008876, allocations: 12 kB / 357 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.008888, allocations: 4 kB / 357 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.008972, allocations: 27.92 kB / 357 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.008976, allocations: 4 kB / 357 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.009049, allocations: 27.88 kB / 357 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.009061, allocations: 8 kB / 357.1 MB, free: 0.6797 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_1.geometry,m_flow_IN_con_2.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 5.899e-05/0.00912, allocations: 168.5 kB / 357.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.00915, allocations: 19.97 kB / 357.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.009293, allocations: 90.77 kB / 357.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009295, allocations: 0 / 357.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.009297, allocations: 0 / 357.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.009299, allocations: 0 / 357.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.00943, allocations: 149.1 kB / 357.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/0.009455, allocations: 15.98 kB / 357.5 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.00948, allocations: 4.188 kB / 357.5 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009482, allocations: 0 / 357.5 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.009488, allocations: 8 kB / 357.5 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.00949, allocations: 3.938 kB / 357.5 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009491, allocations: 3.938 kB / 357.5 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.009619, allocations: 208.1 kB / 357.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.009635, allocations: 11.91 kB / 357.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.009651, allocations: 4 kB / 357.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.009712, allocations: 3.75 kB / 357.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.009744, allocations: 11.98 kB / 357.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.009751, allocations: 4 kB / 357.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.009825, allocations: 174.8 kB / 357.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009825, allocations: 0 / 357.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.01017, allocations: 83.66 kB / 358 MB, free: 15.66 MB / 298.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.0002534/0.01042, allocations: 175 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.01065, allocations: 148.1 kB / 358.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01065, allocations: 0 / 358.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.01074, allocations: 87.64 kB / 358.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01099, allocations: 13.59 kB / 358.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.01172, allocations: 348.6 kB / 358.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.01177, allocations: 71.83 kB / 358.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.01181, allocations: 12.92 kB / 358.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.01188, allocations: 86.19 kB / 358.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01188, allocations: 0 / 358.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of Templates: time 0.006988/0.01887, allocations: 4.008 MB / 362.9 MB, free: 10.69 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.2614501118659973]