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.0008323/0.0008323, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003159/0.003159, allocations: 160.6 kB / 24.7 MB, free: 9.441 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 0.8382/0.8382, allocations: 177 MB / 204.9 MB, free: 5.73 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.2629/0.2629, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.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.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.443e-06/1.443e-06, allocations: 0 / 443.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.434e-05, allocations: 4.812 kB / 443.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.1625/0.1626, allocations: 2.106 MB / 445.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.1635, allocations: 0.9944 MB / 446.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.1636, allocations: 0 / 446.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1638, allocations: 85.03 kB / 446.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.164, allocations: 93.58 kB / 446.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1642, allocations: 121.5 kB / 446.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1643, allocations: 190.9 kB / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.1644, allocations: 13.47 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1646, allocations: 94.52 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.1647, allocations: 63.67 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1647, allocations: 8.25 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1649, allocations: 135.7 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1649, allocations: 28 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1649, allocations: 48.72 kB / 447.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1652, allocations: 303.9 kB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1652, allocations: 0 / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1652, allocations: 3.469 kB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1652, allocations: 2.688 kB / 447.7 MB, free: 42.55 MB / 410.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.0004075/0.1656, allocations: 428.4 kB / 448.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1656, allocations: 8.5 kB / 448.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1657, allocations: 32.03 kB / 448.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1658, allocations: 161.9 kB / 448.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1658, allocations: 17.34 kB / 448.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1658, allocations: 19.91 kB / 448.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1661, allocations: 233.6 kB / 448.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1661, allocations: 6 kB / 448.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1661, allocations: 6.562 kB / 448.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1661, allocations: 5.625 kB / 448.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.1663, allocations: 254.8 kB / 448.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1668, allocations: 0.5161 MB / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.167, allocations: 89.58 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.1671, allocations: 51.7 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1671, allocations: 0 / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.1671, allocations: 33.5 kB / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 7.52e-07/0.1671, allocations: 0 / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002893/0.1674, allocations: 163.5 kB / 449.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.1674, allocations: 54.34 kB / 449.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.1675, allocations: 199 kB / 450 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.1675, allocations: 32.97 kB / 450 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1676, allocations: 176.9 kB / 450.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1676, allocations: 36.33 kB / 450.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1676, allocations: 46.11 kB / 450.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.1677, allocations: 324.5 kB / 450.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.1677, allocations: 60.2 kB / 450.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.1678, allocations: 141.5 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.168, allocations: 207.2 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.168, allocations: 3.938 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000233/0.1682, allocations: 240.3 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1683, allocations: 5.969 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1683, allocations: 2.875 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1683, allocations: 5.688 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.1685, allocations: 84.38 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002623/0.1688, allocations: 1.226 MB / 452.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.1688, allocations: 31 kB / 452.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1689, allocations: 12.53 kB / 452.6 MB, free: 38.89 MB / 410.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 6.335e-05/0.1689, allocations: 128 kB / 452.7 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1689, allocations: 15.84 kB / 452.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.1691, allocations: 169.4 kB / 452.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1691, allocations: 2.906 kB / 452.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1692, allocations: 2.906 kB / 452.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1692, allocations: 0 / 452.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1694, allocations: 393.2 kB / 453.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1694, allocations: 3.938 kB / 453.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1696, allocations: 61.58 kB / 453.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1696, allocations: 0 / 453.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1696, allocations: 2.781 kB / 453.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001988/0.1698, allocations: 1.22 MB / 454.6 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1698, allocations: 2.875 kB / 454.6 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1699, allocations: 236.2 kB / 454.8 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.1699, allocations: 16.64 kB / 454.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.17, allocations: 6.812 kB / 454.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.17, allocations: 10.06 kB / 454.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1701, allocations: 9.016 kB / 454.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1701, allocations: 2.844 kB / 454.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.1701, allocations: 140.1 kB / 455 MB, free: 36.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1701, allocations: 3 kB / 455 MB, free: 36.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.1703, allocations: 77.64 kB / 455 MB, free: 36.86 MB / 410.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.0001756/0.1705, allocations: 146.6 kB / 455.2 MB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1708, allocations: 167.9 kB / 455.4 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1708, allocations: 0 / 455.4 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1709, allocations: 89.17 kB / 455.4 MB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1711, allocations: 10.72 kB / 455.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1716, allocations: 406.8 kB / 455.9 MB, free: 36.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.1717, allocations: 126.5 kB / 456 MB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1717, allocations: 17.16 kB / 456 MB, free: 36.31 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1717, allocations: 0 / 456 MB, free: 36.31 MB / 410.7 MB Notification: Performance of Templates: time 0.003335/0.175, allocations: 4.193 MB / 460.2 MB, free: 36.02 MB / 410.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=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.1009185472503304]