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.001106/0.001106, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00124/0.00124, allocations: 165 kB / 24.99 MB, free: 8.801 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.594 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.2841/0.2841, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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_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.342e-06/1.342e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.559e-05, allocations: 2.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002609/0.002625, allocations: 2.701 MB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004297, allocations: 1.429 MB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.004409, allocations: 0 / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.004693, allocations: 111.1 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.004969, allocations: 142.8 kB / 383.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.005413, allocations: 278.9 kB / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005635, allocations: 293.8 kB / 383.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.005683, allocations: 12.94 kB / 383.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.005803, allocations: 139.4 kB / 383.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.005931, allocations: 95.59 kB / 384 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.005948, allocations: 8 kB / 384 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.006489, allocations: 447.3 kB / 384.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.006552, allocations: 43.64 kB / 384.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.006642, allocations: 79.66 kB / 384.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.007174, allocations: 0.5254 MB / 385.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.007176, allocations: 0 / 385.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007177, allocations: 4 kB / 385.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007182, allocations: 0 / 385.1 MB, free: 12.08 MB / 362.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.0005656/0.007747, allocations: 0.6673 MB / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.007779, allocations: 11.97 kB / 385.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.007857, allocations: 72.66 kB / 385.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.008039, allocations: 196 kB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.008058, allocations: 25.38 kB / 386 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.008086, allocations: 40.36 kB / 386.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.008522, allocations: 0.6208 MB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.008536, allocations: 11.88 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.008558, allocations: 20 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.008571, allocations: 12 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.008769, allocations: 206.3 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.01078, allocations: 5.755 MB / 392.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.0109, allocations: 67.05 kB / 392.8 MB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.01094, allocations: 19.78 kB / 392.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01095, allocations: 8 kB / 392.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.01097, allocations: 37.33 kB / 392.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.01098, allocations: 0 / 392.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.01119, allocations: 97.48 kB / 392.9 MB, free: 3.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.01122, allocations: 51.41 kB / 393 MB, free: 3.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.01142, allocations: 362 kB / 393.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.01143, allocations: 33.7 kB / 393.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.01156, allocations: 318.4 kB / 393.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.01158, allocations: 27.8 kB / 393.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.01165, allocations: 87.52 kB / 393.8 MB, free: 2.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01177, allocations: 0.5079 MB / 394.3 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.01182, allocations: 32.62 kB / 394.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.01199, allocations: 331.7 kB / 394.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.01224, allocations: 401.3 kB / 395 MB, free: 1.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01224, allocations: 4 kB / 395 MB, free: 1.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003001/0.01254, allocations: 300.8 kB / 395.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01256, allocations: 8 kB / 395.3 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01256, allocations: 8.844 kB / 395.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01258, allocations: 12 kB / 395.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.01285, allocations: 107.8 kB / 395.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005881/0.01344, allocations: 1.829 MB / 397.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.01356, allocations: 47.66 kB / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.01358, allocations: 24 kB / 397.4 MB, free: 14.87 MB / 378.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_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.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 (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 9.234e-05/0.01367, allocations: 180.4 kB / 397.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.0137, allocations: 27.81 kB / 397.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01388, allocations: 127.5 kB / 397.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01388, allocations: 3.938 kB / 397.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.01388, allocations: 4 kB / 397.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01389, allocations: 0 / 397.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.01407, allocations: 228.5 kB / 397.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01407, allocations: 8 kB / 397.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.0142, allocations: 51.97 kB / 398 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0142, allocations: 0 / 398 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01421, allocations: 4 kB / 398 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004752/0.01469, allocations: 1.814 MB / 399.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01469, allocations: 0 / 399.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.01483, allocations: 239.7 kB / 400 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01485, allocations: 27.75 kB / 400.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01488, allocations: 8.109 kB / 400.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.01493, allocations: 4 kB / 400.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.01497, allocations: 15.92 kB / 400.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01498, allocations: 4 kB / 400.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.01508, allocations: 215 kB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01508, allocations: 0 / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.01541, allocations: 127.7 kB / 400.4 MB, free: 11.67 MB / 378.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.000268/0.01568, allocations: 203.4 kB / 400.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.01596, allocations: 181 kB / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01596, allocations: 0 / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.01607, allocations: 63.66 kB / 400.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.01628, allocations: 20.64 kB / 400.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.01703, allocations: 494 kB / 401.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01708, allocations: 88.3 kB / 401.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.01713, allocations: 21.95 kB / 401.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.01717, allocations: 20.5 kB / 401.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01717, allocations: 0 / 401.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Templates: time 0.007836/0.02501, allocations: 5.511 MB / 407 MB, free: 5.098 MB / 378.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.4864482029806823]