Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3375, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003027/0.3405, allocations: 2.188 MB / 0.5211 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3419, allocations: 1.065 MB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.342, allocations: 1.406 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3424, allocations: 94.77 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.3427, allocations: 84.84 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.343, allocations: 116.9 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3432, allocations: 178.6 kB / 0.5226 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.214e-05/0.3433, allocations: 18.61 kB / 0.5226 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3434, allocations: 71.94 kB / 0.5226 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3436, allocations: 83.66 kB / 0.5227 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3436, allocations: 6.531 kB / 0.5227 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.3441, allocations: 260.1 kB / 0.523 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.3441, allocations: 34.73 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.3442, allocations: 74.28 kB / 0.5231 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3447, allocations: 334 kB / 0.5234 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3447, allocations: 3.938 kB / 0.5234 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3447, allocations: 1.125 kB / 0.5234 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3447, allocations: 4 kB / 0.5234 GB, free: 0.6719 MB / 382.1 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.0005709/0.3453, allocations: 0.4969 MB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3454, allocations: 9.969 kB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.3454, allocations: 28.25 kB / 0.5239 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3456, allocations: 210.8 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3457, allocations: 17.75 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3457, allocations: 19.52 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.3461, allocations: 230.5 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3462, allocations: 0 / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3462, allocations: 9.219 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3462, allocations: 5.656 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3466, allocations: 250.7 kB / 0.5246 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.3476, allocations: 0.6243 MB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.3479, allocations: 101.3 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.348, allocations: 41.64 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.348, allocations: 15.08 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3481, allocations: 37.23 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3481, allocations: 0 / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005095/0.3486, allocations: 168.4 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3486, allocations: 54.03 kB / 0.5257 GB, free: 15.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3489, allocations: 269.4 kB / 0.5259 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.349, allocations: 27.08 kB / 0.5259 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3491, allocations: 169.4 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3491, allocations: 35.3 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.3492, allocations: 49 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3494, allocations: 336.2 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3495, allocations: 46.02 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3498, allocations: 156.1 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.3502, allocations: 208 kB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3502, allocations: 5.375 kB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005033/0.3507, allocations: 237.4 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3507, allocations: 7.391 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3507, allocations: 4.125 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3508, allocations: 4.125 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.3512, allocations: 84.47 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.3519, allocations: 1.222 MB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3521, allocations: 36.81 kB / 0.5284 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3521, allocations: 14.25 kB / 0.5285 GB, free: 12.67 MB / 398.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3522, allocations: 138.5 kB / 0.5286 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3523, allocations: 21.67 kB / 0.5286 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.3527, allocations: 174.4 kB / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3527, allocations: 2.812 kB / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3528, allocations: 0 / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3528, allocations: 96 / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.3534, allocations: 458.2 kB / 0.5292 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3535, allocations: 1.562 kB / 0.5292 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3537, allocations: 59.38 kB / 0.5293 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3537, allocations: 1.5 kB / 0.5293 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3537, allocations: 2.781 kB / 0.5293 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.3543, allocations: 1.214 MB / 0.5305 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3544, allocations: 1.375 kB / 0.5305 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3547, allocations: 250 kB / 0.5307 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3548, allocations: 99.72 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3548, allocations: 5.094 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.355, allocations: 8.672 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3551, allocations: 12.42 kB / 0.5308 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3551, allocations: 8.312 kB / 0.5308 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.3553, allocations: 190.4 kB / 0.531 GB, free: 10.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3553, allocations: 0 / 0.531 GB, free: 10.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.3557, allocations: 66.39 kB / 0.5311 GB, free: 10.29 MB / 398.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002737/0.356, allocations: 144.7 kB / 0.5312 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.3565, allocations: 164.6 kB / 0.5314 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3565, allocations: 1.25 kB / 0.5314 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.3568, allocations: 90.33 kB / 0.5315 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3572, allocations: 28.45 kB / 0.5315 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.3581, allocations: 410.9 kB / 0.5319 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3584, allocations: 0.73 MB / 0.5326 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.818e-05/0.3585, allocations: 24.47 kB / 0.5326 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3585, allocations: 21.5 kB / 0.5326 GB, free: 9.027 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3585, allocations: 0 / 0.5326 GB, free: 9.027 MB / 398.1 MB Notification: Performance of Templates: time 0.007605/0.3662, allocations: 3.527 MB / 0.5361 GB, free: 7.332 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches