Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001907/0.001907, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002431/0.002431, allocations: 164.3 kB / 24.5 MB, free: 3.453 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.462/1.462, allocations: 177.1 MB / 204.7 MB, free: 9.02 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.2144/0.2144, allocations: 34.26 MB / 295.4 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 87.84 kB / 443.2 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3138, allocations: 66.06 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00296/0.3168, allocations: 2.049 MB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3183, allocations: 1.263 MB / 0.5005 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.3184, allocations: 3.375 kB / 0.5005 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.3187, allocations: 75.92 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.3188, allocations: 68.31 kB / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3193, allocations: 218.4 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3195, allocations: 150.7 kB / 0.501 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3195, allocations: 7.594 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3197, allocations: 60.05 kB / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.3198, allocations: 71.88 kB / 0.5012 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3198, allocations: 3.156 kB / 0.5012 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.3202, allocations: 214.2 kB / 0.5014 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.3202, allocations: 22.58 kB / 0.5014 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3203, allocations: 56.39 kB / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.3208, allocations: 384.1 kB / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3208, allocations: 0 / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3208, allocations: 0 / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3208, allocations: 0 / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006051/0.3214, allocations: 434.8 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3215, allocations: 9.438 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3215, allocations: 21.86 kB / 0.5023 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3217, allocations: 156.6 kB / 0.5024 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3217, allocations: 10.88 kB / 0.5024 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3217, allocations: 24.91 kB / 0.5024 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.3221, allocations: 200.3 kB / 0.5026 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3221, allocations: 7.875 kB / 0.5026 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3221, allocations: 10.66 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3222, allocations: 2.844 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.3224, allocations: 157.6 kB / 0.5028 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.3231, allocations: 489.8 kB / 0.5033 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3233, allocations: 58.27 kB / 0.5033 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3234, allocations: 31.14 kB / 0.5034 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3234, allocations: 3.438 kB / 0.5034 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3235, allocations: 30.56 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3235, allocations: 4 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004474/0.3239, allocations: 128.2 kB / 0.5035 GB, free: 25.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3239, allocations: 51.41 kB / 0.5036 GB, free: 25.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3241, allocations: 199 kB / 0.5037 GB, free: 25.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3241, allocations: 25.7 kB / 0.5038 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.3241, allocations: 178.7 kB / 0.5039 GB, free: 25.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3242, allocations: 22.92 kB / 0.504 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3242, allocations: 36.83 kB / 0.504 GB, free: 25.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.3243, allocations: 336.7 kB / 0.5043 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3244, allocations: 33.16 kB / 0.5044 GB, free: 25.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3245, allocations: 134.8 kB / 0.5045 GB, free: 24.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.3248, allocations: 188.2 kB / 0.5047 GB, free: 24.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3248, allocations: 0 / 0.5047 GB, free: 24.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003364/0.3251, allocations: 195.5 kB / 0.5048 GB, free: 24.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3251, allocations: 6.344 kB / 0.5049 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.3252, allocations: 9.469 kB / 0.5049 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3252, allocations: 9.578 kB / 0.5049 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3253, allocations: 37.66 kB / 0.5049 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3253, allocations: 6.25 kB / 0.5049 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3254, allocations: 24.72 kB / 0.5049 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3255, allocations: 13.28 kB / 0.5049 GB, free: 24.7 MB / 446.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.3255, allocations: 126.8 kB / 0.5051 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3256, allocations: 9.891 kB / 0.5051 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.3259, allocations: 150.4 kB / 0.5052 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3259, allocations: 0 / 0.5052 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3259, allocations: 0 / 0.5052 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3259, allocations: 0 / 0.5052 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3261, allocations: 169.2 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.3261, allocations: 10.62 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.3261, allocations: 2.812 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3262, allocations: 6.5 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3262, allocations: 4 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3262, allocations: 0 / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3262, allocations: 2.562 kB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.3264, allocations: 202 kB / 0.5056 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.3264, allocations: 13.78 kB / 0.5056 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3265, allocations: 0 / 0.5056 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.3266, allocations: 10.25 kB / 0.5056 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3266, allocations: 3.094 kB / 0.5056 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3266, allocations: 11 kB / 0.5056 GB, free: 24.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.3267, allocations: 141.7 kB / 0.5058 GB, free: 24.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3267, allocations: 0 / 0.5058 GB, free: 24.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.3271, allocations: 80.73 kB / 0.5059 GB, free: 24.04 MB / 446.1 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/0.3274, allocations: 166.2 kB / 0.506 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3278, allocations: 165.6 kB / 0.5062 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3278, allocations: 0 / 0.5062 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.328, allocations: 96.62 kB / 0.5063 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3284, allocations: 10.84 kB / 0.5063 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.329, allocations: 372 kB / 0.5066 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.3291, allocations: 120.7 kB / 0.5067 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.3291, allocations: 11.92 kB / 0.5068 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.3292, allocations: 17.7 kB / 0.5068 GB, free: 23.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3292, allocations: 0 / 0.5068 GB, free: 23.43 MB / 446.1 MB Notification: Performance of Templates: time 0.007747/0.3369, allocations: 3.502 MB / 0.5102 GB, free: 23.11 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.075547486077994]