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.000913/0.000913, allocations: 200.4 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006873/0.0006873, allocations: 105.8 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 464.8 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09217, allocations: 62.95 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002141/0.09436, allocations: 1.834 MB / 0.5171 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.166/0.2604, allocations: 0.9969 MB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2606, allocations: 1.094 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.2608, allocations: 74.19 kB / 0.5182 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.2611, allocations: 80.69 kB / 0.5183 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2614, allocations: 93.73 kB / 0.5183 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.2616, allocations: 168.3 kB / 0.5185 GB, free: 9.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.2616, allocations: 17.77 kB / 0.5185 GB, free: 9.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2618, allocations: 73.66 kB / 0.5186 GB, free: 9.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2619, allocations: 83.92 kB / 0.5187 GB, free: 9.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.262, allocations: 5.406 kB / 0.5187 GB, free: 9.695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.2624, allocations: 249.8 kB / 0.5189 GB, free: 9.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.2624, allocations: 28.23 kB / 0.5189 GB, free: 9.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2625, allocations: 56.14 kB / 0.519 GB, free: 9.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2628, allocations: 216.2 kB / 0.5192 GB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2628, allocations: 1.5 kB / 0.5192 GB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2628, allocations: 0.5625 kB / 0.5192 GB, free: 9.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2628, allocations: 0 / 0.5192 GB, free: 9.598 MB / 346.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.0004668/0.2633, allocations: 475.7 kB / 0.5197 GB, free: 9.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2633, allocations: 8.781 kB / 0.5197 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.2634, allocations: 24.33 kB / 0.5197 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2635, allocations: 222 kB / 0.5199 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2635, allocations: 19.81 kB / 0.5199 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2636, allocations: 22.06 kB / 0.5199 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.264, allocations: 234.1 kB / 0.5202 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.264, allocations: 0 / 0.5202 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.264, allocations: 7.406 kB / 0.5202 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.264, allocations: 5.281 kB / 0.5202 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.2645, allocations: 258.3 kB / 0.5204 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.2653, allocations: 0.6137 MB / 0.521 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.2656, allocations: 108.3 kB / 0.5211 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2657, allocations: 46.38 kB / 0.5212 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2657, allocations: 5.297 kB / 0.5212 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2658, allocations: 33.66 kB / 0.5212 GB, free: 8.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2658, allocations: 4 kB / 0.5212 GB, free: 8.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000484/0.2663, allocations: 180.2 kB / 0.5214 GB, free: 8.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.2663, allocations: 52.11 kB / 0.5214 GB, free: 8.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.2665, allocations: 269.9 kB / 0.5217 GB, free: 8.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.2665, allocations: 29.64 kB / 0.5217 GB, free: 8.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.2666, allocations: 170.2 kB / 0.5219 GB, free: 8.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2666, allocations: 31.25 kB / 0.5219 GB, free: 8.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.2666, allocations: 4.625 kB / 0.5219 GB, free: 8.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.2667, allocations: 336.5 kB / 0.5222 GB, free: 7.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2668, allocations: 57.53 kB / 0.5223 GB, free: 7.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.267, allocations: 151 kB / 0.5224 GB, free: 7.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.2672, allocations: 77.7 kB / 0.5225 GB, free: 7.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2672, allocations: 1.156 kB / 0.5225 GB, free: 7.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004352/0.2677, allocations: 248.4 kB / 0.5227 GB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2677, allocations: 6.609 kB / 0.5228 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2677, allocations: 3.594 kB / 0.5228 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2677, allocations: 6.828 kB / 0.5228 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2681, allocations: 91.94 kB / 0.5229 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004113/0.2685, allocations: 1.212 MB / 0.524 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.2687, allocations: 48.44 kB / 0.5241 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.2688, allocations: 13.8 kB / 0.5241 GB, free: 6.363 MB / 346.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 8.576e-05/0.2688, allocations: 130.1 kB / 0.5242 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.2689, allocations: 21.89 kB / 0.5242 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.2693, allocations: 187.1 kB / 0.5244 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2693, allocations: 1.641 kB / 0.5244 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2693, allocations: 4.266 kB / 0.5244 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2693, allocations: 0.5625 kB / 0.5244 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.2699, allocations: 459.4 kB / 0.5249 GB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2699, allocations: 1.156 kB / 0.5249 GB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.2701, allocations: 69.27 kB / 0.5249 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.2702, allocations: 1.156 kB / 0.5249 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2702, allocations: 2.969 kB / 0.5249 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000353/0.2705, allocations: 1.217 MB / 0.5261 GB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2705, allocations: 5.156 kB / 0.5261 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.2709, allocations: 256.4 kB / 0.5264 GB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.2709, allocations: 97.02 kB / 0.5265 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.271, allocations: 5.25 kB / 0.5265 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2711, allocations: 13.52 kB / 0.5265 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2712, allocations: 14.8 kB / 0.5265 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2712, allocations: 4.734 kB / 0.5265 GB, free: 4.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2713, allocations: 183 kB / 0.5267 GB, free: 4.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2713, allocations: 0 / 0.5267 GB, free: 4.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.2717, allocations: 69.73 kB / 0.5267 GB, free: 4.297 MB / 346.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.000218/0.2719, allocations: 146.6 kB / 0.5269 GB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.2724, allocations: 176 kB / 0.527 GB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2724, allocations: 4.969 kB / 0.5271 GB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.2727, allocations: 92.16 kB / 0.5271 GB, free: 4.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.273, allocations: 29.56 kB / 0.5272 GB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.2737, allocations: 490.8 kB / 0.5276 GB, free: 3.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2739, allocations: 0.7285 MB / 0.5283 GB, free: 3.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.2739, allocations: 21.8 kB / 0.5284 GB, free: 3.156 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2739, allocations: 4.984 kB / 0.5284 GB, free: 3.152 MB / 346.7 MB Notification: Performance of Templates: time 0.006359/0.2803, allocations: 4.354 MB / 0.5326 GB, free: 2.852 MB / 346.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/jenkins/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