Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.2 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3362, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.0034/0.3396, allocations: 1.897 MB / 0.5208 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3416, allocations: 1.095 MB / 0.5218 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.3417, allocations: 1.062 kB / 0.5218 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3421, allocations: 43.64 kB / 0.5219 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3424, allocations: 70.31 kB / 0.522 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.343, allocations: 158.5 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3434, allocations: 224.6 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.3435, allocations: 18.56 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3437, allocations: 89.25 kB / 0.5224 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3438, allocations: 107.8 kB / 0.5225 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.3439, allocations: 11.38 kB / 0.5225 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.3443, allocations: 233.7 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.3444, allocations: 58.55 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3446, allocations: 91.97 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.3452, allocations: 321.7 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3452, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3452, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3452, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 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.001085/0.3463, allocations: 0.556 MB / 0.5238 GB, free: 468 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3464, allocations: 9.094 kB / 0.5238 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.3465, allocations: 23.81 kB / 0.5238 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3467, allocations: 228 kB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3467, allocations: 14 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3467, allocations: 18.09 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.3473, allocations: 278.8 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3473, allocations: 0 / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3473, allocations: 5.5 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.3473, allocations: 15.45 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.3479, allocations: 227.6 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3489, allocations: 0.7688 MB / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.3495, allocations: 228.8 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3498, allocations: 98.89 kB / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3498, allocations: 7.203 kB / 0.5256 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3498, allocations: 36.88 kB / 0.5256 GB, free: 15.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.756e-06/0.3498, allocations: 7.922 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009169/0.3508, allocations: 322.4 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3508, allocations: 112.2 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3511, allocations: 277.5 kB / 0.5263 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3511, allocations: 26.92 kB / 0.5264 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3512, allocations: 134 kB / 0.5265 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.3513, allocations: 45.52 kB / 0.5265 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.3514, allocations: 41.3 kB / 0.5266 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.3515, allocations: 337.8 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.3517, allocations: 84.66 kB / 0.527 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.352, allocations: 119.5 kB / 0.5271 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.3525, allocations: 228.7 kB / 0.5273 GB, free: 14.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3525, allocations: 1.375 kB / 0.5273 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005913/0.3531, allocations: 255.6 kB / 0.5275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3532, allocations: 8.594 kB / 0.5275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.3532, allocations: 20.12 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3532, allocations: 2.156 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3534, allocations: 34.58 kB / 0.5276 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3534, allocations: 6.406 kB / 0.5276 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3536, allocations: 33.64 kB / 0.5276 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3536, allocations: 11.73 kB / 0.5277 GB, free: 13.86 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3538, allocations: 140.7 kB / 0.5278 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.3539, allocations: 30.41 kB / 0.5278 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.3543, allocations: 224.6 kB / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3544, allocations: 3.062 kB / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3544, allocations: 0 / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3544, allocations: 1.719 kB / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3548, allocations: 266.8 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.3548, allocations: 12.44 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.355, allocations: 35.28 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.355, allocations: 5.25 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.355, allocations: 6.453 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.355, allocations: 1.281 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.355, allocations: 1.344 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.3556, allocations: 485.3 kB / 0.5288 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.3557, allocations: 100.2 kB / 0.5289 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3558, allocations: 10.41 kB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.356, allocations: 17.36 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.3561, allocations: 14.73 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3561, allocations: 8.359 kB / 0.529 GB, free: 12.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3563, allocations: 209 kB / 0.5292 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3563, allocations: 0 / 0.5292 GB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3567, allocations: 75.31 kB / 0.5292 GB, free: 12.62 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000283/0.357, allocations: 163.4 kB / 0.5294 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.3576, allocations: 270.1 kB / 0.5296 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3576, allocations: 320 / 0.5296 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.358, allocations: 183.5 kB / 0.5298 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.3584, allocations: 45.28 kB / 0.5299 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.3592, allocations: 490.1 kB / 0.5303 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3595, allocations: 0.7634 MB / 0.5311 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3596, allocations: 38.17 kB / 0.5311 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.3597, allocations: 23.81 kB / 0.5311 GB, free: 11.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3597, allocations: 0 / 0.5311 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Templates: time 0.006764/0.3664, allocations: 4.012 MB / 0.535 GB, free: 9.094 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches