Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001219/0.001219, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1985/0.1985, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 69.22 kB / 383.4 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08749, allocations: 57.8 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00252/0.09005, allocations: 1.769 MB / 443 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09107, allocations: 0.8382 MB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.09114, allocations: 3.938 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.09137, allocations: 47.73 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.09159, allocations: 59.72 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.0918, allocations: 87.64 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.09194, allocations: 139.4 kB / 444.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.09199, allocations: 17.41 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.0921, allocations: 71.64 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.09221, allocations: 71.69 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.09224, allocations: 4 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.09247, allocations: 155.7 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.09253, allocations: 39.83 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.09259, allocations: 51.67 kB / 444.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.09283, allocations: 207.2 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.09284, allocations: 0 / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09285, allocations: 4 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.09286, allocations: 0 / 444.8 MB, free: 3.316 MB / 318.1 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.0005617/0.09342, allocations: 443 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.09346, allocations: 11.89 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.09352, allocations: 16.75 kB / 445.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.09367, allocations: 205.3 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09369, allocations: 8.359 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.09371, allocations: 12.12 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.09401, allocations: 165.6 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.09402, allocations: 0 / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.09405, allocations: 15.92 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.09407, allocations: 11.98 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.09438, allocations: 167.8 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.09499, allocations: 492 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.09535, allocations: 162.4 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.09548, allocations: 52.81 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.09552, allocations: 7.984 kB / 446.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.09554, allocations: 38.56 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.09554, allocations: 0 / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004767/0.09603, allocations: 193.4 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.09606, allocations: 55.41 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.09619, allocations: 199.4 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.09621, allocations: 25.7 kB / 447 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.09625, allocations: 116 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.09628, allocations: 27.56 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.09633, allocations: 33.7 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.09638, allocations: 330.8 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.09651, allocations: 44.33 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.09664, allocations: 74.45 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.0969, allocations: 134.4 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09691, allocations: 3.938 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003487/0.09726, allocations: 165.3 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.09728, allocations: 4.062 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.09729, allocations: 4 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.09731, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.0976, allocations: 47.97 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000697/0.09831, allocations: 1.223 MB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.09844, allocations: 19.88 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.09846, allocations: 4 kB / 449.2 MB, free: 14.58 MB / 334.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.09865, allocations: 141.6 kB / 449.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.0987, allocations: 19.75 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.09913, allocations: 186.9 kB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.09915, allocations: 4.062 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.09916, allocations: 0 / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.09917, allocations: 3.984 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.09941, allocations: 221.6 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.09942, allocations: 3.938 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.09966, allocations: 43.97 kB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09967, allocations: 0 / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.09969, allocations: 4 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.1004, allocations: 1.227 MB / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1004, allocations: 0 / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1008, allocations: 251.4 kB / 451.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1008, allocations: 89.02 kB / 451.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1009, allocations: 3.938 kB / 451.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.101, allocations: 11.98 kB / 451.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.101, allocations: 8.172 kB / 451.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1011, allocations: 4 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1012, allocations: 157.1 kB / 451.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1012, allocations: 0 / 451.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1015, allocations: 35.91 kB / 451.6 MB, free: 12.05 MB / 334.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.1017, allocations: 135.2 kB / 451.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.1023, allocations: 159.9 kB / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1023, allocations: 0 / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.1026, allocations: 83.94 kB / 452 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1029, allocations: 35.72 kB / 452 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.1035, allocations: 377.1 kB / 452.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1038, allocations: 0.7279 MB / 453.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.1039, allocations: 15.44 kB / 453.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1039, allocations: 0 / 453.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.005109/0.109, allocations: 3.491 MB / 456.6 MB, free: 6.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches