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_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_cpp_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_cpp_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.0009859/0.0009857, allocations: 192.5 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, 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.0008588/0.0008589, allocations: 92.72 kB / 296.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3114/0.3114, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002417, allocations: 11.98 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2917, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4197, allocations: 94.64 MB / 0.6089 GB, free: 10.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.42, allocations: 95.92 kB / 0.609 GB, free: 10.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01819/0.4382, allocations: 7.113 MB / 0.6159 GB, free: 3.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4382, allocations: 0 / 0.6159 GB, free: 3.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4383, allocations: 4 kB / 0.6159 GB, free: 3.492 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.0005559/0.4388, allocations: 483.1 kB / 0.6164 GB, free: 2.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4389, allocations: 11.97 kB / 0.6164 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.4389, allocations: 24.66 kB / 0.6164 GB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.4391, allocations: 219.9 kB / 0.6167 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4392, allocations: 16.81 kB / 0.6167 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4392, allocations: 16.38 kB / 0.6167 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.4396, allocations: 239.8 kB / 0.6169 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4397, allocations: 192 / 0.6169 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.4397, allocations: 11.94 kB / 0.6169 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4397, allocations: 8 kB / 0.6169 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.4402, allocations: 253.6 kB / 0.6172 GB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.4411, allocations: 0.6196 MB / 0.6178 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4415, allocations: 126.6 kB / 0.6179 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.4417, allocations: 48.83 kB / 0.6179 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.4417, allocations: 0 / 0.6179 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4417, allocations: 30.56 kB / 0.618 GB, free: 1.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.4417, allocations: 0 / 0.618 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005402/0.4423, allocations: 193.2 kB / 0.6182 GB, free: 1.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.4423, allocations: 51.41 kB / 0.6182 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.4426, allocations: 259 kB / 0.6185 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4427, allocations: 33.69 kB / 0.6185 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4428, allocations: 167.3 kB / 0.6186 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4428, allocations: 35.53 kB / 0.6187 GB, free: 488 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.4428, allocations: 4 kB / 0.6187 GB, free: 484 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.443, allocations: 338.8 kB / 0.619 GB, free: 136 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.4431, allocations: 47.97 kB / 0.6191 GB, free: 88 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4434, allocations: 163.4 kB / 0.6192 GB, free: 15.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.4438, allocations: 216.5 kB / 0.6194 GB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4438, allocations: 0 / 0.6194 GB, free: 15.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004938/0.4443, allocations: 250.4 kB / 0.6197 GB, free: 15.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4443, allocations: 8 kB / 0.6197 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4443, allocations: 4 kB / 0.6197 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4444, allocations: 4 kB / 0.6197 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.4447, allocations: 88.34 kB / 0.6198 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.4455, allocations: 1.226 MB / 0.621 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.4457, allocations: 35.88 kB / 0.621 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.4457, allocations: 15.98 kB / 0.621 GB, free: 13.95 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.0001377/0.4459, allocations: 129.7 kB / 0.6211 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4459, allocations: 27.66 kB / 0.6212 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.4464, allocations: 175.7 kB / 0.6213 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4464, allocations: 0 / 0.6213 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4464, allocations: 7.922 kB / 0.6213 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4464, allocations: 0 / 0.6213 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.4471, allocations: 467.9 kB / 0.6218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4471, allocations: 0 / 0.6218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.4473, allocations: 59.97 kB / 0.6218 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4474, allocations: 8.062 kB / 0.6218 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4474, allocations: 0 / 0.6218 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007318/0.4481, allocations: 1.215 MB / 0.623 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4481, allocations: 192 / 0.623 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.4485, allocations: 260.9 kB / 0.6233 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.4486, allocations: 104.8 kB / 0.6234 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.4486, allocations: 0 / 0.6234 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4488, allocations: 11.98 kB / 0.6234 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.4489, allocations: 11.98 kB / 0.6234 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4489, allocations: 4 kB / 0.6234 GB, free: 11.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4491, allocations: 186 kB / 0.6236 GB, free: 11.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 0 / 0.6236 GB, free: 11.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.4495, allocations: 71.94 kB / 0.6236 GB, free: 11.07 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.0003885/0.4499, allocations: 187 kB / 0.6238 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.4504, allocations: 180 kB / 0.624 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4504, allocations: 3.938 kB / 0.624 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.4507, allocations: 79.97 kB / 0.6241 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4511, allocations: 33.22 kB / 0.6241 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.4519, allocations: 0.491 MB / 0.6246 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4522, allocations: 0.7326 MB / 0.6253 GB, free: 9.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.4523, allocations: 19.44 kB / 0.6253 GB, free: 9.281 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4523, allocations: 0 / 0.6253 GB, free: 9.281 MB / 442.7 MB Notification: Performance of Templates: time 0.006474/0.4588, allocations: 4.533 MB / 0.6298 GB, free: 4.766 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches