Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4516, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003392/0.4551, allocations: 1.915 MB / 0.5329 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.4571, allocations: 1.167 MB / 0.534 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4572, allocations: 5.312 kB / 0.534 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.4575, allocations: 53.48 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.4577, allocations: 63.97 kB / 0.5341 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.4583, allocations: 187.3 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.4586, allocations: 227.4 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.4587, allocations: 18.05 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.4589, allocations: 92.81 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4591, allocations: 106.5 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.4591, allocations: 11.16 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.4595, allocations: 256.9 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.4596, allocations: 57.5 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4598, allocations: 93.06 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.4602, allocations: 324.7 kB / 0.5355 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4602, allocations: 1.125 kB / 0.5355 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4602, allocations: 0 / 0.5355 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4603, allocations: 0 / 0.5355 GB, free: 10.25 MB / 398.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.001114/0.4614, allocations: 0.5672 MB / 0.536 GB, free: 9.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4614, allocations: 9.438 kB / 0.536 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.4619, allocations: 52.59 kB / 0.5361 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4622, allocations: 239.4 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.4622, allocations: 10.03 kB / 0.5363 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.4623, allocations: 26.62 kB / 0.5363 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.4628, allocations: 275.6 kB / 0.5366 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4629, allocations: 1.156 kB / 0.5366 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.4629, allocations: 4.938 kB / 0.5366 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.4629, allocations: 13.2 kB / 0.5366 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.4636, allocations: 225.7 kB / 0.5368 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.465, allocations: 0.771 MB / 0.5376 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.4657, allocations: 223.9 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.466, allocations: 111.4 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.466, allocations: 6.312 kB / 0.5379 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.466, allocations: 33.22 kB / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.466, allocations: 0 / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.4671, allocations: 313.3 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.4672, allocations: 116 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.4675, allocations: 279.3 kB / 0.5386 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4676, allocations: 29.7 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4677, allocations: 143.3 kB / 0.5388 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.4677, allocations: 49.3 kB / 0.5388 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.4678, allocations: 41.02 kB / 0.5389 GB, free: 7.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4681, allocations: 333 kB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.4683, allocations: 85.91 kB / 0.5393 GB, free: 7.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4686, allocations: 123.1 kB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.4692, allocations: 224.5 kB / 0.5396 GB, free: 6.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4692, allocations: 1.156 kB / 0.5396 GB, free: 6.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006492/0.4698, allocations: 259.1 kB / 0.5398 GB, free: 6.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4699, allocations: 13.62 kB / 0.5399 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.4699, allocations: 12.03 kB / 0.5399 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4699, allocations: 7.406 kB / 0.5399 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4702, allocations: 33.23 kB / 0.5399 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4702, allocations: 6.531 kB / 0.5399 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4704, allocations: 29.92 kB / 0.5399 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4705, allocations: 18.3 kB / 0.54 GB, free: 6.77 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.0001522/0.4706, allocations: 146.6 kB / 0.5401 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.4707, allocations: 26.09 kB / 0.5401 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.4712, allocations: 228 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4712, allocations: 2.281 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4713, allocations: 1.031 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4713, allocations: 1.156 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.4717, allocations: 267.5 kB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.4717, allocations: 11.75 kB / 0.5406 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4719, allocations: 31.62 kB / 0.5406 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4719, allocations: 5.031 kB / 0.5406 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.4719, allocations: 7.297 kB / 0.5407 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4719, allocations: 1.062 kB / 0.5407 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.472, allocations: 1.062 kB / 0.5407 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4726, allocations: 482.2 kB / 0.5411 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.4727, allocations: 104.8 kB / 0.5412 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4728, allocations: 9.062 kB / 0.5412 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.473, allocations: 18.78 kB / 0.5412 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.4731, allocations: 17.8 kB / 0.5413 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.4731, allocations: 4.406 kB / 0.5413 GB, free: 5.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.4733, allocations: 204.6 kB / 0.5415 GB, free: 5.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4734, allocations: 1.5 kB / 0.5415 GB, free: 5.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.4739, allocations: 74.7 kB / 0.5415 GB, free: 5.539 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.0003394/0.4742, allocations: 164.1 kB / 0.5417 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.4749, allocations: 283.3 kB / 0.542 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4749, allocations: 0 / 0.542 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.4753, allocations: 184.3 kB / 0.5421 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.4758, allocations: 39.84 kB / 0.5422 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.4768, allocations: 482.5 kB / 0.5426 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4772, allocations: 0.7678 MB / 0.5434 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.4773, allocations: 42.31 kB / 0.5434 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.4774, allocations: 20.27 kB / 0.5434 GB, free: 4.004 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4774, allocations: 5.094 kB / 0.5434 GB, free: 4 MB / 398.1 MB Notification: Performance of Templates: time 0.008469/0.4859, allocations: 3.963 MB / 0.5473 GB, free: 0.5664 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches