Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 195.6 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008363, allocations: 94.44 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3096/0.3096, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002672, allocations: 15.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3157, allocations: 62.95 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.001721/0.3175, allocations: 1.579 MB / 0.5174 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3188, allocations: 1.051 MB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.3189, allocations: 0 / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3191, allocations: 38.11 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.3192, allocations: 61.06 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3196, allocations: 146.6 kB / 0.5187 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.3199, allocations: 258.6 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.3199, allocations: 25.97 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3201, allocations: 86.95 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3203, allocations: 113.4 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3203, allocations: 5.844 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.3207, allocations: 236.5 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.3207, allocations: 52.41 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.3208, allocations: 111.1 kB / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3211, allocations: 209.2 kB / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3211, allocations: 0 / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3211, allocations: 0 / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3211, allocations: 0 / 0.5197 GB, free: 34.66 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008294/0.322, allocations: 0.5334 MB / 0.5203 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.322, allocations: 8.688 kB / 0.5203 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.3223, allocations: 72.48 kB / 0.5203 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3226, allocations: 225.6 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3226, allocations: 10.09 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.3226, allocations: 23.61 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.3231, allocations: 292 kB / 0.5209 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3231, allocations: 6.391 kB / 0.5209 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3231, allocations: 4 kB / 0.5209 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.3232, allocations: 14.81 kB / 0.5209 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.3237, allocations: 252.5 kB / 0.5211 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.3245, allocations: 0.7706 MB / 0.5219 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.325, allocations: 245.6 kB / 0.5221 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3253, allocations: 115.7 kB / 0.5222 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.3253, allocations: 6.969 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3254, allocations: 45.19 kB / 0.5223 GB, free: 33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.3254, allocations: 0 / 0.5223 GB, free: 33 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008397/0.3262, allocations: 349.4 kB / 0.5226 GB, free: 32.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3263, allocations: 109.6 kB / 0.5227 GB, free: 32.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3265, allocations: 276.5 kB / 0.523 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3265, allocations: 25.7 kB / 0.523 GB, free: 32.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.3266, allocations: 136.8 kB / 0.5231 GB, free: 32.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3266, allocations: 52.34 kB / 0.5232 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.3267, allocations: 2.656 kB / 0.5232 GB, free: 32.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.3267, allocations: 334.2 kB / 0.5235 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.327, allocations: 97.45 kB / 0.5236 GB, free: 32.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3272, allocations: 139.3 kB / 0.5237 GB, free: 32.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3277, allocations: 252.9 kB / 0.524 GB, free: 31.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3277, allocations: 0 / 0.524 GB, free: 31.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005475/0.3282, allocations: 281 kB / 0.5242 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3283, allocations: 14.12 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.3283, allocations: 13.31 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3283, allocations: 3.094 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3285, allocations: 36.62 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3285, allocations: 7.078 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3287, allocations: 47.48 kB / 0.5244 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3287, allocations: 6.125 kB / 0.5244 GB, free: 31.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000119/0.3289, allocations: 147.5 kB / 0.5245 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.3289, allocations: 24.81 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.3294, allocations: 236.3 kB / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3294, allocations: 3 kB / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3294, allocations: 6.391 kB / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3294, allocations: 0 / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.3298, allocations: 263.3 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.3298, allocations: 16.97 kB / 0.525 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.33, allocations: 35.62 kB / 0.5251 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.33, allocations: 6.844 kB / 0.5251 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.33, allocations: 3.062 kB / 0.5251 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.33, allocations: 0 / 0.5251 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.33, allocations: 2.594 kB / 0.5251 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.3306, allocations: 0.4967 MB / 0.5256 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.3306, allocations: 101.1 kB / 0.5257 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.3307, allocations: 7.281 kB / 0.5257 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.3309, allocations: 20.03 kB / 0.5257 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.331, allocations: 15.22 kB / 0.5257 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.331, allocations: 5.688 kB / 0.5257 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3312, allocations: 206.4 kB / 0.5259 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3312, allocations: 0 / 0.5259 GB, free: 30.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.3316, allocations: 84.86 kB / 0.526 GB, free: 30.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002886/0.3319, allocations: 176.2 kB / 0.5262 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.3325, allocations: 298 kB / 0.5264 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3325, allocations: 0 / 0.5264 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.3328, allocations: 196.1 kB / 0.5266 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.3333, allocations: 47.47 kB / 0.5267 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.3342, allocations: 0.5499 MB / 0.5272 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.3344, allocations: 0.7544 MB / 0.5279 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.3344, allocations: 16.03 kB / 0.528 GB, free: 29.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3344, allocations: 0 / 0.528 GB, free: 29.37 MB / 378.7 MB Notification: Performance of Templates: time 0.004871/0.3393, allocations: 3.844 MB / 0.5317 GB, free: 29.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches