Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009656/0.0009656, allocations: 196.2 kB / 16.1 MB, free: 5.707 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: 226.5 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008484/0.0008483, allocations: 97.94 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3134/0.3134, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.001664/0.2804, allocations: 1.768 MB / 0.5176 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.282, allocations: 1.586 MB / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.2821, allocations: 0 / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2824, allocations: 81.98 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2825, allocations: 50.77 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.283, allocations: 278.7 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2832, allocations: 151.5 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.2832, allocations: 16.66 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.2833, allocations: 51.77 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.2834, allocations: 63.78 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2834, allocations: 3.031 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.2843, allocations: 0.7525 MB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.2844, allocations: 34.42 kB / 0.5206 GB, free: 34.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.2844, allocations: 91.62 kB / 0.5207 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.2848, allocations: 371.6 kB / 0.521 GB, free: 34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2848, allocations: 0 / 0.521 GB, free: 34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2848, allocations: 0 / 0.521 GB, free: 34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2848, allocations: 0 / 0.521 GB, free: 34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004929/0.2853, allocations: 0.4904 MB / 0.5215 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2854, allocations: 8.812 kB / 0.5215 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.2854, allocations: 28 kB / 0.5216 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2856, allocations: 208.3 kB / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2856, allocations: 18.88 kB / 0.5218 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2856, allocations: 17.72 kB / 0.5218 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2859, allocations: 270.9 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.286, allocations: 2.594 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.286, allocations: 8 kB / 0.5221 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.286, allocations: 5.344 kB / 0.5221 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.2863, allocations: 170.9 kB / 0.5222 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.287, allocations: 0.9062 MB / 0.5231 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2872, allocations: 63.34 kB / 0.5232 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.2873, allocations: 38.75 kB / 0.5232 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2873, allocations: 6.531 kB / 0.5232 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.2873, allocations: 30.56 kB / 0.5232 GB, free: 32.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.2873, allocations: 0 / 0.5232 GB, free: 32.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003939/0.2877, allocations: 155.5 kB / 0.5234 GB, free: 32.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.2878, allocations: 55.34 kB / 0.5234 GB, free: 32.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.288, allocations: 266.5 kB / 0.5237 GB, free: 31.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.288, allocations: 25.7 kB / 0.5237 GB, free: 31.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.2881, allocations: 178.9 kB / 0.5239 GB, free: 31.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2881, allocations: 21.77 kB / 0.5239 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.2881, allocations: 7 kB / 0.5239 GB, free: 31.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.2881, allocations: 328.6 kB / 0.5242 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.2883, allocations: 50.52 kB / 0.5243 GB, free: 31.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.2884, allocations: 199.7 kB / 0.5245 GB, free: 31.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2887, allocations: 261.2 kB / 0.5247 GB, free: 30.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2887, allocations: 0 / 0.5247 GB, free: 30.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003985/0.2891, allocations: 271.4 kB / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2892, allocations: 5.625 kB / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.2892, allocations: 14.56 kB / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2892, allocations: 5.594 kB / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2894, allocations: 51.59 kB / 0.5251 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2894, allocations: 11.72 kB / 0.5251 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2895, allocations: 47 kB / 0.5251 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2896, allocations: 21.31 kB / 0.5251 GB, free: 30.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 7.773e-05/0.2896, allocations: 139.9 kB / 0.5253 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.2897, allocations: 21.25 kB / 0.5253 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.29, allocations: 147.5 kB / 0.5254 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.29, allocations: 6.75 kB / 0.5254 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.29, allocations: 4 kB / 0.5254 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2901, allocations: 0 / 0.5254 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2902, allocations: 216.9 kB / 0.5256 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.2903, allocations: 12.56 kB / 0.5257 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.2903, allocations: 15.98 kB / 0.5257 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2903, allocations: 0 / 0.5257 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2903, allocations: 0 / 0.5257 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2903, allocations: 6.844 kB / 0.5257 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2904, allocations: 0 / 0.5257 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.2906, allocations: 214.2 kB / 0.5259 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.2906, allocations: 99.12 kB / 0.526 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.2907, allocations: 6.719 kB / 0.526 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.2908, allocations: 13.83 kB / 0.526 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2908, allocations: 3.031 kB / 0.526 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2908, allocations: 2.688 kB / 0.526 GB, free: 30.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.291, allocations: 186.7 kB / 0.5262 GB, free: 29.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.291, allocations: 0 / 0.5262 GB, free: 29.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.2914, allocations: 97.78 kB / 0.5263 GB, free: 29.97 MB / 378.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.0003711/0.2918, allocations: 201.1 kB / 0.5265 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.2922, allocations: 203.9 kB / 0.5267 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2922, allocations: 0 / 0.5267 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2924, allocations: 117.6 kB / 0.5268 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2927, allocations: 22.22 kB / 0.5268 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.2932, allocations: 452.6 kB / 0.5272 GB, free: 29.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2934, allocations: 0.7278 MB / 0.5279 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.2934, allocations: 17.38 kB / 0.5279 GB, free: 28.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2934, allocations: 3.938 kB / 0.528 GB, free: 28.65 MB / 378.7 MB Notification: Performance of Templates: time 0.005959/0.2994, allocations: 5.09 MB / 0.5329 GB, free: 28.25 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches