Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.001769/0.001769, allocations: 194.2 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 244.1 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007097/0.0007101, allocations: 96.41 kB / 296.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3294/0.3294, allocations: 44.81 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 62.96 MB / 0.5165 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4015, allocations: 96.75 MB / 0.611 GB, free: 8.594 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4019, allocations: 99.92 kB / 0.6111 GB, free: 8.496 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02092/0.4228, allocations: 8.216 MB / 0.6191 GB, free: 268 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4229, allocations: 0 / 0.6191 GB, free: 268 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4229, allocations: 4 kB / 0.6191 GB, free: 264 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.0006659/0.4235, allocations: 486.6 kB / 0.6196 GB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4236, allocations: 12.03 kB / 0.6196 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.4236, allocations: 20.66 kB / 0.6196 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.4239, allocations: 208 kB / 0.6198 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4239, allocations: 16.38 kB / 0.6198 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.424, allocations: 16.38 kB / 0.6198 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.4243, allocations: 207.3 kB / 0.62 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4244, allocations: 192 / 0.62 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4244, allocations: 11.94 kB / 0.62 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.4244, allocations: 11.97 kB / 0.62 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.4247, allocations: 156.2 kB / 0.6202 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.4255, allocations: 0.5714 MB / 0.6207 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.4257, allocations: 74.55 kB / 0.6208 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4259, allocations: 32.95 kB / 0.6208 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.4259, allocations: 7.875 kB / 0.6209 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4259, allocations: 30.56 kB / 0.6209 GB, free: 14.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.4259, allocations: 0 / 0.6209 GB, free: 14.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004497/0.4264, allocations: 157.3 kB / 0.621 GB, free: 14.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4265, allocations: 51.41 kB / 0.6211 GB, free: 14.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.4267, allocations: 254.7 kB / 0.6213 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4267, allocations: 29.7 kB / 0.6214 GB, free: 13.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4269, allocations: 171.6 kB / 0.6215 GB, free: 13.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4269, allocations: 19.66 kB / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.4269, allocations: 4 kB / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.427, allocations: 334.8 kB / 0.6219 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4272, allocations: 39.97 kB / 0.6219 GB, free: 13.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4274, allocations: 136.8 kB / 0.622 GB, free: 12.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.4277, allocations: 192.6 kB / 0.6222 GB, free: 12.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.4277, allocations: 4 kB / 0.6222 GB, free: 12.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004031/0.4281, allocations: 209.2 kB / 0.6224 GB, free: 12.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4282, allocations: 8 kB / 0.6224 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.4282, allocations: 16 kB / 0.6224 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4282, allocations: 4 kB / 0.6224 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4283, allocations: 36.34 kB / 0.6225 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.4284, allocations: 8 kB / 0.6225 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.4285, allocations: 39.67 kB / 0.6225 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4285, allocations: 8 kB / 0.6225 GB, free: 12.41 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.0001159/0.4287, allocations: 131.5 kB / 0.6227 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.4287, allocations: 19.72 kB / 0.6227 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.4291, allocations: 146.9 kB / 0.6228 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4291, allocations: 0 / 0.6228 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4291, allocations: 0 / 0.6228 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4291, allocations: 8 kB / 0.6228 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4294, allocations: 217.5 kB / 0.623 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.4294, allocations: 15.94 kB / 0.623 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.4294, allocations: 7.984 kB / 0.6231 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4295, allocations: 0 / 0.6231 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4295, allocations: 8 kB / 0.6231 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4295, allocations: 0 / 0.6231 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4295, allocations: 0 / 0.6231 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.4298, allocations: 227.1 kB / 0.6233 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.4299, allocations: 96.77 kB / 0.6234 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.4299, allocations: 0 / 0.6234 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.43, allocations: 15.98 kB / 0.6234 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.4301, allocations: 0 / 0.6234 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4301, allocations: 4 kB / 0.6234 GB, free: 11.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.4302, allocations: 182 kB / 0.6236 GB, free: 11.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4302, allocations: 0 / 0.6236 GB, free: 11.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.4307, allocations: 83.92 kB / 0.6236 GB, free: 11.17 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.0003803/0.4311, allocations: 212.5 kB / 0.6238 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.4315, allocations: 176.1 kB / 0.624 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4315, allocations: 0 / 0.624 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.4318, allocations: 107.4 kB / 0.6241 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4321, allocations: 33.41 kB / 0.6241 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.4328, allocations: 447.1 kB / 0.6246 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4331, allocations: 0.7284 MB / 0.6253 GB, free: 9.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.4332, allocations: 19.44 kB / 0.6253 GB, free: 9.379 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4332, allocations: 0 / 0.6253 GB, free: 9.379 MB / 442.7 MB Notification: Performance of Templates: time 0.006456/0.4397, allocations: 4.64 MB / 0.6298 GB, free: 4.762 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches