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_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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 195 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 226.5 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007859/0.000786, allocations: 99.38 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3097/0.3097, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 11.98 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3072, allocations: 62.95 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001524/0.3088, allocations: 1.489 MB / 0.5173 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.3097, allocations: 0.7562 MB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.3098, allocations: 0 / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.31, allocations: 40.97 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3102, allocations: 71.22 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.3104, allocations: 64.56 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3105, allocations: 192 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.3106, allocations: 10.17 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3107, allocations: 61.55 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3108, allocations: 85.62 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3109, allocations: 2.969 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3111, allocations: 154.9 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.3111, allocations: 39.5 kB / 0.5188 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3112, allocations: 73.95 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3113, allocations: 124.6 kB / 0.519 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3113, allocations: 3.422 kB / 0.519 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3113, allocations: 0 / 0.519 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.3114, allocations: 0 / 0.519 GB, free: 35.32 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004907/0.3118, allocations: 431.8 kB / 0.5194 GB, free: 34.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3119, allocations: 11.31 kB / 0.5194 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.3119, allocations: 14.19 kB / 0.5194 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3121, allocations: 207.7 kB / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3121, allocations: 14.17 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3121, allocations: 9.875 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.3124, allocations: 175.3 kB / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3125, allocations: 0 / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3125, allocations: 10.86 kB / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.3125, allocations: 11.73 kB / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.3128, allocations: 184.9 kB / 0.52 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.3134, allocations: 492.8 kB / 0.5205 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.3138, allocations: 165.1 kB / 0.5206 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3139, allocations: 63.31 kB / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.314, allocations: 3.281 kB / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.314, allocations: 33.47 kB / 0.5207 GB, free: 34.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.314, allocations: 0 / 0.5207 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004679/0.3145, allocations: 214.8 kB / 0.5209 GB, free: 34.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.3145, allocations: 51.41 kB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3146, allocations: 203.5 kB / 0.5212 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3146, allocations: 29.7 kB / 0.5212 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.3147, allocations: 116.4 kB / 0.5213 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3147, allocations: 29.22 kB / 0.5213 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.3147, allocations: 0 / 0.5213 GB, free: 33.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.3148, allocations: 335.7 kB / 0.5216 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3149, allocations: 49.66 kB / 0.5217 GB, free: 33.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.315, allocations: 83.5 kB / 0.5218 GB, free: 33.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3153, allocations: 148.6 kB / 0.5219 GB, free: 33.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3153, allocations: 0 / 0.5219 GB, free: 33.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002975/0.3156, allocations: 171.1 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3156, allocations: 5.938 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3156, allocations: 4 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3157, allocations: 2.938 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3159, allocations: 49.84 kB / 0.5221 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004113/0.3163, allocations: 1.216 MB / 0.5233 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3164, allocations: 24.28 kB / 0.5234 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3165, allocations: 3.062 kB / 0.5234 GB, free: 31.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * 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.0001067/0.3166, allocations: 139 kB / 0.5235 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3166, allocations: 17.56 kB / 0.5235 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.317, allocations: 195.2 kB / 0.5237 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.317, allocations: 6.781 kB / 0.5237 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.317, allocations: 4 kB / 0.5237 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.317, allocations: 3.375 kB / 0.5237 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3172, allocations: 227 kB / 0.5239 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3172, allocations: 3.938 kB / 0.5239 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3174, allocations: 49.38 kB / 0.524 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3175, allocations: 0 / 0.524 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3175, allocations: 7.328 kB / 0.524 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003338/0.3178, allocations: 1.217 MB / 0.5252 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3178, allocations: 2.625 kB / 0.5252 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3181, allocations: 256 kB / 0.5254 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.3182, allocations: 94.67 kB / 0.5255 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3182, allocations: 7.938 kB / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3183, allocations: 8.531 kB / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3184, allocations: 8.719 kB / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3184, allocations: 2.688 kB / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.3185, allocations: 154 kB / 0.5257 GB, free: 29.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3185, allocations: 0 / 0.5257 GB, free: 29.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.3187, allocations: 36.75 kB / 0.5257 GB, free: 29.98 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 (9): * Single equations (assignments): 7 * 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.0001752/0.3189, allocations: 137.3 kB / 0.5258 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.3193, allocations: 160.2 kB / 0.526 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3194, allocations: 0 / 0.526 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.3196, allocations: 91.89 kB / 0.5261 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3199, allocations: 33.86 kB / 0.5261 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.3204, allocations: 422.7 kB / 0.5265 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3206, allocations: 0.7291 MB / 0.5272 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.3206, allocations: 19.23 kB / 0.5272 GB, free: 28.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3206, allocations: 0 / 0.5272 GB, free: 28.86 MB / 378.7 MB Notification: Performance of Templates: time 0.004331/0.3249, allocations: 3.494 MB / 0.5307 GB, free: 28.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches