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.0009736/0.0009736, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008378/0.0008377, allocations: 105.2 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2905/0.2905, allocations: 45.22 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2844, allocations: 63.24 MB / 0.5192 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4033, allocations: 96.86 MB / 0.6138 GB, free: 6.582 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4036, allocations: 107.7 kB / 0.6139 GB, free: 6.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02021/0.4238, allocations: 8.211 MB / 0.6219 GB, free: 14.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4238, allocations: 0 / 0.6219 GB, free: 14.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4238, allocations: 4 kB / 0.6219 GB, free: 14.23 MB / 442.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.0005737/0.4244, allocations: 490.4 kB / 0.6224 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4245, allocations: 12.03 kB / 0.6224 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.4245, allocations: 23.72 kB / 0.6224 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4247, allocations: 210.7 kB / 0.6226 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4248, allocations: 12 kB / 0.6226 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.4248, allocations: 16 kB / 0.6226 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.4251, allocations: 206.7 kB / 0.6228 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4252, allocations: 4 kB / 0.6228 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4252, allocations: 4 kB / 0.6229 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4252, allocations: 4 kB / 0.6229 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.4255, allocations: 168.2 kB / 0.623 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.4264, allocations: 0.5753 MB / 0.6236 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4266, allocations: 66.55 kB / 0.6236 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4266, allocations: 3.938 kB / 0.6236 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4266, allocations: 30.56 kB / 0.6237 GB, free: 12.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.4266, allocations: 0 / 0.6237 GB, free: 12.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005467/0.4272, allocations: 323.5 kB / 0.624 GB, free: 11.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.4272, allocations: 51.41 kB / 0.624 GB, free: 11.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4274, allocations: 221.9 kB / 0.6242 GB, free: 11.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4275, allocations: 25.7 kB / 0.6243 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4276, allocations: 163.7 kB / 0.6244 GB, free: 11.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.4276, allocations: 27.66 kB / 0.6245 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.4276, allocations: 0 / 0.6245 GB, free: 11.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4277, allocations: 338.8 kB / 0.6248 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4279, allocations: 39.97 kB / 0.6248 GB, free: 11.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.428, allocations: 139 kB / 0.6249 GB, free: 10.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4282, allocations: 55.98 kB / 0.625 GB, free: 10.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4282, allocations: 0 / 0.625 GB, free: 10.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000378/0.4286, allocations: 213.3 kB / 0.6252 GB, free: 10.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4286, allocations: 8 kB / 0.6252 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.4286, allocations: 8 kB / 0.6252 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4287, allocations: 11.94 kB / 0.6252 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4288, allocations: 32.16 kB / 0.6253 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4288, allocations: 7.938 kB / 0.6253 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.429, allocations: 51.86 kB / 0.6253 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.429, allocations: 8 kB / 0.6253 GB, free: 10.44 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 9.189e-05/0.4291, allocations: 125.8 kB / 0.6254 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.4291, allocations: 15.81 kB / 0.6255 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.4295, allocations: 158.7 kB / 0.6256 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4295, allocations: 0 / 0.6256 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4295, allocations: 0 / 0.6256 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.4295, allocations: 0 / 0.6256 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.4298, allocations: 225.5 kB / 0.6258 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.4298, allocations: 8 kB / 0.6258 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.4298, allocations: 11.98 kB / 0.6258 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4299, allocations: 144 / 0.6258 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4299, allocations: 4 kB / 0.6258 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4299, allocations: 0 / 0.6258 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4299, allocations: 7.922 kB / 0.6259 GB, free: 9.836 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4302, allocations: 227.1 kB / 0.6261 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.4303, allocations: 96.77 kB / 0.6262 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4303, allocations: 4 kB / 0.6262 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.4304, allocations: 7.984 kB / 0.6262 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.4304, allocations: 8 kB / 0.6262 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4305, allocations: 4 kB / 0.6262 GB, free: 9.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.4306, allocations: 182 kB / 0.6264 GB, free: 9.281 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 0 / 0.6264 GB, free: 9.281 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.431, allocations: 79.92 kB / 0.6264 GB, free: 9.203 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.0003347/0.4313, allocations: 200.5 kB / 0.6266 GB, free: 9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.4318, allocations: 180.1 kB / 0.6268 GB, free: 8.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4318, allocations: 4 kB / 0.6268 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.432, allocations: 103.3 kB / 0.6269 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.4322, allocations: 33.75 kB / 0.6269 GB, free: 8.664 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4328, allocations: 413.5 kB / 0.6273 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4331, allocations: 0.7362 MB / 0.628 GB, free: 7.465 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.4332, allocations: 13.55 kB / 0.6281 GB, free: 7.453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4332, allocations: 15.44 kB / 0.6281 GB, free: 7.438 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4332, allocations: 4 kB / 0.6281 GB, free: 7.434 MB / 442.7 MB Notification: Performance of Templates: time 0.007323/0.4405, allocations: 4.19 MB / 0.6322 GB, free: 3.285 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/jenkins/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