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.002022/0.002022, allocations: 83.16 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002177/0.002177, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.516/1.516, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 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.1.|m_flow.2.|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.1.|m_flow.2.|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 1.452e-06/1.452e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.904e-05, allocations: 4.812 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003757/0.003786, allocations: 2.121 MB / 444.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.005796, allocations: 0.981 MB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.005979, allocations: 4 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.006411, allocations: 87.34 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.006858, allocations: 95.14 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.007272, allocations: 119.5 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.007591, allocations: 190.7 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.007656, allocations: 12.59 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.007943, allocations: 99.64 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.008102, allocations: 59.75 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.00813, allocations: 8 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.008456, allocations: 135.7 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.008534, allocations: 35.77 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.008623, allocations: 47.8 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.009176, allocations: 290.8 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.009181, allocations: 7.938 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.009182, allocations: 0 / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.00919, allocations: 4 kB / 447 MB, free: 0.9609 MB / 366.1 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.000727/0.009917, allocations: 437.5 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.009976, allocations: 8.031 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.01006, allocations: 28.75 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.01031, allocations: 165.3 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.01034, allocations: 12.88 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.01037, allocations: 20.38 kB / 447.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.01085, allocations: 236.6 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.01086, allocations: 7.938 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2436/0.2544, allocations: 5.188 kB / 447.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2544, allocations: 4.328 kB / 447.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.2549, allocations: 254.2 kB / 448.1 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.256, allocations: 0.5026 MB / 448.6 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.2562, allocations: 100.7 kB / 448.7 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2564, allocations: 43.34 kB / 448.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2564, allocations: 1.812 kB / 448.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2564, allocations: 37.3 kB / 448.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2564, allocations: 1.031 kB / 448.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000559/0.257, allocations: 164.7 kB / 449 MB, free: 19.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.257, allocations: 56.44 kB / 449 MB, free: 19.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2572, allocations: 196.9 kB / 449.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2572, allocations: 27.56 kB / 449.2 MB, free: 19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.2573, allocations: 187.6 kB / 449.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.2573, allocations: 32.42 kB / 449.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.2574, allocations: 47.92 kB / 449.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.2575, allocations: 327.4 kB / 449.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2577, allocations: 48.34 kB / 449.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.2579, allocations: 149.2 kB / 450 MB, free: 18.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.2582, allocations: 207.2 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2582, allocations: 1.438 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004775/0.2587, allocations: 233.7 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2587, allocations: 8.062 kB / 450.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2587, allocations: 3.469 kB / 450.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2588, allocations: 8.062 kB / 450.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.2592, allocations: 90.89 kB / 450.6 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004957/0.2597, allocations: 1.214 MB / 451.8 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2598, allocations: 28.39 kB / 451.8 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2599, allocations: 9.938 kB / 451.8 MB, free: 16.85 MB / 366.1 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.0001025/0.26, allocations: 136.9 kB / 451.9 MB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.26, allocations: 20.59 kB / 452 MB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.2605, allocations: 170.9 kB / 452.1 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2605, allocations: 0 / 452.1 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2605, allocations: 1.594 kB / 452.1 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2605, allocations: 0.8906 kB / 452.1 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.261, allocations: 394.6 kB / 452.5 MB, free: 16.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.261, allocations: 1.219 kB / 452.5 MB, free: 16.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.2613, allocations: 61.36 kB / 452.6 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2613, allocations: 1.75 kB / 452.6 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2613, allocations: 5.812 kB / 452.6 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004051/0.2617, allocations: 1.209 MB / 453.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2617, allocations: 4.516 kB / 453.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.2621, allocations: 235.5 kB / 454 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.2621, allocations: 23.34 kB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2621, allocations: 9.312 kB / 454.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2623, allocations: 7.5 kB / 454.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.2623, allocations: 9.25 kB / 454.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2624, allocations: 12.06 kB / 454.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2625, allocations: 134.4 kB / 454.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2625, allocations: 0 / 454.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.2629, allocations: 76.95 kB / 454.3 MB, free: 14.82 MB / 366.1 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.0002592/0.2631, allocations: 144.5 kB / 454.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.2637, allocations: 169.7 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2637, allocations: 1.031 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.264, allocations: 84.2 kB / 454.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2644, allocations: 15.73 kB / 454.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.2652, allocations: 371 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2653, allocations: 123.3 kB / 455.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.2653, allocations: 18.8 kB / 455.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.2654, allocations: 20.11 kB / 455.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2654, allocations: 0 / 455.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of Templates: time 0.008086/0.2735, allocations: 3.167 MB / 458.4 MB, free: 14.09 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.231475006788969]