Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002459/0.00246, allocations: 202 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.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2571/0.2571, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4276, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004062/0.4317, allocations: 2.133 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.4347, allocations: 1.419 MB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.4348, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.4353, allocations: 84.19 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.4355, allocations: 71.61 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.4362, allocations: 209.4 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.4364, allocations: 150.1 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.4365, allocations: 13.94 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.4368, allocations: 69.7 kB / 0.5351 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4369, allocations: 58.98 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.437, allocations: 4.125 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006999/0.4377, allocations: 439.2 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.4377, allocations: 25.88 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.4379, allocations: 74.98 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.4385, allocations: 433.2 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4385, allocations: 0 / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4385, allocations: 1.062 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4386, allocations: 0 / 0.536 GB, free: 9.723 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007332/0.4393, allocations: 0.4963 MB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4394, allocations: 10.48 kB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.4394, allocations: 19.78 kB / 0.5366 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4397, allocations: 216.5 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4397, allocations: 16.59 kB / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4397, allocations: 19.38 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.4401, allocations: 204 kB / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4402, allocations: 0 / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4402, allocations: 5.281 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4402, allocations: 9.344 kB / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.4405, allocations: 154.4 kB / 0.5372 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.4415, allocations: 0.5696 MB / 0.5377 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.4418, allocations: 62.86 kB / 0.5378 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.442, allocations: 32.92 kB / 0.5378 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.442, allocations: 5.391 kB / 0.5378 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4421, allocations: 34.5 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4421, allocations: 0.9688 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005388/0.4426, allocations: 139.2 kB / 0.538 GB, free: 8.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4427, allocations: 56.47 kB / 0.538 GB, free: 8.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.443, allocations: 258.5 kB / 0.5383 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4431, allocations: 25.7 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4432, allocations: 168.2 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4433, allocations: 15.25 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.4434, allocations: 41.33 kB / 0.5385 GB, free: 7.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4436, allocations: 335.8 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4437, allocations: 41.59 kB / 0.5389 GB, free: 7.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.4439, allocations: 128.5 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.4443, allocations: 182.4 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4443, allocations: 5.375 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004639/0.4448, allocations: 199.2 kB / 0.5394 GB, free: 6.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4448, allocations: 9.375 kB / 0.5394 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.4449, allocations: 16.09 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.4449, allocations: 4.219 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.445, allocations: 34.22 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4451, allocations: 4.281 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.4452, allocations: 39.38 kB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4452, allocations: 13.27 kB / 0.5395 GB, free: 6.789 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.4454, allocations: 135.3 kB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.4454, allocations: 16.22 kB / 0.5396 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.4459, allocations: 144.2 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4459, allocations: 0 / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4459, allocations: 1.156 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4459, allocations: 0 / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.4462, allocations: 228.7 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.4462, allocations: 8.469 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.4463, allocations: 13.89 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4463, allocations: 0 / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4463, allocations: 2.969 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4463, allocations: 0 / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4463, allocations: 0 / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.4466, allocations: 208.6 kB / 0.5402 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.4467, allocations: 93.52 kB / 0.5403 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.4468, allocations: 0 / 0.5403 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4469, allocations: 12.2 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.4469, allocations: 2.969 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4469, allocations: 6.844 kB / 0.5403 GB, free: 6.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4471, allocations: 182.8 kB / 0.5405 GB, free: 5.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4471, allocations: 1.5 kB / 0.5405 GB, free: 5.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.4476, allocations: 78.19 kB / 0.5406 GB, free: 5.871 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.4479, allocations: 172 kB / 0.5407 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00048/0.4484, allocations: 172 kB / 0.5409 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4484, allocations: 0 / 0.5409 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.4486, allocations: 102.7 kB / 0.541 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.449, allocations: 21.25 kB / 0.541 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.4499, allocations: 363.5 kB / 0.5414 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4503, allocations: 0.7277 MB / 0.5421 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.4503, allocations: 17.73 kB / 0.5421 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.4504, allocations: 15.41 kB / 0.5421 GB, free: 4.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4504, allocations: 3.938 kB / 0.5421 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Templates: time 0.009472/0.4598, allocations: 4.24 MB / 0.5462 GB, free: 1.676 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches