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.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.001179/0.001179, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001037/0.001037, allocations: 165 kB / 24.56 MB, free: 12 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 0.9782/0.9782, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2694/0.2694, allocations: 34.26 MB / 295.7 MB, free: 0.75 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.005e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002312/0.002332, allocations: 2.168 MB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003876, allocations: 1.367 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.003976, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.004269, allocations: 83.41 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.004407, allocations: 71.3 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.004904, allocations: 223 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.005059, allocations: 150.9 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.005099, allocations: 12.59 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005269, allocations: 83.67 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.005335, allocations: 47.78 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.00535, allocations: 8 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.005629, allocations: 207.7 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.005675, allocations: 19.81 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.005721, allocations: 39.86 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.006076, allocations: 390.4 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006078, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006079, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006083, allocations: 0 / 382.9 MB, free: 13.73 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004568/0.006539, allocations: 0.5151 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.006574, allocations: 12.03 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.006625, allocations: 36.8 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006767, allocations: 156.2 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.006782, allocations: 16.38 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.006799, allocations: 16.38 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.007003, allocations: 151.9 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.007013, allocations: 3.938 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.007028, allocations: 12 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.007037, allocations: 4 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.007108, allocations: 56.34 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.007646, allocations: 0.5176 MB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.007737, allocations: 51.05 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.007765, allocations: 15.62 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.007788, allocations: 7.938 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.007805, allocations: 33.39 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.007806, allocations: 0 / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000176/0.007982, allocations: 77.7 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.00801, allocations: 51.41 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.008135, allocations: 253.5 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.008146, allocations: 25.7 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.008232, allocations: 234.6 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.008244, allocations: 15.91 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.008291, allocations: 51.31 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.008406, allocations: 0.5 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.008437, allocations: 15.98 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.008527, allocations: 154 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.008658, allocations: 191.1 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008661, allocations: 0 / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001589/0.00882, allocations: 173.3 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.008831, allocations: 8 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.008849, allocations: 12 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008862, allocations: 4 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.008938, allocations: 27.98 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.008946, allocations: 11.94 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.008997, allocations: 24.25 kB / 386.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.009009, allocations: 12 kB / 386.3 MB, free: 9.984 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 (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.239e-05/0.009081, allocations: 168.5 kB / 386.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.009102, allocations: 19.84 kB / 386.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.009245, allocations: 90.77 kB / 386.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.009247, allocations: 0 / 386.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.00925, allocations: 4 kB / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009252, allocations: 0 / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.01249, allocations: 188.5 kB / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.01251, allocations: 12 kB / 386.8 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.01257, allocations: 4 kB / 386.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01257, allocations: 3.938 kB / 386.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01258, allocations: 3.984 kB / 386.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01258, allocations: 0 / 386.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01259, allocations: 0 / 386.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.01276, allocations: 215.8 kB / 387 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01278, allocations: 19.89 kB / 387 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.0128, allocations: 4 kB / 387 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.01288, allocations: 0 / 387 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.01292, allocations: 7.984 kB / 387.1 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01292, allocations: 4 kB / 387.1 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.013, allocations: 163.2 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.013, allocations: 0 / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000341/0.01334, allocations: 91.64 kB / 387.3 MB, free: 8.938 MB / 362.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.0003548/0.01369, allocations: 167 kB / 387.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.01405, allocations: 159.9 kB / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01405, allocations: 0 / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01417, allocations: 87.64 kB / 387.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.01449, allocations: 14.55 kB / 387.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01555, allocations: 353.8 kB / 388.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.01561, allocations: 75.81 kB / 388.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.01566, allocations: 4.984 kB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.01569, allocations: 16.5 kB / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01569, allocations: 0 / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of Templates: time 0.006879/0.02257, allocations: 4.164 MB / 392.3 MB, free: 3.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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.149339054711163]