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/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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 196.1 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.0008142, allocations: 110 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3292/0.3292, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004318, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.347, allocations: 62.96 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4715, allocations: 94.64 MB / 0.6109 GB, free: 10.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4718, allocations: 107.9 kB / 0.611 GB, free: 10.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01914/0.491, allocations: 7.106 MB / 0.6179 GB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.491, allocations: 0 / 0.6179 GB, free: 3.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4911, allocations: 0 / 0.6179 GB, free: 3.406 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006822/0.4918, allocations: 487.1 kB / 0.6184 GB, free: 2.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4918, allocations: 12.02 kB / 0.6184 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.4919, allocations: 28.64 kB / 0.6184 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4922, allocations: 212.7 kB / 0.6186 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.4922, allocations: 16.81 kB / 0.6186 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.4923, allocations: 20.38 kB / 0.6186 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.4927, allocations: 235.8 kB / 0.6189 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4928, allocations: 192 / 0.6189 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.4928, allocations: 15.94 kB / 0.6189 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.4928, allocations: 4 kB / 0.6189 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.4933, allocations: 253.6 kB / 0.6191 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.4943, allocations: 0.6235 MB / 0.6197 GB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.4946, allocations: 122.6 kB / 0.6199 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4948, allocations: 44.84 kB / 0.6199 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4948, allocations: 3.984 kB / 0.6199 GB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4949, allocations: 34.56 kB / 0.6199 GB, free: 1.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4949, allocations: 0 / 0.6199 GB, free: 1.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005101/0.4954, allocations: 181.3 kB / 0.6201 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4955, allocations: 51.41 kB / 0.6202 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.4957, allocations: 263 kB / 0.6204 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4957, allocations: 25.7 kB / 0.6204 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4959, allocations: 171.7 kB / 0.6206 GB, free: 444 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.4959, allocations: 39.53 kB / 0.6206 GB, free: 404 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.4959, allocations: 4 kB / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.496, allocations: 334.8 kB / 0.621 GB, free: 56 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4962, allocations: 55.84 kB / 0.621 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4964, allocations: 152.8 kB / 0.6212 GB, free: 15.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.4968, allocations: 223.3 kB / 0.6214 GB, free: 15.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4968, allocations: 4 kB / 0.6214 GB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004728/0.4973, allocations: 249.1 kB / 0.6216 GB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4973, allocations: 4 kB / 0.6216 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4973, allocations: 4 kB / 0.6216 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4973, allocations: 4 kB / 0.6216 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.4977, allocations: 92.17 kB / 0.6217 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006961/0.4984, allocations: 1.223 MB / 0.6229 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4986, allocations: 39.67 kB / 0.6229 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4987, allocations: 8.188 kB / 0.6229 GB, free: 13.87 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.4988, allocations: 141.7 kB / 0.6231 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.4988, allocations: 23.66 kB / 0.6231 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.4993, allocations: 179.2 kB / 0.6233 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.4993, allocations: 4 kB / 0.6233 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4993, allocations: 0 / 0.6233 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4993, allocations: 3.938 kB / 0.6233 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.4999, allocations: 468 kB / 0.6237 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4999, allocations: 0 / 0.6237 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5002, allocations: 55.98 kB / 0.6238 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5002, allocations: 3.984 kB / 0.6238 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5002, allocations: 12.06 kB / 0.6238 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006462/0.5009, allocations: 1.211 MB / 0.625 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5009, allocations: 0 / 0.625 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.5013, allocations: 257.1 kB / 0.6252 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.5014, allocations: 100.8 kB / 0.6253 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.5014, allocations: 4 kB / 0.6253 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5015, allocations: 8 kB / 0.6253 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.5016, allocations: 11.98 kB / 0.6253 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5016, allocations: 4 kB / 0.6253 GB, free: 11.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.5018, allocations: 186 kB / 0.6255 GB, free: 11.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5018, allocations: 192 / 0.6255 GB, free: 11.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.5022, allocations: 83.92 kB / 0.6256 GB, free: 10.98 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004022/0.5026, allocations: 182.8 kB / 0.6258 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.5032, allocations: 184.5 kB / 0.626 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5032, allocations: 0 / 0.626 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.5035, allocations: 83.95 kB / 0.626 GB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.5039, allocations: 28.83 kB / 0.6261 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.5048, allocations: 469.3 kB / 0.6265 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5051, allocations: 0.7248 MB / 0.6272 GB, free: 9.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.5052, allocations: 29.88 kB / 0.6272 GB, free: 9.223 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.5053, allocations: 15.44 kB / 0.6273 GB, free: 9.211 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5053, allocations: 0 / 0.6273 GB, free: 9.211 MB / 442.7 MB Notification: Performance of Templates: time 0.0079/0.5132, allocations: 3.795 MB / 0.631 GB, free: 5.461 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches