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.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 180.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 106.9 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2855/0.2855, allocations: 44.21 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 459.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3141, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4419, allocations: 95.59 MB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.4423, allocations: 107.7 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.4634, allocations: 8.063 MB / 0.6109 GB, free: 7.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4635, allocations: 0 / 0.6109 GB, free: 7.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.4635, allocations: 4 kB / 0.6109 GB, free: 7.344 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000672/0.4642, allocations: 486.4 kB / 0.6114 GB, free: 6.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4642, allocations: 8.031 kB / 0.6114 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.4643, allocations: 31.72 kB / 0.6114 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.4645, allocations: 198.8 kB / 0.6116 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4645, allocations: 12 kB / 0.6116 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4646, allocations: 19.95 kB / 0.6116 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.465, allocations: 206.7 kB / 0.6118 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.465, allocations: 0 / 0.6118 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.465, allocations: 4 kB / 0.6118 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.465, allocations: 12 kB / 0.6118 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4653, allocations: 156.2 kB / 0.612 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.4661, allocations: 0.5754 MB / 0.6126 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.4663, allocations: 62.55 kB / 0.6126 GB, free: 5.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4664, allocations: 3.953 kB / 0.6126 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4664, allocations: 38.5 kB / 0.6127 GB, free: 5.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.4664, allocations: 4 kB / 0.6127 GB, free: 5.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005241/0.4669, allocations: 307.7 kB / 0.6129 GB, free: 5.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.467, allocations: 59.34 kB / 0.613 GB, free: 4.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4672, allocations: 225.9 kB / 0.6132 GB, free: 4.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4672, allocations: 25.7 kB / 0.6132 GB, free: 4.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4674, allocations: 167.6 kB / 0.6134 GB, free: 4.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.4674, allocations: 15.72 kB / 0.6134 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.4674, allocations: 4 kB / 0.6134 GB, free: 4.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4675, allocations: 334.8 kB / 0.6137 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.4677, allocations: 39.97 kB / 0.6138 GB, free: 4.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4679, allocations: 146.3 kB / 0.6139 GB, free: 3.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.4681, allocations: 55.92 kB / 0.614 GB, free: 3.914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4681, allocations: 4 kB / 0.614 GB, free: 3.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000408/0.4685, allocations: 209.1 kB / 0.6142 GB, free: 3.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4685, allocations: 8 kB / 0.6142 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.4686, allocations: 12 kB / 0.6142 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4686, allocations: 4.531 kB / 0.6142 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4687, allocations: 39.91 kB / 0.6142 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4688, allocations: 8 kB / 0.6142 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.4689, allocations: 39.66 kB / 0.6143 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4689, allocations: 8 kB / 0.6143 GB, free: 3.582 MB / 426.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.469, allocations: 134.2 kB / 0.6144 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4691, allocations: 23.67 kB / 0.6144 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.4695, allocations: 150.9 kB / 0.6146 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4695, allocations: 0 / 0.6146 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4695, allocations: 0 / 0.6146 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4695, allocations: 192 / 0.6146 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.4697, allocations: 225.5 kB / 0.6148 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.4697, allocations: 8 kB / 0.6148 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.4698, allocations: 11.98 kB / 0.6148 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4698, allocations: 3.953 kB / 0.6148 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4698, allocations: 8 kB / 0.6148 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4698, allocations: 3.938 kB / 0.6148 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4698, allocations: 0 / 0.6148 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.4702, allocations: 215.3 kB / 0.615 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4702, allocations: 92.83 kB / 0.6151 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.4703, allocations: 3.953 kB / 0.6151 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4704, allocations: 11.98 kB / 0.6151 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4704, allocations: 3.938 kB / 0.6151 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4704, allocations: 4 kB / 0.6152 GB, free: 2.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4706, allocations: 182 kB / 0.6153 GB, free: 2.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4706, allocations: 0 / 0.6153 GB, free: 2.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.471, allocations: 83.88 kB / 0.6154 GB, free: 2.344 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/0.4714, allocations: 206.3 kB / 0.6156 GB, free: 2.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004443/0.4719, allocations: 184 kB / 0.6158 GB, free: 1.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4719, allocations: 0 / 0.6158 GB, free: 1.945 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4721, allocations: 107.4 kB / 0.6159 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4724, allocations: 20.55 kB / 0.6159 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.473, allocations: 417.2 kB / 0.6163 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4733, allocations: 0.7361 MB / 0.617 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.4734, allocations: 21.77 kB / 0.617 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.4734, allocations: 15.44 kB / 0.6171 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4734, allocations: 0 / 0.6171 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of Templates: time 0.007647/0.4811, allocations: 4.174 MB / 0.6211 GB, free: 12.44 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches