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_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_cpp_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_cpp_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.001035/0.001035, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.6 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000793/0.000793, allocations: 100.5 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2814/0.2814, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.000244, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2927, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002833/0.2956, allocations: 2.279 MB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.298, allocations: 1.371 MB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.2982, allocations: 0 / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2986, allocations: 92.2 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.299, allocations: 121.7 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.2996, allocations: 200.5 kB / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.2998, allocations: 262.9 kB / 0.5201 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.2999, allocations: 29.03 kB / 0.5201 GB, free: 34.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3001, allocations: 93.64 kB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3002, allocations: 112.3 kB / 0.5203 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.3003, allocations: 8.25 kB / 0.5203 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.3014, allocations: 0.5879 MB / 0.5209 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.3015, allocations: 39.38 kB / 0.5209 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3017, allocations: 146.2 kB / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.3021, allocations: 371 kB / 0.5214 GB, free: 33.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3021, allocations: 2.938 kB / 0.5214 GB, free: 33.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3022, allocations: 0 / 0.5214 GB, free: 33.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3022, allocations: 0 / 0.5214 GB, free: 33.73 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007327/0.3029, allocations: 0.5737 MB / 0.522 GB, free: 33.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.303, allocations: 8.844 kB / 0.522 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.3031, allocations: 41.92 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3033, allocations: 247.5 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3033, allocations: 24.03 kB / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.3034, allocations: 39.09 kB / 0.5224 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.3042, allocations: 0.5836 MB / 0.5229 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3042, allocations: 6.5 kB / 0.5229 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3043, allocations: 19.97 kB / 0.5229 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.3043, allocations: 11.84 kB / 0.523 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.305, allocations: 344.1 kB / 0.5233 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.307, allocations: 4.049 MB / 0.5272 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.3074, allocations: 89.03 kB / 0.5273 GB, free: 28.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3076, allocations: 45.17 kB / 0.5274 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3076, allocations: 3.984 kB / 0.5274 GB, free: 28.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3077, allocations: 44.72 kB / 0.5274 GB, free: 28.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.3077, allocations: 0 / 0.5274 GB, free: 28.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006999/0.3084, allocations: 182 kB / 0.5276 GB, free: 28.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3084, allocations: 55.34 kB / 0.5276 GB, free: 28.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.3089, allocations: 403.3 kB / 0.528 GB, free: 27.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3089, allocations: 25.7 kB / 0.528 GB, free: 27.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3091, allocations: 257.7 kB / 0.5283 GB, free: 27.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3091, allocations: 28.27 kB / 0.5283 GB, free: 27.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.3092, allocations: 4 kB / 0.5283 GB, free: 27.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.3092, allocations: 349.3 kB / 0.5287 GB, free: 27.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.3094, allocations: 70.61 kB / 0.5287 GB, free: 27.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3097, allocations: 268.8 kB / 0.529 GB, free: 27.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.3103, allocations: 361.9 kB / 0.5293 GB, free: 26.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3103, allocations: 2.594 kB / 0.5293 GB, free: 26.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007719/0.3111, allocations: 355.9 kB / 0.5297 GB, free: 26.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3111, allocations: 9.188 kB / 0.5297 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.3111, allocations: 12.27 kB / 0.5297 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.3112, allocations: 11.11 kB / 0.5297 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.3118, allocations: 112.5 kB / 0.5298 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/0.3123, allocations: 1.221 MB / 0.531 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.3127, allocations: 67.47 kB / 0.5311 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.3128, allocations: 25.05 kB / 0.5311 GB, free: 25.3 MB / 378.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 () * Number of clocked 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 0.000145/0.3129, allocations: 151.7 kB / 0.5312 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.313, allocations: 38.75 kB / 0.5313 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.3136, allocations: 183.3 kB / 0.5314 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3136, allocations: 2.781 kB / 0.5314 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3136, allocations: 4 kB / 0.5315 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3136, allocations: 0 / 0.5315 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.314, allocations: 270 kB / 0.5317 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.314, allocations: 3.938 kB / 0.5317 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.3143, allocations: 54.72 kB / 0.5318 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3144, allocations: 2.812 kB / 0.5318 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3144, allocations: 3.375 kB / 0.5318 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004627/0.3149, allocations: 1.208 MB / 0.533 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3149, allocations: 0 / 0.533 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.3153, allocations: 253 kB / 0.5332 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.3154, allocations: 112.4 kB / 0.5333 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.3155, allocations: 3.938 kB / 0.5333 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.3157, allocations: 15.67 kB / 0.5333 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.3158, allocations: 18.11 kB / 0.5333 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3158, allocations: 2.875 kB / 0.5333 GB, free: 23.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002991/0.3161, allocations: 272.9 kB / 0.5336 GB, free: 23.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3161, allocations: 0 / 0.5336 GB, free: 23.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000802/0.3169, allocations: 114.1 kB / 0.5337 GB, free: 23.16 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 (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.000437/0.3174, allocations: 176.9 kB / 0.5339 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.3181, allocations: 215.5 kB / 0.5341 GB, free: 23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3182, allocations: 0 / 0.5341 GB, free: 23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.3185, allocations: 82.53 kB / 0.5342 GB, free: 22.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.3191, allocations: 38.95 kB / 0.5342 GB, free: 22.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.3201, allocations: 0.6124 MB / 0.5348 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3203, allocations: 0.7682 MB / 0.5355 GB, free: 21.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.3204, allocations: 28.84 kB / 0.5356 GB, free: 21.86 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3204, allocations: 0 / 0.5356 GB, free: 21.86 MB / 378.7 MB Notification: Performance of Templates: time 0.00998/0.3304, allocations: 6.72 MB / 0.5421 GB, free: 21.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches