Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 159.7 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.069/1.069, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1645/0.1645, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.431e-05, allocations: 3.156 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004042/0.004077, allocations: 2.217 MB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.005959, allocations: 1.039 MB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.00612, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.006486, allocations: 87.34 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.006909, allocations: 95.19 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.007287, allocations: 119.5 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.00754, allocations: 190.7 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.007605, allocations: 8.594 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.007865, allocations: 107.5 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.007976, allocations: 59.75 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.008001, allocations: 8 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.008248, allocations: 139.8 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.008312, allocations: 23.8 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.008363, allocations: 55.78 kB / 384.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.008675, allocations: 278.7 kB / 384.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.008677, allocations: 4 kB / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.008679, allocations: 0 / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.008684, allocations: 0 / 384.5 MB, free: 18.29 MB / 314.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.0004408/0.009125, allocations: 0.5273 MB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.009167, allocations: 8.031 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.00923, allocations: 40.75 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.009387, allocations: 160.2 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.009406, allocations: 16.88 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.009428, allocations: 24.38 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.009657, allocations: 157.3 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.00967, allocations: 7.938 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.009684, allocations: 8 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.009693, allocations: 4 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.009794, allocations: 83.45 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.01044, allocations: 0.5237 MB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.01056, allocations: 67.08 kB / 386.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.01059, allocations: 19.77 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01061, allocations: 0 / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01064, allocations: 49.31 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.01064, allocations: 4 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002091/0.01085, allocations: 89.52 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.01087, allocations: 55.41 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01098, allocations: 258.6 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.01099, allocations: 25.7 kB / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.201e-05/0.01106, allocations: 238.5 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.01108, allocations: 35.72 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.01113, allocations: 59.3 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.0112, allocations: 0.4962 MB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.01124, allocations: 19.98 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.01133, allocations: 163.4 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01147, allocations: 207.1 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01148, allocations: 0 / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002224/0.0117, allocations: 193 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01172, allocations: 4.438 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.01173, allocations: 8 kB / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01174, allocations: 4 kB / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.012, allocations: 83.91 kB / 388.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/0.01249, allocations: 1.825 MB / 389.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.0126, allocations: 15.89 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01262, allocations: 16 kB / 389.9 MB, free: 12.45 MB / 314.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 (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 9.172e-05/0.01271, allocations: 180.5 kB / 390.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.01274, allocations: 23.84 kB / 390.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.01293, allocations: 119.4 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01294, allocations: 3.938 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01294, allocations: 0 / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01294, allocations: 3.984 kB / 390.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.01322, allocations: 365.3 kB / 390.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01323, allocations: 0 / 390.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.01338, allocations: 51.98 kB / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01339, allocations: 0 / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.0134, allocations: 15.92 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004133/0.01382, allocations: 1.822 MB / 392.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01382, allocations: 4.125 kB / 392.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.01398, allocations: 259.1 kB / 392.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.014, allocations: 15.84 kB / 392.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01402, allocations: 4 kB / 392.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.01409, allocations: 15.92 kB / 392.8 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.01413, allocations: 15.92 kB / 392.8 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01414, allocations: 0 / 392.8 MB, free: 9.434 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.0142, allocations: 172 kB / 393 MB, free: 9.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0142, allocations: 0 / 393 MB, free: 9.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.0145, allocations: 71.83 kB / 393 MB, free: 9.195 MB / 314.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.0002409/0.01474, allocations: 157.6 kB / 393.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.01502, allocations: 131.4 kB / 393.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01503, allocations: 0 / 393.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.01513, allocations: 71.59 kB / 393.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.01539, allocations: 18.02 kB / 393.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.01619, allocations: 387.7 kB / 393.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.652e-05/0.01623, allocations: 71.83 kB / 393.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.01628, allocations: 17.61 kB / 393.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.01635, allocations: 94.12 kB / 394 MB, free: 8.195 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01635, allocations: 0 / 394 MB, free: 8.195 MB / 314.7 MB Notification: Performance of Templates: time 0.006047/0.0224, allocations: 3.656 MB / 397.6 MB, free: 4.621 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/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.568020783830434]