Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.001179/0.001179, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001259/0.001259, allocations: 167 kB / 25.61 MB, free: 8.445 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.9772/0.9772, allocations: 177 MB / 205.9 MB, free: 4.422 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.1793/0.1793, allocations: 34.88 MB / 297.4 MB, free: 13.31 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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.171e-05, allocations: 9.484 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.006005/0.006027, allocations: 2.673 MB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.01091, allocations: 1.41 MB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.0111, allocations: 7.938 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.0114, allocations: 99.25 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.01171, allocations: 146.7 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.01221, allocations: 274.9 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.01241, allocations: 297.8 kB / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.01246, allocations: 12.94 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.01258, allocations: 123.5 kB / 385.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.0127, allocations: 103.5 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.01271, allocations: 8 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.01333, allocations: 455.2 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.01339, allocations: 51.64 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00308/0.01647, allocations: 75.67 kB / 385.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.01699, allocations: 0.5293 MB / 386.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01699, allocations: 0 / 386.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01699, allocations: 0 / 386.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.017, allocations: 0 / 386.3 MB, free: 16.41 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0004744/0.01747, allocations: 0.6712 MB / 387 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.0175, allocations: 12.03 kB / 387 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.01757, allocations: 72.66 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.01772, allocations: 188 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.01774, allocations: 29.38 kB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.01777, allocations: 36.38 kB / 387.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.01811, allocations: 0.6168 MB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01812, allocations: 7.875 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01814, allocations: 20 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01815, allocations: 12 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.01831, allocations: 178.8 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.02264, allocations: 5.705 MB / 393.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.02274, allocations: 55.05 kB / 393.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.02277, allocations: 15.69 kB / 393.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.02279, allocations: 0 / 393.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.0228, allocations: 37.33 kB / 393.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.02281, allocations: 0 / 393.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001972/0.023, allocations: 113.8 kB / 394 MB, free: 8.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.02302, allocations: 51.41 kB / 394.1 MB, free: 8.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.02317, allocations: 353.9 kB / 394.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.02318, allocations: 29.7 kB / 394.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.02327, allocations: 330.3 kB / 394.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.02328, allocations: 27.78 kB / 394.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.02336, allocations: 79.59 kB / 394.9 MB, free: 7.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.02341, allocations: 0.5118 MB / 395.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.02345, allocations: 24.58 kB / 395.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.02356, allocations: 331.7 kB / 395.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.02376, allocations: 401.2 kB / 396.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02377, allocations: 4 kB / 396.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003063/0.02407, allocations: 285.5 kB / 396.4 MB, free: 5.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.02409, allocations: 18.12 kB / 396.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.0241, allocations: 8 kB / 396.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.02411, allocations: 8 kB / 396.5 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.02442, allocations: 107.8 kB / 396.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/0.0248, allocations: 1.825 MB / 398.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02499, allocations: 51.66 kB / 398.5 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.02501, allocations: 16 kB / 398.5 MB, free: 3.336 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_2.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 8.895e-05/0.0251, allocations: 186.5 kB / 398.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.02514, allocations: 27.86 kB / 398.7 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.02805, allocations: 119.4 kB / 398.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02805, allocations: 4 kB / 398.8 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02805, allocations: 7.938 kB / 398.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.02805, allocations: 0 / 398.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.02824, allocations: 177.1 kB / 399 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02824, allocations: 3.984 kB / 399 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.02842, allocations: 51.98 kB / 399 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.02843, allocations: 0 / 399 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.02844, allocations: 0 / 399 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/0.02873, allocations: 1.818 MB / 400.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02874, allocations: 4.125 kB / 400.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.02887, allocations: 239.7 kB / 401.1 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.02889, allocations: 23.8 kB / 401.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.02892, allocations: 0 / 401.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.02901, allocations: 8 kB / 401.1 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.02905, allocations: 11.98 kB / 401.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.02906, allocations: 0 / 401.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.877e-05/0.02913, allocations: 210.9 kB / 401.3 MB, free: 356 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02913, allocations: 0 / 401.3 MB, free: 356 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.02963, allocations: 127.7 kB / 401.5 MB, free: 228 kB / 314.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 (7): * Single equations (assignments): 5 * 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.0003174/0.02995, allocations: 198.9 kB / 401.7 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.03033, allocations: 165.1 kB / 401.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.03033, allocations: 0 / 401.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.03047, allocations: 68.5 kB / 401.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.03076, allocations: 28.73 kB / 401.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.03153, allocations: 495.3 kB / 402.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.03158, allocations: 88.3 kB / 402.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.03163, allocations: 21.89 kB / 402.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.0317, allocations: 90.19 kB / 402.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0317, allocations: 0 / 402.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of Templates: time 0.009071/0.04077, allocations: 6.38 MB / 409 MB, free: 8.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_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.5542087983340025]