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/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.5 MB / 245.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007578/0.0007578, allocations: 100.4 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2955/0.2955, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002777, allocations: 11.98 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3052, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.446, allocations: 96.75 MB / 0.6129 GB, free: 8.496 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.4463, allocations: 102.8 kB / 0.613 GB, free: 8.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.4682, allocations: 8.209 MB / 0.621 GB, free: 172 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4683, allocations: 0 / 0.621 GB, free: 172 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4683, allocations: 4 kB / 0.621 GB, free: 168 kB / 426.7 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.0008977/0.4692, allocations: 494.6 kB / 0.6215 GB, free: 15.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4693, allocations: 8.031 kB / 0.6215 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.4694, allocations: 24.66 kB / 0.6215 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.4696, allocations: 208 kB / 0.6217 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4697, allocations: 16.38 kB / 0.6218 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4697, allocations: 16.38 kB / 0.6218 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.4702, allocations: 207.3 kB / 0.622 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4702, allocations: 192 / 0.622 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.4702, allocations: 11.94 kB / 0.622 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4702, allocations: 8 kB / 0.622 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.4705, allocations: 164.2 kB / 0.6221 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.4715, allocations: 0.5597 MB / 0.6227 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4717, allocations: 78.48 kB / 0.6228 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4718, allocations: 36.94 kB / 0.6228 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.4719, allocations: 7.875 kB / 0.6228 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.4719, allocations: 34.56 kB / 0.6228 GB, free: 14.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.4719, allocations: 0 / 0.6228 GB, free: 14.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004468/0.4723, allocations: 153.3 kB / 0.623 GB, free: 13.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4724, allocations: 51.41 kB / 0.623 GB, free: 13.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.4727, allocations: 250.7 kB / 0.6233 GB, free: 13.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4727, allocations: 33.7 kB / 0.6233 GB, free: 13.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4728, allocations: 163.7 kB / 0.6235 GB, free: 13.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4728, allocations: 19.64 kB / 0.6235 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.4729, allocations: 11.94 kB / 0.6235 GB, free: 13.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.473, allocations: 330.8 kB / 0.6238 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4731, allocations: 39.97 kB / 0.6238 GB, free: 13.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.4733, allocations: 132.9 kB / 0.624 GB, free: 12.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4736, allocations: 196.6 kB / 0.6242 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4736, allocations: 4 kB / 0.6242 GB, free: 12.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003893/0.474, allocations: 205.1 kB / 0.6244 GB, free: 12.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4741, allocations: 10.66 kB / 0.6244 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.4741, allocations: 16 kB / 0.6244 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4741, allocations: 4 kB / 0.6244 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4743, allocations: 40.34 kB / 0.6244 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4743, allocations: 4 kB / 0.6244 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4744, allocations: 31.69 kB / 0.6245 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4745, allocations: 12 kB / 0.6245 GB, free: 12.32 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 (17): * Single equations (assignments): 15 * 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 0.0001151/0.4746, allocations: 134.6 kB / 0.6246 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4746, allocations: 23.72 kB / 0.6246 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.475, allocations: 142.9 kB / 0.6248 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.475, allocations: 4 kB / 0.6248 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4751, allocations: 4 kB / 0.6248 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4751, allocations: 0 / 0.6248 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.4753, allocations: 225.5 kB / 0.625 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.4754, allocations: 8.188 kB / 0.625 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.4754, allocations: 15.98 kB / 0.625 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4754, allocations: 3.938 kB / 0.625 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4755, allocations: 0 / 0.625 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4755, allocations: 0 / 0.625 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4755, allocations: 0 / 0.625 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.4758, allocations: 227.2 kB / 0.6252 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4759, allocations: 104.8 kB / 0.6253 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4759, allocations: 0 / 0.6253 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.476, allocations: 15.98 kB / 0.6253 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4761, allocations: 4 kB / 0.6253 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4761, allocations: 0 / 0.6253 GB, free: 11.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.4762, allocations: 182 kB / 0.6255 GB, free: 11.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4763, allocations: 0 / 0.6255 GB, free: 11.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.4767, allocations: 79.94 kB / 0.6256 GB, free: 11.07 MB / 442.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 (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.000434/0.4772, allocations: 205.7 kB / 0.6258 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.4776, allocations: 176 kB / 0.626 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4776, allocations: 0 / 0.626 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.4778, allocations: 103.4 kB / 0.6261 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.4782, allocations: 32.47 kB / 0.6261 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.4789, allocations: 417.4 kB / 0.6265 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4793, allocations: 0.7323 MB / 0.6272 GB, free: 9.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.4793, allocations: 17.48 kB / 0.6272 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.4794, allocations: 19.44 kB / 0.6272 GB, free: 9.305 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4794, allocations: 0 / 0.6272 GB, free: 9.305 MB / 442.7 MB Notification: Performance of Templates: time 0.009269/0.4887, allocations: 4.478 MB / 0.6316 GB, free: 4.875 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) 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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches