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.001354/0.001354, allocations: 83.58 kB / 21.19 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.001422/0.001422, allocations: 161 kB / 24.56 MB, free: 16 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.96/0.96, allocations: 177.1 MB / 205 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.2401/0.2401, allocations: 34.27 MB / 295.7 MB, free: 0.7695 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.312e-06/1.312e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.049e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002381/0.002402, allocations: 2.165 MB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003883, allocations: 1.367 MB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.003966, allocations: 4 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.004246, allocations: 87.39 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.004384, allocations: 67.31 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.004829, allocations: 223 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.004977, allocations: 154.9 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.005016, allocations: 12.58 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.005179, allocations: 83.67 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.005255, allocations: 47.78 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.005272, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.005553, allocations: 203.7 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.005609, allocations: 23.86 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.005656, allocations: 43.8 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.006029, allocations: 382.5 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006032, allocations: 7.922 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006033, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006038, allocations: 0 / 382.9 MB, free: 13.75 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.0004258/0.006463, allocations: 0.519 MB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006498, allocations: 8.031 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.006549, allocations: 36.8 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.006681, allocations: 159.2 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.006695, allocations: 12.38 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.006714, allocations: 16.38 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.006909, allocations: 155.9 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.006919, allocations: 3.938 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.006934, allocations: 12 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006944, allocations: 7.984 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.007017, allocations: 60.34 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.007532, allocations: 0.5098 MB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/0.007619, allocations: 47.05 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.007648, allocations: 11.69 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.007673, allocations: 7.938 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.007691, allocations: 41.33 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.007692, allocations: 0 / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000172/0.007864, allocations: 77.7 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.007888, allocations: 51.41 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.008019, allocations: 253.5 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.008029, allocations: 25.7 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.00812, allocations: 230.6 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.008132, allocations: 15.89 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.008178, allocations: 51.31 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.008278, allocations: 0.4962 MB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.008309, allocations: 15.98 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.008393, allocations: 159.2 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.008522, allocations: 191.1 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008524, allocations: 0 / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001653/0.008689, allocations: 173.8 kB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008701, allocations: 9.875 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.008721, allocations: 12 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.00874, allocations: 4 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.00882, allocations: 31.98 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008827, allocations: 7.938 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.008879, allocations: 19.83 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.008891, allocations: 12 kB / 386.3 MB, free: 10 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 6.763e-05/0.008959, allocations: 164.5 kB / 386.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.008981, allocations: 23.83 kB / 386.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.00913, allocations: 94.77 kB / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009132, allocations: 0 / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.009135, allocations: 0 / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009138, allocations: 0 / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.00927, allocations: 188.5 kB / 386.8 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.009281, allocations: 12 kB / 386.8 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.009299, allocations: 8 kB / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.009301, allocations: 3.938 kB / 386.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.009308, allocations: 0 / 386.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.009309, allocations: 4 kB / 386.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009309, allocations: 0 / 386.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.009426, allocations: 219.8 kB / 387 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.009437, allocations: 11.89 kB / 387 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.009449, allocations: 3.984 kB / 387 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.009485, allocations: 0 / 387 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.009519, allocations: 4 kB / 387 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.009524, allocations: 4 kB / 387 MB, free: 9.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.009586, allocations: 171.1 kB / 387.2 MB, free: 9.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009586, allocations: 0 / 387.2 MB, free: 9.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.009827, allocations: 87.66 kB / 387.3 MB, free: 8.957 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.0002301/0.01006, allocations: 175 kB / 387.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.01029, allocations: 148.4 kB / 387.6 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01029, allocations: 4 kB / 387.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.01036, allocations: 87.73 kB / 387.7 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.01055, allocations: 15.98 kB / 387.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.01126, allocations: 353.5 kB / 388.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.0113, allocations: 71.83 kB / 388.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01133, allocations: 12.97 kB / 388.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.01135, allocations: 12.5 kB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01135, allocations: 0 / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of Templates: time 0.00535/0.0167, allocations: 3.543 MB / 391.7 MB, free: 4.52 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.2010337188839912]