Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001137, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2509/0.2509, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5084, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003762/0.5123, allocations: 2.192 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.5141, allocations: 1.1 MB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.5142, allocations: 0 / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.5146, allocations: 95.92 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.5149, allocations: 86.31 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.5152, allocations: 116.8 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.5155, allocations: 183.7 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.5155, allocations: 13.97 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.5158, allocations: 80.67 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.5159, allocations: 87.66 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.516, allocations: 6.031 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.5164, allocations: 258.9 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.5165, allocations: 28.5 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5166, allocations: 84.62 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.5171, allocations: 339 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.5171, allocations: 0 / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5171, allocations: 1.156 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.5171, allocations: 0 / 0.5356 GB, free: 10.09 MB / 398.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.0007152/0.5178, allocations: 0.4889 MB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5179, allocations: 9.75 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.518, allocations: 31.56 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5182, allocations: 222.5 kB / 0.5363 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5183, allocations: 12.91 kB / 0.5363 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.5183, allocations: 30 kB / 0.5363 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.5187, allocations: 223.6 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5188, allocations: 0 / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.5188, allocations: 5.344 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5188, allocations: 8.953 kB / 0.5366 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.5193, allocations: 250.8 kB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5204, allocations: 0.6228 MB / 0.5374 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.5207, allocations: 96.73 kB / 0.5375 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.5209, allocations: 43.66 kB / 0.5375 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.5209, allocations: 5.266 kB / 0.5375 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.521, allocations: 43.66 kB / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.685e-06/0.521, allocations: 0 / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005894/0.5216, allocations: 160.6 kB / 0.5377 GB, free: 8.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.5216, allocations: 64.45 kB / 0.5378 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.5219, allocations: 263.9 kB / 0.5381 GB, free: 8.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.522, allocations: 25.7 kB / 0.5381 GB, free: 8.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.5221, allocations: 180.1 kB / 0.5382 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.5222, allocations: 28.09 kB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.5223, allocations: 48.52 kB / 0.5383 GB, free: 7.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5225, allocations: 339.6 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5226, allocations: 49.7 kB / 0.5387 GB, free: 7.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.5229, allocations: 147.4 kB / 0.5388 GB, free: 7.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.5233, allocations: 213.4 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.5233, allocations: 1.5 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005759/0.5239, allocations: 232.8 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.5239, allocations: 6.031 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.5239, allocations: 4.531 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.524, allocations: 4.469 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.5244, allocations: 85.19 kB / 0.5394 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008994/0.5253, allocations: 1.221 MB / 0.5405 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.5256, allocations: 36.81 kB / 0.5406 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.5256, allocations: 10.16 kB / 0.5406 GB, free: 5.75 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.0001766/0.5258, allocations: 146.8 kB / 0.5407 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.5259, allocations: 22.09 kB / 0.5408 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.5264, allocations: 162.2 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5264, allocations: 9.109 kB / 0.5409 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5264, allocations: 4 kB / 0.5409 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5264, allocations: 0.875 kB / 0.5409 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.5271, allocations: 450.6 kB / 0.5414 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5271, allocations: 5.297 kB / 0.5414 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.5274, allocations: 52.39 kB / 0.5414 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.5274, allocations: 5.438 kB / 0.5414 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5275, allocations: 5.969 kB / 0.5414 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/0.5283, allocations: 1.21 MB / 0.5426 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5283, allocations: 1.156 kB / 0.5426 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.5287, allocations: 250.5 kB / 0.5428 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.5288, allocations: 102.4 kB / 0.5429 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5288, allocations: 1.125 kB / 0.5429 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.529, allocations: 8.312 kB / 0.5429 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.5291, allocations: 16.95 kB / 0.543 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.5291, allocations: 4.219 kB / 0.543 GB, free: 3.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.5293, allocations: 187 kB / 0.5431 GB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5293, allocations: 0 / 0.5431 GB, free: 3.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.5297, allocations: 67.03 kB / 0.5432 GB, free: 3.375 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.0002755/0.53, allocations: 143.2 kB / 0.5433 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.5306, allocations: 181.8 kB / 0.5435 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5306, allocations: 0 / 0.5435 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.5309, allocations: 82.73 kB / 0.5436 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.5313, allocations: 31.14 kB / 0.5436 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/0.5321, allocations: 396.5 kB / 0.544 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5324, allocations: 0.7343 MB / 0.5447 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.5325, allocations: 20.17 kB / 0.5447 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.5326, allocations: 17.31 kB / 0.5448 GB, free: 2.117 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5326, allocations: 1.25 kB / 0.5448 GB, free: 2.117 MB / 398.1 MB Notification: Performance of Templates: time 0.007591/0.5402, allocations: 3.639 MB / 0.5483 GB, free: 15.44 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches