Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008116/0.0008117, allocations: 88.92 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1759/0.1759, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.959e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 63.24 MB / 0.5114 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4826, allocations: 101.9 MB / 0.6109 GB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4829, allocations: 102.3 kB / 0.6109 GB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03069/0.5136, allocations: 10.8 MB / 0.6215 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.5136, allocations: 0 / 0.6215 GB, free: 14.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.5136, allocations: 4 kB / 0.6215 GB, free: 14.52 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006074/0.5143, allocations: 492.8 kB / 0.622 GB, free: 14.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5143, allocations: 11.97 kB / 0.622 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.5144, allocations: 27.67 kB / 0.622 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.5146, allocations: 206.9 kB / 0.6222 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5146, allocations: 15.69 kB / 0.6222 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5146, allocations: 19.25 kB / 0.6222 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.5149, allocations: 255.5 kB / 0.6225 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.515, allocations: 0 / 0.6225 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.515, allocations: 3.875 kB / 0.6225 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.515, allocations: 8 kB / 0.6225 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.5152, allocations: 129.7 kB / 0.6226 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.516, allocations: 0.9073 MB / 0.6235 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5162, allocations: 46.2 kB / 0.6236 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.5162, allocations: 24.52 kB / 0.6236 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.5163, allocations: 0 / 0.6236 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5163, allocations: 34.5 kB / 0.6236 GB, free: 12.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.5163, allocations: 0 / 0.6236 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002027/0.5165, allocations: 84.42 kB / 0.6237 GB, free: 12.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.5165, allocations: 58.53 kB / 0.6237 GB, free: 12.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.5167, allocations: 235.8 kB / 0.624 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5168, allocations: 28.95 kB / 0.624 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.5169, allocations: 181.3 kB / 0.6242 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5169, allocations: 19.17 kB / 0.6242 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.5169, allocations: 7.188 kB / 0.6242 GB, free: 11.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.517, allocations: 333.4 kB / 0.6245 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.5171, allocations: 31.05 kB / 0.6245 GB, free: 11.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.5172, allocations: 171.4 kB / 0.6247 GB, free: 11.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.5173, allocations: 61.72 kB / 0.6248 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5173, allocations: 4 kB / 0.6248 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002933/0.5176, allocations: 226 kB / 0.625 GB, free: 11.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5177, allocations: 16.91 kB / 0.625 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.5177, allocations: 15.98 kB / 0.625 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5177, allocations: 8.094 kB / 0.625 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5179, allocations: 51.47 kB / 0.6251 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-05/0.5179, allocations: 19.88 kB / 0.6251 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.5181, allocations: 42.91 kB / 0.6251 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5181, allocations: 12 kB / 0.6251 GB, free: 10.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete 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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.5182, allocations: 123.4 kB / 0.6253 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.5182, allocations: 27.7 kB / 0.6253 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.5185, allocations: 109 kB / 0.6254 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5185, allocations: 4 kB / 0.6254 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5185, allocations: 4 kB / 0.6254 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5185, allocations: 7.891 kB / 0.6254 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.5187, allocations: 218.4 kB / 0.6256 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.5187, allocations: 8 kB / 0.6256 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.5188, allocations: 11.98 kB / 0.6256 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5188, allocations: 0 / 0.6256 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5188, allocations: 4 kB / 0.6256 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5188, allocations: 3.984 kB / 0.6256 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5188, allocations: 4 kB / 0.6256 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.519, allocations: 176.8 kB / 0.6258 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.5191, allocations: 100.8 kB / 0.6259 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5191, allocations: 3 kB / 0.6259 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5192, allocations: 7.984 kB / 0.6259 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.5193, allocations: 8 kB / 0.6259 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5193, allocations: 4 kB / 0.6259 GB, free: 10.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5194, allocations: 180.9 kB / 0.6261 GB, free: 9.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5194, allocations: 0 / 0.6261 GB, free: 9.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005152/0.5199, allocations: 125.4 kB / 0.6262 GB, free: 9.75 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004526/0.5204, allocations: 249.9 kB / 0.6265 GB, free: 9.504 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.5207, allocations: 172 kB / 0.6266 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5207, allocations: 0 / 0.6266 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.5209, allocations: 90.7 kB / 0.6267 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.5211, allocations: 24.02 kB / 0.6267 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.5215, allocations: 210 kB / 0.6269 GB, free: 9.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.5217, allocations: 0.7405 MB / 0.6277 GB, free: 8.246 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.5218, allocations: 29.98 kB / 0.6277 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.5219, allocations: 19.44 kB / 0.6277 GB, free: 8.195 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5219, allocations: 0 / 0.6277 GB, free: 8.195 MB / 426.7 MB Notification: Performance of Templates: time 0.01056/0.5324, allocations: 6.306 MB / 0.6339 GB, free: 1.945 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches