Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00094/0.0009401, allocations: 96.8 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.978e-05, allocations: 4 kB / 460.4 MB, free: 69.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 63.25 MB / 0.5114 GB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4826, allocations: 101.1 MB / 0.6101 GB, free: 8.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.483, allocations: 97.05 kB / 0.6102 GB, free: 8.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03299/0.516, allocations: 11.69 MB / 0.6216 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.516, allocations: 0 / 0.6216 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.516, allocations: 8 kB / 0.6216 GB, free: 14.58 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006668/0.5167, allocations: 0.5681 MB / 0.6221 GB, free: 13.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5168, allocations: 15.97 kB / 0.6222 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.5169, allocations: 43.53 kB / 0.6222 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.5171, allocations: 233.8 kB / 0.6224 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.5172, allocations: 27.03 kB / 0.6224 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.5172, allocations: 34.31 kB / 0.6225 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.5179, allocations: 0.552 MB / 0.623 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5179, allocations: 7.938 kB / 0.623 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.5179, allocations: 20.56 kB / 0.623 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.518, allocations: 8 kB / 0.6231 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.5183, allocations: 305.4 kB / 0.6233 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.5207, allocations: 4.057 MB / 0.6273 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.521, allocations: 88.36 kB / 0.6274 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.394e-05/0.521, allocations: 24.42 kB / 0.6274 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5211, allocations: 0 / 0.6274 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5211, allocations: 42.5 kB / 0.6275 GB, free: 8.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.5211, allocations: 0 / 0.6275 GB, free: 8.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002601/0.5214, allocations: 111.5 kB / 0.6276 GB, free: 8.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5214, allocations: 51.41 kB / 0.6276 GB, free: 8.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.5218, allocations: 356.4 kB / 0.628 GB, free: 8.109 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5218, allocations: 25.7 kB / 0.628 GB, free: 8.078 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.522, allocations: 254.8 kB / 0.6282 GB, free: 7.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.522, allocations: 27.2 kB / 0.6282 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.522, allocations: 3.812 kB / 0.6282 GB, free: 7.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5222, allocations: 352.4 kB / 0.6286 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.5223, allocations: 47.47 kB / 0.6286 GB, free: 7.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5225, allocations: 239.2 kB / 0.6289 GB, free: 7.168 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.5226, allocations: 90.28 kB / 0.6289 GB, free: 7.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5226, allocations: 0 / 0.6289 GB, free: 7.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005103/0.5232, allocations: 324 kB / 0.6293 GB, free: 6.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5232, allocations: 8.625 kB / 0.6293 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5232, allocations: 11.98 kB / 0.6293 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.5232, allocations: 12 kB / 0.6293 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.5237, allocations: 103.8 kB / 0.6294 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/0.5244, allocations: 1.225 MB / 0.6306 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.5247, allocations: 69.48 kB / 0.6306 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5247, allocations: 20 kB / 0.6307 GB, free: 5.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 9.408e-05/0.5248, allocations: 131.5 kB / 0.6308 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.5249, allocations: 35.72 kB / 0.6308 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.5252, allocations: 151 kB / 0.631 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5252, allocations: 7.953 kB / 0.631 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5252, allocations: 0 / 0.631 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5252, allocations: 0 / 0.631 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.5255, allocations: 273.6 kB / 0.6312 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5255, allocations: 0 / 0.6312 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.5258, allocations: 59.27 kB / 0.6313 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5258, allocations: 0 / 0.6313 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5258, allocations: 0 / 0.6313 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006643/0.5265, allocations: 1.209 MB / 0.6325 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5265, allocations: 0 / 0.6325 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.5268, allocations: 212.5 kB / 0.6327 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.5269, allocations: 116.8 kB / 0.6328 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.5269, allocations: 0 / 0.6328 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5271, allocations: 19.11 kB / 0.6328 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.5272, allocations: 4 kB / 0.6328 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.5272, allocations: 4 kB / 0.6328 GB, free: 3.098 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002536/0.5274, allocations: 266.5 kB / 0.6331 GB, free: 2.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5274, allocations: 3.938 kB / 0.6331 GB, free: 2.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006737/0.5281, allocations: 142.6 kB / 0.6332 GB, free: 2.758 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0004926/0.5286, allocations: 259.1 kB / 0.6335 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.5291, allocations: 166.8 kB / 0.6336 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5291, allocations: 0 / 0.6336 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.5293, allocations: 59.09 kB / 0.6337 GB, free: 2.305 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.5296, allocations: 40.09 kB / 0.6337 GB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/0.5303, allocations: 309.6 kB / 0.634 GB, free: 1.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.5307, allocations: 0.7758 MB / 0.6348 GB, free: 1.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.5309, allocations: 42.89 kB / 0.6348 GB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.531, allocations: 23.44 kB / 0.6348 GB, free: 1.117 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.531, allocations: 0 / 0.6348 GB, free: 1.117 MB / 426.7 MB Notification: Performance of Templates: time 0.01173/0.5427, allocations: 7.064 MB / 0.6417 GB, free: 10.11 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches