Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.001038/0.001038, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009662/0.0009662, allocations: 163.9 kB / 24.99 MB, free: 8.289 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.906e-05, allocations: 12.16 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003538/0.003567, allocations: 2.234 MB / 378.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005079, allocations: 1.055 MB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.005193, allocations: 3.938 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.005494, allocations: 75.47 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.005778, allocations: 107.1 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.006077, allocations: 115.5 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.006285, allocations: 190.7 kB / 379.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.006333, allocations: 8.594 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.006557, allocations: 103.5 kB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.006675, allocations: 71.75 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.006694, allocations: 4 kB / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.006945, allocations: 131.8 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.007008, allocations: 31.78 kB / 380.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.007077, allocations: 55.78 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.007446, allocations: 278.8 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00745, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007451, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007455, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005558/0.008011, allocations: 0.5273 MB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.008049, allocations: 8.031 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.008125, allocations: 52.69 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.008308, allocations: 171.1 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.008327, allocations: 12.88 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.008353, allocations: 20.38 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.008638, allocations: 169.4 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.00865, allocations: 3.938 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.00867, allocations: 12 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.008681, allocations: 7.984 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.008852, allocations: 103 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.009605, allocations: 0.5466 MB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.00977, allocations: 71 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.009822, allocations: 31.77 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.009843, allocations: 0 / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.009868, allocations: 37.39 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.009869, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002666/0.01014, allocations: 101.5 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.01017, allocations: 59.34 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01034, allocations: 270.6 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.01036, allocations: 25.7 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01046, allocations: 230.7 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.01049, allocations: 39.69 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.01056, allocations: 51.36 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01069, allocations: 0.504 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.01076, allocations: 19.98 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01089, allocations: 163.3 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.01137, allocations: 207 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01137, allocations: 3.938 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002938/0.01166, allocations: 201.1 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01168, allocations: 10.03 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01169, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01171, allocations: 8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.01202, allocations: 83.91 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.01274, allocations: 1.83 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01286, allocations: 27.78 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01288, allocations: 12 kB / 386.1 MB, free: 10.53 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.01298, allocations: 168.5 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.01302, allocations: 15.91 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.01326, allocations: 131.4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01327, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01327, allocations: 4 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01328, allocations: 3.984 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.01368, allocations: 404.6 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.01369, allocations: 7.938 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.01387, allocations: 63.86 kB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01388, allocations: 0 / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01389, allocations: 12.06 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006093/0.0145, allocations: 1.818 MB / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0145, allocations: 0 / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01471, allocations: 263.1 kB / 388.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.01473, allocations: 15.91 kB / 388.9 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.01475, allocations: 3.938 kB / 388.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.01485, allocations: 4 kB / 388.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.0149, allocations: 16.11 kB / 389 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01491, allocations: 7.984 kB / 389 MB, free: 7.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.015, allocations: 172.1 kB / 389.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.015, allocations: 4 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.01535, allocations: 71.77 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/0.01559, allocations: 139.2 kB / 389.3 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.01593, allocations: 140.1 kB / 389.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01594, allocations: 0.875 kB / 389.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.0161, allocations: 75.72 kB / 389.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01633, allocations: 23.98 kB / 389.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.0172, allocations: 402.2 kB / 390 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.01725, allocations: 79.77 kB / 390 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.0173, allocations: 13.48 kB / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.01733, allocations: 16.5 kB / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01733, allocations: 0 / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of Templates: time 0.005702/0.02304, allocations: 3.179 MB / 393.3 MB, free: 3.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.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.307151644024998]