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_roundTube.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.001056/0.001056, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001054/0.001054, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2745/0.2745, allocations: 34.26 MB / 296 MB, free: 0.7656 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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.609e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002227/0.002243, allocations: 2.145 MB / 380.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.004141, allocations: 1.662 MB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.004207, allocations: 0 / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.004444, allocations: 87.39 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.004552, allocations: 71.36 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.00518, allocations: 358.5 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.00532, allocations: 162.8 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.00536, allocations: 12.59 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.005445, allocations: 71.73 kB / 382.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.00552, allocations: 43.84 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.005533, allocations: 4 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.006112, allocations: 0.5186 MB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.00616, allocations: 27.86 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.006208, allocations: 47.73 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.006704, allocations: 0.5685 MB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.006708, allocations: 3.984 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006708, allocations: 0 / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.006712, allocations: 0 / 383.8 MB, free: 13.16 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004862/0.007198, allocations: 0.5387 MB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.00723, allocations: 8.031 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.007289, allocations: 40.8 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.007443, allocations: 159.8 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.007459, allocations: 16.88 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.007476, allocations: 20.38 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.007755, allocations: 235.1 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007764, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.007778, allocations: 8 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.007789, allocations: 11.98 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.007873, allocations: 68.28 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.008545, allocations: 1.033 MB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.008689, allocations: 58.98 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.008722, allocations: 15.69 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.008744, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.008764, allocations: 33.39 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.008765, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.008952, allocations: 81.64 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.00898, allocations: 51.41 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.009129, allocations: 278.4 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.009141, allocations: 29.7 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.009232, allocations: 242.5 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.009246, allocations: 23.78 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.009297, allocations: 63.36 kB / 386.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.009405, allocations: 0.5 MB / 387.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.009444, allocations: 24.22 kB / 387.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.009562, allocations: 237 kB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.009833, allocations: 276.7 kB / 387.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.009837, allocations: 8 kB / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002137/0.01005, allocations: 217.4 kB / 388 MB, free: 8.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01006, allocations: 11.94 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.01009, allocations: 15.98 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.0101, allocations: 8 kB / 388.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.0102, allocations: 43.92 kB / 388.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01021, allocations: 11.94 kB / 388.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.01028, allocations: 27.77 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.0103, allocations: 20 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 8.344e-05/0.01038, allocations: 176.7 kB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.01041, allocations: 15.91 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.01056, allocations: 98.7 kB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01056, allocations: 0 / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01057, allocations: 4 kB / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01057, allocations: 0 / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01073, allocations: 184.5 kB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.01074, allocations: 12 kB / 388.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.01076, allocations: 4 kB / 388.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01076, allocations: 3.984 kB / 388.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01077, allocations: 4 kB / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.01077, allocations: 0 / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01077, allocations: 3.938 kB / 388.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.0109, allocations: 219.8 kB / 388.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.01091, allocations: 11.91 kB / 388.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01093, allocations: 4 kB / 388.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.01097, allocations: 8 kB / 388.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.01101, allocations: 7.984 kB / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.01101, allocations: 0 / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.01109, allocations: 176.6 kB / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01109, allocations: 0 / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.01141, allocations: 111.7 kB / 389.2 MB, free: 7.246 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.000311/0.01172, allocations: 210.9 kB / 389.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.01196, allocations: 168.2 kB / 389.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01197, allocations: 0 / 389.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.01204, allocations: 88.36 kB / 389.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01224, allocations: 26.97 kB / 389.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.01286, allocations: 349.5 kB / 390 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.0129, allocations: 71.98 kB / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01295, allocations: 21.47 kB / 390.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.01297, allocations: 16.5 kB / 390.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01297, allocations: 4 kB / 390.1 MB, free: 6.227 MB / 362.7 MB Notification: Performance of Templates: time 0.008182/0.02115, allocations: 5.768 MB / 395.9 MB, free: 0.5195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.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.378472238080576]